From c8ebca08e33bd021e346e8309a478436ee182339 Mon Sep 17 00:00:00 2001 From: Soka_jplr Date: Sun, 17 Mar 2024 18:32:16 -0600 Subject: [PATCH] Compra de Boletos --- .../Controlador/ControladorBoleto.class | Bin 5204 -> 5457 bytes .../Controlador/ControladorEcenario.class | Bin 4595 -> 4849 bytes build/classes/Main/Main.class | Bin 646 -> 571 bytes build/classes/Modelo/Consulta.class | Bin 6000 -> 6934 bytes build/classes/Modelo/Tarjeta.class | Bin 375 -> 587 bytes build/classes/Vista/ConfirmacionPago.class | Bin 5648 -> 5901 bytes build/classes/Vista/MetodoPago$1.class | Bin 765 -> 0 bytes build/classes/Vista/MetodoPago$2.class | Bin 765 -> 0 bytes build/classes/Vista/MetodoPago$3.class | Bin 762 -> 0 bytes build/classes/Vista/MetodoPago.class | Bin 6421 -> 9963 bytes build/classes/Vista/SalaPrincipal.class | Bin 8700 -> 8977 bytes build/classes/Vista/seleccionarBoleto.class | Bin 8545 -> 8541 bytes src/Controlador/ControladorBoleto.java | 16 +- src/Controlador/ControladorCP.java | 26 ++ src/Controlador/ControladorEcenario.java | 11 +- src/Controlador/ControladorPago.java | 148 +++++++++ src/Images/cargando.gif | Bin 0 -> 5432 bytes src/Main/Main.java | 7 +- src/Modelo/Consulta.java | 38 +++ src/Modelo/Tarjeta.java | 9 +- src/Vista/ConfirmacionPago.form | 37 +-- src/Vista/ConfirmacionPago.java | 73 +++-- src/Vista/MetodoPago.form | 123 +++---- src/Vista/MetodoPago.java | 307 ++++++++++++------ src/Vista/SalaPrincipal.form | 17 +- src/Vista/SalaPrincipal.java | 46 ++- src/Vista/seleccionarBoleto.form | 2 +- src/Vista/seleccionarBoleto.java | 23 +- 28 files changed, 624 insertions(+), 259 deletions(-) delete mode 100644 build/classes/Vista/MetodoPago$1.class delete mode 100644 build/classes/Vista/MetodoPago$2.class delete mode 100644 build/classes/Vista/MetodoPago$3.class create mode 100644 src/Controlador/ControladorCP.java create mode 100644 src/Controlador/ControladorPago.java create mode 100644 src/Images/cargando.gif diff --git a/build/classes/Controlador/ControladorBoleto.class b/build/classes/Controlador/ControladorBoleto.class index e2f4a631c49f9e8b7d544c9f395f24cfb2009b24..3fb6a3343182244eca36cc229f2b23f00b6b16e8 100644 GIT binary patch delta 1662 zcmZ8hYitx%6#mZkvD4{v+iuIF&~3M{h3&TV0p(c}=>xH4Hxvl1v{;?e6$7(Zv)WM2tj3j0isv6<_$o2P(dhhu_R>OX81v?|08V_uO;7 z@64PDo(ie&T_1k~z;ao7NIjtV%2y;3Mxx%oE*gt&+B9s$b^rRfzco1=jgJ`S38lsF z#z%spp5f$(-Vlk77(+(4zS+n_K0em)2|hJ1=KE4A&f+r-Irv=A7z{^@p=iu#=wrB+ ziA^TvSLB!~Z9|g}DwI zaZ}Nr_SC5|PwL&$z@(+od`WwI`h0;aV5QL+X9n#tJ(-Lq-LlXeEeK^V7F3u|6;zn# z3W|f0hb$KCMG0rXgF<_yl3a5@&Ltl%(ad~LC|p3>R9b;@WMc+>eJDi*S*a9{edgj^ zCWTVOmB@}OQcTREEoNN|kPBhJ-JZRxtbifX3d~}d*=Rrj%TSF7=AajIp(BVbsDVMR zBx>zPG$sX%WFB#05f)ns9$r&8C@Cx8E>v=^XNC>D-b9D_Sc+z>#6on@xfe^&$7i;n z1>0~d{af(_+He5vcorQP#|nIi+t`6CaUQqhGCFYsUDRk5*$PW3A~F-Jr3&5Bgf+4h zYo!Bi(uLLm=|+#8O;1;ixAeUD%hz~p?r80#ij^Z_$D$|(e!}vg^6Hy3RGeI6v znap6VyKtJ%^|8is^U30X-yu`VSfhwfDv%`_;ZcUPl)Pr1DQ--?Uz^6k(90-FiKQ!^4dKIU~Fm@DYH#mm_T+TW0#UnT$sgpFmsLM{{OUL;77{%aZG4DjWr-#20H$&7W1IG~^)|9=?qrt?Q0%)X^xYIw$7&2Bbq9u!Kok$+9_++s zJW93qVJk`BhB3r&2>0SG#HsInxPbd{iQZSS-IlJIO!`nPmEvc+CWxwJ7SSl;GMmy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RDqpR3B7 S*6?kRCR!TNI%$#hsQeeOCKbH^ diff --git a/build/classes/Controlador/ControladorEcenario.class b/build/classes/Controlador/ControladorEcenario.class index 4aa228da83f6340ddb07a095a961869b287e67f4..eaaa49e626e0afd966c502be090d4474ecf8d4eb 100644 GIT binary patch delta 1506 zcmbW0Yi!e17{-5R?bhwTQblmXtOJo@=$v#zl<9<-K@eD{evl#FV%0i_&}!Q;T!b3L zTcT0Y5TYM+(P)IBvXzxfao%ru#T(u)@f#mBMoo-F<8xYCXAJR@fBxq@=bZO>&U>Es zoF8ZWFw;5k`@S*YJiZxreyK<~T);Lj+Zi%=dm_n>WOQL99uLP2wX*`DRpGVab-_e` zZ?q@4tfMcPj78f#JZbQC#jcI4js=$|`oi(vn8OZSR%@r1VMYv|L?pR95s}QKS)sqi zwgtL9>@rk$_a^F-;b17%(;IcjSb+==+2#=sdky~d=E}(#zh|#GaY9JJ#n?83i5TkA z_gB`Xf3Dna_M``^mX`0Mj9mJ=syV6sI^a}1YNz978pm-8lbOL38t^ldlR1@Vv|1yE zjTz%v^%gzHBn;0Bmm3YxpoR*yIpK2@Zq$1l8+YMksUKzfu*PNB4V}DLBh}QOmRI){ zf{&^jPAUkc_dCO#me42)oK7vX^#xf(GnX-k>p6oy=CYA9xsS7Wn0e#$21|PWqk4O) zm(H_#HI%D88=n&O(?)=E#hgEm+gjpw5>mRkOsluqMVeX6 z63%CZ+Dlo+HFR>5$Vt_DJr{Bh7b(e$*-AHqirU5{jIfdy75%o3^C6e>F<0;{S8|xE z_?576bG12v6=n+EW-8aE@)-``6~V&`qB;sMq7ji^;$^CMRIa?jt5otJn|Mt~6*kj~ z)f0MMb1IO~0U^~^=ndY~p)7h!b8cM5uYKN;S6jJ@cjdOLf`jQ^U!cjBeWF_`h>w_v zBP#FlzBF_N%Dmd$sV~ zNPN5cQQpIrlEW<=QZWq&mAr@Y_6747q~;c1%OOpEqTjxjPt_YfE83=uY+s4y{(LSr z4DQWmR(OY|xQ|u}``Ci$9sXVU^OADvn9`g7pY#_c>0>Hy8K<234_SZt&(aT!lm1uA N6AD&;l{fh7KL7(1A%_3} delta 1221 zcmbW0OGuPa7>1wYjAM>NVwqWtT3L{3VpeDuM~jloY7uHzOv;5_>_%m1H5Dyf2n7=e zZ4%mK)6LN?T3L3nva&Wot2XZ3MARZOqWAwBC#i+u=KJ6C{pWqp_r2dapJ#nZclZ75 z>IRB<*XI7_a>dYU@CHuBCboxSI!&Mx0@FU@L=E@||tQ zNtKyExk;wXq*Cp-E3B7O{TfY(cKI?8K_RN>;1;o5k}J2l!#FN*hPy%H1bGpJ6!Yx;^Q;2tm!5=rGof~i8!M2SnW6n z3U=spsqrIF9Y5r^2o5a!Dww2LBky-=in}zq-I~H43fU`@_EF1z4$8PX#S=2GNxcL) zqMKBw-j1rqdirRPMaTFgW4~(G5GQSCe42AM2|VSQda8|}pg#f!BS@tU8zR)pbCutt z(p)$TeFeVZ8{DhZ3p;Iisjt!L;U0C{uy3-l+KaN=vo1O^{mrC{ahUKi;m7f> k^sCXO8~>92FJ-^s_2|+~W05wz8C}_TZfw&1wy$r00j-YAr~m)} diff --git a/build/classes/Main/Main.class b/build/classes/Main/Main.class index fc8bf1e3f9390512716bc2b59cd7780d49668f06..600fbe024e5c7fe67af5d7b779351b779d19b199 100644 GIT binary patch delta 272 zcmYj~Jx&5q9K?SQclmg`3$nn9qI_6FfrYU%;Q-s2kWg9~8Y#55v)>T8hYci>Z~!}R z;VBIBfCQVFH}jvF_wKJf`~CN|0Y+SB_O=y_r!TLM!*upEeYO-haS()rMA^q(z7ldu zHTy|SE&E+WQTi`FpPQSvn4HEC8hrA?y3|l?#D0H;`P`iwLU)!)A`B1jGn!H*&biQt zD?f>#{s2u{qNKzEuoS<&Rx0j4NEVO3_tk4i; zvdWr-q>uY()6n_^qc_3qC1ew9x2?uFZEZ~HH}SM6$B@GzPgz)_FpaOyB3Nfbe1|NX RY)R#|C|$`K5j(;RyFa--IS~K= diff --git a/build/classes/Modelo/Consulta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?>fNZxLF;qdhTJxm+pf%Qn{(T?+_sY2RpfidZmg!(iy~*HaaLJT8Yb^* z_QC2b#q0jx9&AX%A-H}Yyv|6nARO6)jcII=pvZZWZWkIN+x$(;M=A{KS)^FxLjT#y z$i@DqIdZALX_Jxyfl@rBq+Cu;1X0Qr`BD^Cc&)q?+Eo%Q@(G_sW#k%vvs&^B&zG0N zx{g>1R*D1up8{Vm!I2x%xM?2-I(bvG2e-uJ%Ivyz)~ucQOd5CX#J#+|&u5p$SNObA z(@M7;NMr9#d_9dv3295?@o+?5#7N_Nk|IN|h&#f(eByedrtw1st_$<>!LdBB(wty& zxR)A`e?uBiXZZ1MrM#0m9VRcIzS*ZI=QMue|AwoSme2DpV}!5v^JKAFD%>tFl2hR{ zelcjU;yfkH%U9voz6vz)X%bd)p@gil1WAj+$H>c9g~~p@6EFFmk#>cr$;*F8-T5%% zw&w8ua5%i5o(xZtmye=!i)VFD;}sR3G+t$Vmb1QJW!=9qd$u1RDo_*NuSqU{rWJ!= zqTHAFXfIPshK#n-L9dX>U$eEzuF=OLu3*j0Wt*sEW0=RLFdrwdH`U;HEaw~GD&EC$ zA{;ElCM?3a{0?#hmf&tw;{nuSFZMXhVddA@d{$B>*a#qDnt}3#Y~(o=AlK@ zqgAXyn^=nu;bE27%1;p6aE7=HtHm|w61QTFxRYNT?!lR22hI`zpoUh%){q5MM-GvLZ`*ESR8y9K&aIy9%F43OErP|ZDOnV-eYcJyp?M+;%y^X81 zcd?z#ZEGNa&4D6Z9f;tXz(iadn2hTJvv7T&ocl`L7+8Rt0t+z^sK?EL6}TmEI`^%F zci`5*YTTA<*nuv;hYF9r*pCAcxXnZWsHKoqkt@8DX3QamIM5u=t&5Tkh?E)f3(m3(zd diff --git a/build/classes/Vista/MetodoPago$1.class b/build/classes/Vista/MetodoPago$1.class deleted file mode 100644 index 3e75688aac0028502731e08f31cb6b06837940fb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 765 zcmaJ<+iuf95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*uJs36r~R7ycz0 zP8un7a$`pg3WlpeK}czYg7mm93kKV~ox~9*>yr4IvTin2yRSzl={z=CWZh`WDRNcT zF{E@ipODs(yd;y`DyXy?o2g0;qAEEUS@gT#P%7A?={*s{==ZMSn2j7P!U#lY%P?rO zScP1y!zgT^U+Xp@9}klD4*Hd@6$LnmLL8=F=ib9OI?j&AmpGMm!$j5_r?GrYX5&%J zreG?Yi__U6`XN?B8EeEe7DolU5Hs0&%wijHCfkD9Y#ZjX-8hRqjcRrP3)q`Dn|%n4 zeTh1$Cn8cm)JrF$Q7XbRsTeV-1WnR37}A+ArMYO97U6v9JXlg4@k19o()+kf z`ULBwBUn#AA73u_!4+~ptd$31jXW5pJQ7#RqhQEmaFskBSId)dja-at-9-QEnvtCdA}s+$<+>i@XZA%9r9c`6}ElZ@@Pb$~q zDdiUIQ*Ott$|l^b+>K|Ht$0@1iRTnbNM#?MR}SI@<#p^=4io<-$=|^ND_4QoqkesUneVP}9W(V039kQ(dF`p`RzG`diOf6e-SKiXR- zj@Iw{(cV2#G?_UECpLf$q?!83TU)UO8`(+JDx>yBqWo`*Ak-`VTCklBD(O#G_3dmh Yx#IxQA;@IeM29I1AG6_XL`nbu0s8S7H~;_u diff --git a/build/classes/Vista/SalaPrincipal.class b/build/classes/Vista/SalaPrincipal.class index be9997eaafc554d57992490f6c06d305e2480fa6..fe81e56c1fcb6c7a72bf51f64ad68bbdf6d84b49 100644 GIT binary patch literal 8977 zcmb7K3w#vS)&HNF-I+}sbXi^oge(FQ5=aaWMIs6b1VR&}1c@M4hRqNbHoI|mgJSjb zvud@zwbiy(KdTnsRz+Pb6tzC8wLY<0EUj9twpx6ATCKJP`@b{$48g~5!rn9Io^$TG z=l<`RduDiY&z1)O%#wNK(4d>}S@6RUgx1>Y?NjPfCr9I5bqku4cDExij*P~m>7xXC z)r6&G2%yYFxrO~;2?i~VrqXs@yB)I^C8P03w8xGKe7z|rDG0Wzl8(TQ2Q&RO^NQFMBIs|QvnPlPuU6Q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M;1 zi5mFtkZ(hhawv<1!`w=2rX0?;hF`93xHru1<;U7wq IG&fcLKM^j~K>z>% diff --git a/build/classes/Vista/seleccionarBoleto.class b/build/classes/Vista/seleccionarBoleto.class index 31a603873f548ce53b96471c21b6d2b7b7467064..3c1310181accee269e6663e264d18b6bdc333fda 100644 GIT binary patch delta 1093 zcmXZXe@vBC7{KxG^PV4KU@G@=l~B=$kQJ4=GUty?jJeumW2@%eNI=tqh@dQNxtpd& z!!jcsqnepBv?wUb1Z-i2L7*u`VS_6^RM&yp68sM_w7pVOsjpmyF_p3W5hD(wUji0eZx#Iz+Np3iqSfYt{ zN+gEaOkqA#Nnu)v-?v+4lw?Lll{EVjBtE1te}W{2l;V^W(nhCQA${s}TSy~Lb3>XN zl^_e8=F6f`SG!ILso&|YkdgukvNWV@r?imDo$ht=Ri6#i+F-i-)BD{=uV4ll+(;&K z$Re4QEM*nTc))2jkFbVyJjf;EQ+G zb^eW)WRRC-lvlhkc6t*j^=4A$&Er)smDjv1UiWg?;Cc)>m@ykXw;MtM(JD%Ciu)CBe`ALS~*2P%eY70ZX}dOlJ& zaX`&-zJrg|A`YrlYE+u@GHTTd>eOlusXRVW1+Le+yM@%NtsGW+_)Jysg*r%ss^^Gm z;7ip+qiUfksM`5TouOHE)1vw~ss=cwF7dS%j_Ytv=tx?1fN%6vzSVKG>09_t&vreB z@AX33^%73%RDRHDuJ3VY(>bLx-2GK_=o~tAKBx71&gf@cZ{kN?OqVXOuPSFh}$V7mV<` zG4z`-{xE+2G%*aAST35G{AF%t(A>_DS-{`sPKM1A=Tt74G`GJz$Yqnsh{@(3lh41V zkWsT)Fh$PWMNFx9W|t^aA=*?r*NQQR#hOMLW7;Ilv^#gnSaV*kG8ZM>47o=yON12} zXUECaHX!3|wCgDh*jW1QwOp|A5@~N0pPeUuyEs{*>=FssyJeESPbS-RiMAQ8SGwV9 miLtpd#TLj^yH=*z4H9dMWV$VO{i2&~mpHpat}8h?z34y6NE@pF delta 1097 zcmXZXeN5F=7{KxG^E)r07ZU`oA}F9Ku&gXA-87eIqqSnOTw`u71i=)QU{P4vHAjxZ zY3`0PTbYq%MuD+Rz=~!hhx;DM zTb`GjyR>j+U26C`lj`9k9Pk)PL}*4`pZ@DJma+fu>pCNSa*H3$XofMyU5_Q&9gQW9 z1mc;*I8qtUG*`1oRc-(E5vXW)2qJT1%vyl~SahvTFQp*!GQp7hD)5epWp@adR5+6@X zG^^xho{`x+E15he3s@~V1Y`+oq?EO?kuupFV4c)ZE{(h-`*>MesE~HnONVnO8{{M# zs};pcqzQ;&EzdFgRNc;Z+iv2ecPeGiXqAXjB>ORhiCNe6Akj3zg58s*omC?7GCgEoGlt&)2GoW>w98wTBkf zM5}7%Th+<|b&!Jr)yW}sn!~D_BdV99s*g5xg?24`r+s{{N714E{GiA2qn=2op2{&j z&GmGC(z7|P(>b9tIH@yT&v$nha!O~r_lr5L3;0UW{?I)f(Ea?W2Wi#U zxM+mGjG@njamhsUw~3?QBrsr7xNL4?(A>=xa}QU|Jg%8^=M4TanQp%zz`te@LuQ#^ zibPDQc;-b>rrddxXtP<2*(%ml%MGT+xk19rS2E1B$Z*pkKGW&kCE@10j4+qvMl;|( zdR0bRkqA3NBCTIW*;v={^xFjb>;x{_NfKl45Wk%%qwU-@8DrBW);=I(?V}QB7fQU% rcAe`E^JTnUAqlov5^aej*%xGjEtiS5!u1Aswn--2N=XiOB$odN!Sx!R diff --git a/src/Controlador/ControladorBoleto.java b/src/Controlador/ControladorBoleto.java index b51846b..79adde8 100644 --- a/src/Controlador/ControladorBoleto.java +++ b/src/Controlador/ControladorBoleto.java @@ -3,7 +3,7 @@ package Controlador; import Modelo.Asiento; import Modelo.Consulta; -import Modelo.Usuario; +import Vista.MetodoPago; import Vista.SalaPrincipal; import Vista.seleccionarBoleto; import java.awt.BorderLayout; @@ -24,6 +24,7 @@ import javax.swing.SwingConstants; public class ControladorBoleto implements ActionListener{ seleccionarBoleto ventana; Consulta consulta = new Consulta(); + Asiento asiento; public ControladorBoleto(seleccionarBoleto ventana) { this.ventana = ventana; control(); @@ -94,17 +95,22 @@ public class ControladorBoleto implements ActionListener{ }else{ if(e.getSource()== ventana.getBtnSeleccionarAsiento()){ if(ventana.getLabelNumeroAsiento().getText().isEmpty()){ - JOptionPane.showMessageDialog(null, "Error. Selecciona Un Asiento Libre"); + JOptionPane.showMessageDialog(null, "Error. Selecciona Un Asiento"); + }else{ + MetodoPago ventanaM = new MetodoPago(ventana.getZona(), asiento, ventana.getUser()); + ventanaM.setLocationRelativeTo(null); + ventanaM.setVisible(true); + ventana.dispose(); } }else{ JButton bon = (JButton) e.getSource(); - Asiento asiento = consulta.getAsiento(bon.getText(),ventana.getZona().getId()); + asiento = consulta.getAsiento(bon.getText(),ventana.getZona().getId()); if(asiento.isEstado()){ ventana.getLabelNumeroAsiento().setText(asiento.getNombre()); ventana.getLabelCostoAsiento().setText("$"+ventana.getZona().getPrecio()); }else{ - JOptionPane.showMessageDialog(null, "Error. Selecciona Un Asiento Libre"); - ventana.getLabelNumeroAsiento().setText(""); + JOptionPane.showMessageDialog(null, "Error. Selecciona Un Asiento Libre"); + ventana.getLabelNumeroAsiento().setText(""); ventana.getLabelCostoAsiento().setText(""); } } diff --git a/src/Controlador/ControladorCP.java b/src/Controlador/ControladorCP.java new file mode 100644 index 0000000..75cfff2 --- /dev/null +++ b/src/Controlador/ControladorCP.java @@ -0,0 +1,26 @@ + +package Controlador; + +import Vista.ConfirmacionPago; +import Vista.SalaPrincipal; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + +/* + * @author Juan Ska +*/ +public class ControladorCP implements ActionListener{ + ConfirmacionPago ventana; + + public ControladorCP(ConfirmacionPago ventana) { + this.ventana = ventana; + } + + @Override + public void actionPerformed(ActionEvent e) { + if(e.getSource()==ventana.getBtnMenu()){ + SalaPrincipal vent = new SalaPrincipal(ventana.getUser()); + } + } + +} diff --git a/src/Controlador/ControladorEcenario.java b/src/Controlador/ControladorEcenario.java index fdc16b5..8214cd9 100644 --- a/src/Controlador/ControladorEcenario.java +++ b/src/Controlador/ControladorEcenario.java @@ -3,7 +3,9 @@ package Controlador; import Modelo.Asiento; import Modelo.Consulta; import Modelo.Sala; +import Modelo.Usuario; import Modelo.Zona; +import Vista.Login; import Vista.SalaPrincipal; import Vista.seleccionarBoleto; import java.awt.Dimension; @@ -124,7 +126,14 @@ public final class ControladorEcenario implements MouseListener{ ventana.setLocationRelativeTo(null); ventana.setVisible(true); ventanaSala.dispose(); - } + } + if(e.getSource()==ventanaSala.getBtnCerrar()){ + ventanaSala.setUser(new Usuario()); + Login ventana = new Login(); + ventana.setLocationRelativeTo(null); + ventana.setVisible(true); + ventanaSala.dispose(); + } } @Override diff --git a/src/Controlador/ControladorPago.java b/src/Controlador/ControladorPago.java new file mode 100644 index 0000000..d0e1109 --- /dev/null +++ b/src/Controlador/ControladorPago.java @@ -0,0 +1,148 @@ + +package Controlador; + +import Modelo.Consulta; +import Modelo.Tarjeta; +import Vista.ConfirmacionPago; +import Vista.MetodoPago; +import Vista.seleccionarBoleto; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.KeyEvent; +import java.awt.event.KeyListener; +import javax.swing.JOptionPane; +import javax.swing.JPanel; + +/* + * @author Juan Ska +*/ +public class ControladorPago implements ActionListener{ + MetodoPago ventana; + Consulta consulta = new Consulta(); + public ControladorPago(MetodoPago ventana) { + this.ventana = ventana; + keyList(); + } + + @Override + public void actionPerformed(ActionEvent e) { + if(e.getSource()== ventana.getBtnPagar()){ + if(ventana.getTxtCodigo().getText().isEmpty() || ventana.getTxtFechaVencimiento().getText().isEmpty() || ventana.getTxtNumeroTarjeta().getText().isEmpty() || ventana.getTxtTitular().getText().isEmpty()){ + JOptionPane.showMessageDialog(null, "Error.Llena todos los campos."); + }else{ + if(ventana.getTxtCodigo().getText().length() ==3 && ventana.getTxtFechaVencimiento().getText().length() ==5 && ventana.getTxtNumeroTarjeta().getText().length()==16){ + Double numeroT = Double.valueOf(ventana.getTxtNumeroTarjeta().getText()); + int numero = Integer.parseInt(ventana.getTxtCodigo().getText()); + Tarjeta tarjeta = new Tarjeta(numeroT, ventana.getTxtFechaVencimiento().getText(),numero,ventana.getTxtTitular().getText()); + if(consulta.comprarAsiento(ventana.getZona(),ventana.getAsiento(), ventana.getUser())){ + JOptionPane.showMessageDialog(null, "Pago Realizado con exito!!"); + ConfirmacionPago ven = new ConfirmacionPago(ventana.getZona(),ventana.getAsiento(),tarjeta,ventana.getUser()); + ven.setLocationRelativeTo(null); + ven.setVisible(true); + ventana.dispose(); + }else{ + JOptionPane.showMessageDialog(null, "Errro!!"); + } + }else{ + JOptionPane.showMessageDialog(null, "Error. la tarjeta tiene que tener 16 dijitos, el CVV 3 y la fecha de Vencimiento es dd/aa."); + } + } + } + if(e.getSource()==ventana.getBtnRegresar()){ + JPanel panel = new JPanel(); + switch (ventana.getZona().getId()) { + case 1: + seleccionarBoleto ven = new seleccionarBoleto(ventana.getZona(), panel,7,5,1, ventana.getUser()); + ven.setLocationRelativeTo(null); + ven.setVisible(true); + ventana.dispose(); + break; + case 2: + seleccionarBoleto vent = new seleccionarBoleto(ventana.getZona(), panel,4,6,2, ventana.getUser()); + vent.setLocationRelativeTo(null); + vent.setVisible(true); + ventana.dispose(); + break; + case 3: + seleccionarBoleto venta = new seleccionarBoleto(ventana.getZona(), panel,2,5,3, ventana.getUser()); + venta.setLocationRelativeTo(null); + venta.setVisible(true); + ventana.dispose(); + break; + case 4: + seleccionarBoleto ventan = new seleccionarBoleto(ventana.getZona(), panel,7,5,4, ventana.getUser()); + ventan.setLocationRelativeTo(null); + ventan.setVisible(true); + ventana.dispose(); + break; + default: + } + } + } + + private void keyList() { + ventana.getTxtNumeroTarjeta().addKeyListener(new KeyListener() { + @Override + public void keyTyped(KeyEvent e) { + if(ventana.getTxtNumeroTarjeta().getText().length()>=16){ + e.consume(); + } + int key = e.getKeyChar(); + boolean numeros = key >= 48 && key <= 57; + if (!numeros){ + e.consume(); + } + } + @Override + public void keyPressed(KeyEvent e) { + } + @Override + public void keyReleased(KeyEvent e) { + } + }); + ventana.getTxtFechaVencimiento().addKeyListener(new KeyListener() { + @Override + public void keyTyped(KeyEvent e) { + if(ventana.getTxtFechaVencimiento().getText().length()>=5){ + e.consume(); + } + int key = e.getKeyChar(); + boolean numeros = key >= 48 && key <= 57; + if (!numeros){ + e.consume(); + } + } + @Override + public void keyPressed(KeyEvent e) { + } + @Override + public void keyReleased(KeyEvent e) { + int numero = ventana.getTxtFechaVencimiento().getText().length(); + if(numero==2){ + ventana.getTxtFechaVencimiento().setText(ventana.getTxtFechaVencimiento().getText()+"/"); + } + } + }); + ventana.getTxtCodigo().addKeyListener(new KeyListener() { + @Override + public void keyTyped(KeyEvent e) { + if(ventana.getTxtCodigo().getText().length()>=3){ + e.consume(); + } + int key = e.getKeyChar(); + boolean numeros = key >= 48 && key <= 57; + if (!numeros){ + e.consume(); + } + } + @Override + public void keyPressed(KeyEvent e) { + } + @Override + public void keyReleased(KeyEvent e) { + } + }); + } + + +} diff --git a/src/Images/cargando.gif b/src/Images/cargando.gif new file mode 100644 index 0000000000000000000000000000000000000000..78b3a13b1bb453ecbac93c82b46d0cf32f5a9ce0 GIT binary patch literal 5432 zcmd6rXH-+$zQrSol+Xl}-irb0pg?E>qO>4gsVWLW5Tr{NED!>ODoQ{=dM}}c5=7~Q z4hn>7C^3X0g7os@IoEs7msdW%{c(@6*BEQf|NPCl*Dbx9O3DuaX8>n@QUI8lncdyp z_4W0orKJ@V6j)eT0DnCKr$8eeb2DvCV;wmunX_leF9l96XnQ$6@Ns;^|IEe5ng5m^ z#26s3e~ywCKmm~W>nrk_0E*M(xFYNtV@^8tglo}k^C4pdUg^QIPX0=7U3pMvtHJnA z>~mE5?g^vqn*XQlO_%~*R8Rhvm~Cg)Sh0nmqka7})DK4=oiI1L7qk8bLab}5?QACa z7;{?;l7x2qP8jbFv+3@QE1JFQzR)_+&F;g#_`MLM9I($q^p3JhZR;WC?9+gW0cM;? zc{mapcz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~UMRO7Epw$0O6V@l} zl@0387K!ngQqaOr3@-@A3u<^txG)R#CS1P5Nio^y$e$?pxUO_EQq)Kl{A?hcm_+E$ zat~vEGr9#r=IRg1xN$CvjY*jn*cU;+(0(m7iSWwP-z*uebm)ke3rXj z{D^)?9JZs~a8G*?DE9C9|LdaXKM~4E4wgYgy7}km>f-4YMkyY)ly6F@E0KaEU@e8A zhFfg3^T3?y`r+`4&umqNU_k?vBZ~N_*U9ATm~p?YnN?Ta$V~A6Ay{B+|AsR(U!*0+A!3+_7L+!Y6229hjQun{&*b=Z>S!=OtNwl~vNf~Vp6>9o^y z#lSK#wSPq@N7@<~g9}zPGHNDFMFL?*1VeI!THX1_xBG%5Lqn=>WGiF|EZ(uc0 z_vL-C+Jh0a*|kjRrK{jor?v%@vf60NLeqiT$H90i|A&fu#?Joy@4BnIzwg1`Q7enN z=mxkb!y5Lx{O|sXN)!R(%%R8{rdAy1&@<#b7+YKbzn*r;c}KXU1RK3@c*s?ndp$jv zP>Wo(UE#*0fq44wO1i=9=+UudgkuO>i<*&CsNXs!-#%j&(L%X#a&_?7y`nGU-fHLE z#>Sk42Zie|F{L#lO}C@+Nft^*3l;P8-6rii8`)w0^qg1JNfQ!m-Lz$$WCN)D7wL - + - - - - - - - - - - - + @@ -88,7 +78,15 @@ - + + + + + + + + + @@ -106,13 +104,13 @@ - - + + - + @@ -132,12 +130,11 @@ - + - @@ -147,7 +144,7 @@ - + @@ -169,7 +166,7 @@ - + diff --git a/src/Vista/ConfirmacionPago.java b/src/Vista/ConfirmacionPago.java index 1ba4b72..c464e0e 100644 --- a/src/Vista/ConfirmacionPago.java +++ b/src/Vista/ConfirmacionPago.java @@ -4,8 +4,12 @@ */ package Vista; -import java.awt.Image; +import Modelo.Asiento; +import Modelo.Tarjeta; +import Modelo.Usuario; +import Modelo.Zona; import javax.swing.ImageIcon; +import javax.swing.JButton; /** * @@ -17,24 +21,39 @@ public class ConfirmacionPago extends javax.swing.JFrame { * Creates new form confirmacionPago */ ImageIcon imagen; + Zona zona; + Asiento asiento; + Tarjeta tarjeta; + Usuario user; - public ConfirmacionPago() { + public ConfirmacionPago(Zona zona, Asiento asiento, Tarjeta tarjeta, Usuario user) { initComponents(); - ImageIcon icon = new ImageIcon("C:\\Users\\reyes\\Documents\\ProyectoSalaConciertos\\SalaDeConciertos\\src\\Vista\\Images\\musica.png"); - Image image = icon.getImage(); - this.setIconImage(image); this.setResizable(false); setTitle("Confirmacion Pago"); this.setLocationRelativeTo(null); slogan(); + this.zona = zona; + this.asiento = asiento; + this.tarjeta = tarjeta; + this.user = user; + lbCorreo.setText(user.getCorreoelectronico()); + } public void slogan() { - imagen = new ImageIcon("C:\\Users\\reyes\\Documents\\ProyectoSalaConciertos\\SalaDeConciertos\\src\\Vista\\Images\\musicas.png"); + imagen = new ImageIcon("src\\Images\\musicas.png"); imagenLogo.setIcon(imagen); //logoimagen.setPreferredSize(new Dimension(150, 120)); } + public JButton getBtnMenu() { + return btnMenu; + } + + public Usuario getUser() { + return user; + } + /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always @@ -48,12 +67,12 @@ public class ConfirmacionPago extends javax.swing.JFrame { jPanel1 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); - jLabel3 = new javax.swing.JLabel(); + lbCorreo = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); logo2 = new javax.swing.JLabel(); imagenLogo = new javax.swing.JLabel(); - menu = new javax.swing.JButton(); + btnMenu = new javax.swing.JButton(); jLabel4.setText("jLabel4"); @@ -66,12 +85,11 @@ public class ConfirmacionPago extends javax.swing.JFrame { jLabel2.setText("Su boleto ha sido enviado al correo"); - jLabel3.setFont(new java.awt.Font("Segoe UI", 2, 12)); // NOI18N - jLabel3.setText("manuel23anel@gmail.com"); + lbCorreo.setFont(new java.awt.Font("Segoe UI", 2, 12)); // NOI18N jLabel5.setText("Para aclaraciones comunicarse con:"); - jLabel7.setText("SSporteConciertos@gmail.com"); + jLabel7.setText("drannet9@gmail.com"); logo2.setBackground(new java.awt.Color(0, 0, 204)); logo2.setFont(new java.awt.Font("Sitka Text", 1, 18)); // NOI18N @@ -80,9 +98,9 @@ public class ConfirmacionPago extends javax.swing.JFrame { imagenLogo.setText("."); - menu.setBackground(new java.awt.Color(51, 51, 51)); - menu.setForeground(new java.awt.Color(255, 255, 255)); - menu.setText("Menu Principal"); + btnMenu.setBackground(new java.awt.Color(51, 51, 51)); + btnMenu.setForeground(new java.awt.Color(255, 255, 255)); + btnMenu.setText("Menu Principal"); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); @@ -99,22 +117,21 @@ public class ConfirmacionPago extends javax.swing.JFrame { .addGroup(jPanel1Layout.createSequentialGroup() .addGap(87, 87, 87) .addComponent(jLabel1)) - .addGroup(jPanel1Layout.createSequentialGroup() - .addGap(69, 69, 69) - .addComponent(jLabel3)) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(51, 51, 51) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jLabel2) - .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jLabel5) - .addGroup(jPanel1Layout.createSequentialGroup() - .addGap(20, 20, 20) - .addComponent(jLabel7)))))) + .addComponent(jLabel5)))) .addContainerGap(59, Short.MAX_VALUE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) - .addComponent(menu) + .addComponent(lbCorreo, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) + .addComponent(jLabel7) + .addComponent(btnMenu)) .addGap(86, 86, 86)) ); jPanel1Layout.setVerticalGroup( @@ -129,13 +146,13 @@ public class ConfirmacionPago extends javax.swing.JFrame { .addGap(38, 38, 38) .addComponent(jLabel2) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jLabel3) - .addGap(35, 35, 35) + .addComponent(lbCorreo, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jLabel5) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(27, 27, 27) - .addComponent(menu) + .addComponent(btnMenu) .addContainerGap(99, Short.MAX_VALUE)) ); @@ -160,15 +177,15 @@ public class ConfirmacionPago extends javax.swing.JFrame { */ // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JButton btnMenu; private javax.swing.JLabel imagenLogo; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel2; - private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel5; private javax.swing.JLabel jLabel7; private javax.swing.JPanel jPanel1; + private javax.swing.JLabel lbCorreo; private javax.swing.JLabel logo2; - private javax.swing.JButton menu; // End of variables declaration//GEN-END:variables } diff --git a/src/Vista/MetodoPago.form b/src/Vista/MetodoPago.form index 90ec4bc..42808ae 100644 --- a/src/Vista/MetodoPago.form +++ b/src/Vista/MetodoPago.form @@ -1,10 +1,6 @@
- - - - @@ -62,13 +58,26 @@ - + + + + + - - - - - + + + + + + + + + + + + + + @@ -78,10 +87,10 @@ - - - - + + + + @@ -91,11 +100,11 @@ - + - - + + @@ -106,41 +115,46 @@ - + - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - + @@ -155,7 +169,7 @@ - + @@ -174,17 +188,7 @@ - - - - - - - - - - - + @@ -225,21 +229,15 @@ - + - - - - + - + - - - - + - + @@ -247,11 +245,14 @@ - + - - - + + + + + + diff --git a/src/Vista/MetodoPago.java b/src/Vista/MetodoPago.java index 1e9d815..12ba15c 100644 --- a/src/Vista/MetodoPago.java +++ b/src/Vista/MetodoPago.java @@ -1,9 +1,13 @@ -/* - * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license - * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template - */ package Vista; +import Controlador.ControladorPago; +import Modelo.Asiento; +import Modelo.Usuario; +import Modelo.Zona; +import javax.swing.JButton; +import javax.swing.JLabel; +import javax.swing.JTextField; + /** * * @author reyes @@ -13,27 +17,126 @@ public class MetodoPago extends javax.swing.JFrame { /** * Creates new form metodoPago */ - public MetodoPago() { + Zona zona; + Usuario user; + Asiento asiento; + public MetodoPago(Zona zona, Asiento asiento, Usuario user) { initComponents(); + this.asiento = asiento; + this.zona = zona; + this.user =user; + ControladorPago controlador = new ControladorPago(this); + btnPagar.addActionListener(controlador); + btnRegresar.addActionListener(controlador); + mostrarLb(); } - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ + public Zona getZona() { + return zona; + } + + public Usuario getUser() { + return user; + } + + public Asiento getAsiento() { + return asiento; + } + + public JButton getBtnPagar() { + return btnPagar; + } + + public JLabel getLbCosto() { + return lbCosto; + } + + public JLabel getLbNumeroAsiento() { + return lbNumeroAsiento; + } + + public JLabel getLbZona() { + return lbZona; + } + + public JTextField getTxtCodigo() { + return txtCodigo; + } + + public JTextField getTxtFechaVencimiento() { + return txtFechaVencimiento; + } + + public JTextField getTxtNumeroTarjeta() { + return txtNumeroTarjeta; + } + + public JTextField getTxtTitular() { + return txtTitular; + } + + public JButton getBtnRegresar() { + return btnRegresar; + } + + public void setZona(Zona zona) { + this.zona = zona; + } + + public void setUser(Usuario user) { + this.user = user; + } + + public void setAsiento(Asiento asiento) { + this.asiento = asiento; + } + + public void setBtnPagar(JButton btnPagar) { + this.btnPagar = btnPagar; + } + + public void setBtnRegresar(JButton btnRegresar) { + this.btnRegresar = btnRegresar; + } + + public void setLbCosto(JLabel lbCosto) { + this.lbCosto = lbCosto; + } + + public void setLbNumeroAsiento(JLabel lbNumeroAsiento) { + this.lbNumeroAsiento = lbNumeroAsiento; + } + + public void setLbZona(JLabel lbZona) { + this.lbZona = lbZona; + } + + public void setTxtCodigo(JTextField txtCodigo) { + this.txtCodigo = txtCodigo; + } + + public void setTxtFechaVencimiento(JTextField txtFechaVencimiento) { + this.txtFechaVencimiento = txtFechaVencimiento; + } + + public void setTxtNumeroTarjeta(JTextField txtNumeroTarjeta) { + this.txtNumeroTarjeta = txtNumeroTarjeta; + } + + public void setTxtTitular(JTextField txtTitular) { + this.txtTitular = txtTitular; + } + + @SuppressWarnings("unchecked") // //GEN-BEGIN:initComponents private void initComponents() { - jTextField3 = new javax.swing.JTextField(); jPanel1 = new javax.swing.JPanel(); jLabel2 = new javax.swing.JLabel(); - jButton1 = new javax.swing.JButton(); + btnRegresar = new javax.swing.JButton(); jLabel1 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); - jLabel4 = new javax.swing.JLabel(); - jLabel5 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel(); @@ -41,11 +144,14 @@ public class MetodoPago extends javax.swing.JFrame { jLabel10 = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); jLabel12 = new javax.swing.JLabel(); - jTextField1 = new javax.swing.JTextField(); - jTextField2 = new javax.swing.JTextField(); - jTextField4 = new javax.swing.JTextField(); - jTextField5 = new javax.swing.JTextField(); - jButton2 = new javax.swing.JButton(); + txtNumeroTarjeta = new javax.swing.JTextField(); + txtTitular = new javax.swing.JTextField(); + txtFechaVencimiento = new javax.swing.JTextField(); + txtCodigo = new javax.swing.JTextField(); + btnPagar = new javax.swing.JButton(); + lbZona = new javax.swing.JLabel(); + lbNumeroAsiento = new javax.swing.JLabel(); + lbCosto = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); @@ -54,18 +160,14 @@ public class MetodoPago extends javax.swing.JFrame { jLabel2.setFont(new java.awt.Font("Sitka Text", 0, 18)); // NOI18N jLabel2.setText("Sala de conciertos"); - jButton1.setBackground(new java.awt.Color(249, 249, 249)); - jButton1.setText("<- Regresar"); - jButton1.setBorderPainted(false); + btnRegresar.setBackground(new java.awt.Color(249, 249, 249)); + btnRegresar.setText("<- Regresar"); + btnRegresar.setBorderPainted(false); jLabel1.setFont(new java.awt.Font("Segoe UI", 1, 12)); // NOI18N jLabel1.setText("Descipcion"); - jLabel3.setText("Zona X"); - - jLabel4.setText("Breve Descripcion"); - - jLabel5.setText("Zona de Asiento:"); + jLabel3.setText("Zona:"); jLabel6.setText("Numero de Asiento:"); @@ -82,26 +184,9 @@ public class MetodoPago extends javax.swing.JFrame { jLabel12.setText("Nombre del Titular"); - jTextField2.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jTextField2ActionPerformed(evt); - } - }); - - jTextField5.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jTextField5ActionPerformed(evt); - } - }); - - jButton2.setBackground(new java.awt.Color(51, 51, 255)); - jButton2.setForeground(new java.awt.Color(255, 255, 255)); - jButton2.setText("Proceder a Pago"); - jButton2.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jButton2ActionPerformed(evt); - } - }); + btnPagar.setBackground(new java.awt.Color(51, 51, 255)); + btnPagar.setForeground(new java.awt.Color(255, 255, 255)); + btnPagar.setText("Pagar"); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); @@ -115,13 +200,22 @@ public class MetodoPago extends javax.swing.JFrame { .addGroup(jPanel1Layout.createSequentialGroup() .addGap(37, 37, 37) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jLabel3) + .addGroup(jPanel1Layout.createSequentialGroup() + .addComponent(jLabel3) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(lbZona, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jLabel1) - .addComponent(jLabel4) - .addComponent(jLabel5) - .addComponent(jLabel6) - .addComponent(jLabel7) - .addComponent(jLabel8))) + .addGroup(jPanel1Layout.createSequentialGroup() + .addComponent(jLabel6) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(lbNumeroAsiento, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGroup(jPanel1Layout.createSequentialGroup() + .addComponent(jLabel7) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(lbCosto, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGroup(jPanel1Layout.createSequentialGroup() + .addGap(49, 49, 49) + .addComponent(jLabel8)))) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(30, 30, 30) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) @@ -129,60 +223,62 @@ public class MetodoPago extends javax.swing.JFrame { .addComponent(jLabel9) .addComponent(jLabel11) .addComponent(jLabel12) - .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE) - .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE) - .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE) - .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE)))) + .addComponent(txtNumeroTarjeta, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(txtTitular, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(txtFechaVencimiento, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(txtCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addContainerGap(29, Short.MAX_VALUE)) .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() - .addComponent(jButton1)) + .addComponent(btnRegresar)) .addGroup(jPanel1Layout.createSequentialGroup() - .addGap(87, 87, 87) - .addComponent(jButton2))) + .addGap(107, 107, 107) + .addComponent(btnPagar))) .addGap(0, 0, Short.MAX_VALUE)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(10, 10, 10) - .addComponent(jButton1) + .addComponent(btnRegresar) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel2) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jLabel1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jLabel3) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jLabel5) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jLabel6) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jLabel7) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(lbZona, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGap(18, 18, 18) + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(jLabel6) + .addComponent(lbNumeroAsiento, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(28, 28, 28) + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(jLabel7) + .addComponent(lbCosto, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(30, 30, 30) .addComponent(jLabel8) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) + .addGap(28, 28, 28) .addComponent(jLabel9) .addGap(9, 9, 9) - .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(txtNumeroTarjeta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel10) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(txtFechaVencimiento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(7, 7, 7) .addComponent(jLabel11) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(txtCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(7, 7, 7) .addComponent(jLabel12) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(txtTitular, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) - .addComponent(jButton2) + .addComponent(btnPagar) .addContainerGap(16, Short.MAX_VALUE)) ); @@ -204,39 +300,54 @@ public class MetodoPago extends javax.swing.JFrame { pack(); }// //GEN-END:initComponents - private void jTextField2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField2ActionPerformed - // TODO add your handling code here: - }//GEN-LAST:event_jTextField2ActionPerformed - - private void jTextField5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField5ActionPerformed - // TODO add your handling code here: - }//GEN-LAST:event_jTextField5ActionPerformed - - private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed - // TODO add your handling code here: - }//GEN-LAST:event_jButton2ActionPerformed - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JButton jButton1; - private javax.swing.JButton jButton2; + private javax.swing.JButton btnPagar; + private javax.swing.JButton btnRegresar; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel10; private javax.swing.JLabel jLabel11; private javax.swing.JLabel jLabel12; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel3; - private javax.swing.JLabel jLabel4; - private javax.swing.JLabel jLabel5; private javax.swing.JLabel jLabel6; private javax.swing.JLabel jLabel7; private javax.swing.JLabel jLabel8; private javax.swing.JLabel jLabel9; private javax.swing.JPanel jPanel1; - private javax.swing.JTextField jTextField1; - private javax.swing.JTextField jTextField2; - private javax.swing.JTextField jTextField3; - private javax.swing.JTextField jTextField4; - private javax.swing.JTextField jTextField5; + private javax.swing.JLabel lbCosto; + private javax.swing.JLabel lbNumeroAsiento; + private javax.swing.JLabel lbZona; + private javax.swing.JTextField txtCodigo; + private javax.swing.JTextField txtFechaVencimiento; + private javax.swing.JTextField txtNumeroTarjeta; + private javax.swing.JTextField txtTitular; // End of variables declaration//GEN-END:variables + + private void mostrarLb() { + switch (zona.getId()) { + case 1: + lbZona.setText("Zona B"); + lbNumeroAsiento.setText(asiento.getNombre()); + lbCosto.setText("$"+zona.getPrecio()); + break; + case 2: + lbZona.setText("Zona General"); + lbNumeroAsiento.setText(asiento.getNombre()); + lbCosto.setText("$"+zona.getPrecio()); + break; + case 3: + lbZona.setText("Zona VIP"); + lbNumeroAsiento.setText(asiento.getNombre()); + lbCosto.setText("$"+zona.getPrecio()); + break; + case 4: + lbZona.setText("Zona C"); + lbNumeroAsiento.setText(asiento.getNombre()); + lbCosto.setText("$"+zona.getPrecio()); + break; + default: + throw new AssertionError(); + } + } } diff --git a/src/Vista/SalaPrincipal.form b/src/Vista/SalaPrincipal.form index 8ec2c27..a5d61f6 100644 --- a/src/Vista/SalaPrincipal.form +++ b/src/Vista/SalaPrincipal.form @@ -60,7 +60,7 @@ - + @@ -75,7 +75,7 @@ - + @@ -124,7 +124,7 @@ - + @@ -175,14 +175,17 @@ + - - - + + + + + + - diff --git a/src/Vista/SalaPrincipal.java b/src/Vista/SalaPrincipal.java index 49efecf..fc5df88 100644 --- a/src/Vista/SalaPrincipal.java +++ b/src/Vista/SalaPrincipal.java @@ -36,16 +36,20 @@ public class SalaPrincipal extends javax.swing.JFrame { panelC.addMouseListener(controlador); panelGeneral.addMouseListener(controlador); panelVip.addMouseListener(controlador); + btnCerrar.addMouseListener(controlador); + } + + public void setBtnCerrar(JButton btnCerrar) { + this.btnCerrar = btnCerrar; + } + + public JButton getBtnCerrar() { + return btnCerrar; } public Usuario getUser() { return user; } - - public JButton getjButton1() { - return jButton1; - } - public JPanel getPanelB() { return panelB; } @@ -62,6 +66,10 @@ public class SalaPrincipal extends javax.swing.JFrame { return panelVip; } + public void setUser(Usuario user) { + this.user = user; + } + /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always @@ -76,7 +84,7 @@ public class SalaPrincipal extends javax.swing.JFrame { jLabel1 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); - jButton1 = new javax.swing.JButton(); + btnCerrar = new javax.swing.JButton(); jPanel2 = new javax.swing.JPanel(); jPanel4 = new javax.swing.JPanel(); jLabel5 = new javax.swing.JLabel(); @@ -102,10 +110,10 @@ public class SalaPrincipal extends javax.swing.JFrame { jLabel3.setText("de los escenarios más destacados de la ciudad. Asegura tu lugar, con cuatro zonas distintas para elegir,"); - jButton1.setBackground(new java.awt.Color(51, 51, 51)); - jButton1.setForeground(new java.awt.Color(255, 255, 255)); - jButton1.setText("Cerrar Sesión"); - jButton1.setBorderPainted(false); + btnCerrar.setBackground(new java.awt.Color(51, 51, 51)); + btnCerrar.setForeground(new java.awt.Color(255, 255, 255)); + btnCerrar.setText("Cerrar Sesión"); + btnCerrar.setBorderPainted(false); jPanel2.setBackground(new java.awt.Color(255, 255, 255)); @@ -218,12 +226,14 @@ public class SalaPrincipal extends javax.swing.JFrame { .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(panelVip, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(panelC, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGroup(jPanel2Layout.createSequentialGroup() - .addGap(53, 53, 53) - .addComponent(jLabel7))) - .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() + .addComponent(panelC, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap()) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() + .addComponent(jLabel7) + .addGap(39, 39, 39)))) .addGroup(jPanel2Layout.createSequentialGroup() .addGap(255, 255, 255) .addComponent(jLabel11) @@ -278,7 +288,7 @@ public class SalaPrincipal extends javax.swing.JFrame { .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() - .addComponent(jButton1)) + .addComponent(btnCerrar)) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(236, 236, 236) .addComponent(jLabel2))) @@ -288,7 +298,7 @@ public class SalaPrincipal extends javax.swing.JFrame { jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() - .addComponent(jButton1) + .addComponent(btnCerrar) .addGap(9, 9, 9) .addComponent(jLabel2) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) @@ -327,7 +337,7 @@ public class SalaPrincipal extends javax.swing.JFrame { */ // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JButton jButton1; + private javax.swing.JButton btnCerrar; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel11; private javax.swing.JLabel jLabel13; diff --git a/src/Vista/seleccionarBoleto.form b/src/Vista/seleccionarBoleto.form index 3ef3679..6e44457 100644 --- a/src/Vista/seleccionarBoleto.form +++ b/src/Vista/seleccionarBoleto.form @@ -319,7 +319,7 @@ - + diff --git a/src/Vista/seleccionarBoleto.java b/src/Vista/seleccionarBoleto.java index 926d404..5cc412b 100644 --- a/src/Vista/seleccionarBoleto.java +++ b/src/Vista/seleccionarBoleto.java @@ -1,24 +1,21 @@ package Vista; import Controlador.ControladorBoleto; -import Modelo.Usuario; -import Modelo.Zona; -import java.awt.BorderLayout; -import javax.swing.JButton; -import javax.swing.JLabel; -import javax.swing.JPanel; +import Modelo.*; +import javax.swing.*; /** * * @author reyes */ public class seleccionarBoleto extends javax.swing.JFrame { - private JPanel panelB; - private int numZona; - private int filas; - private int columnas; - private Zona zona; - private Usuario user; + private final JPanel panelB; + private final int numZona; + private final int filas; + private final int columnas; + private final Zona zona; + private final Usuario user; + public seleccionarBoleto(Zona zona, JPanel panelB, int filas, int columnas, int numZona, Usuario user) { this.panelB = panelB; this.numZona = numZona; @@ -194,7 +191,7 @@ public class seleccionarBoleto extends javax.swing.JFrame { btnSeleccionarAsiento.setBackground(new java.awt.Color(51, 51, 51)); btnSeleccionarAsiento.setForeground(new java.awt.Color(255, 255, 255)); - btnSeleccionarAsiento.setText("Seleccionar"); + btnSeleccionarAsiento.setText("Comprar"); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout);