From 40a708ec4806fcf9691a5534e2090b358ebd4bf9 Mon Sep 17 00:00:00 2001 From: Soka_jplr Date: Sun, 17 Mar 2024 21:00:44 -0600 Subject: [PATCH] Envio de Email y interfaz de Admin --- .../Controlador/ControladorBoleto.class | Bin 5457 -> 6260 bytes .../Controlador/ControladorEcenario.class | Bin 4849 -> 5635 bytes build/classes/Modelo/Consulta.class | Bin 6934 -> 8149 bytes build/classes/Vista/ConfirmacionPago.class | Bin 5901 -> 7554 bytes build/classes/Vista/SalaPrincipal.class | Bin 8977 -> 9201 bytes build/classes/Vista/seleccionarBoleto.class | Bin 8541 -> 9463 bytes src/Controlador/ControladorBoleto.java | 39 +++++++++ src/Controlador/ControladorCP.java | 3 + src/Controlador/ControladorEcenario.java | 10 +++ src/Modelo/Consulta.java | 52 ++++++++++++ src/Modelo/EnviarCorreo.java | 77 ++++++++++++++++-- src/Vista/ConfirmacionPago.java | 38 ++++++++- src/Vista/SalaPrincipal.form | 64 ++++++++------- src/Vista/SalaPrincipal.java | 61 ++++++++------ src/Vista/seleccionarBoleto.form | 32 +++++++- src/Vista/seleccionarBoleto.java | 46 ++++++++++- 16 files changed, 354 insertions(+), 68 deletions(-) diff --git a/build/classes/Controlador/ControladorBoleto.class b/build/classes/Controlador/ControladorBoleto.class index 3fb6a3343182244eca36cc229f2b23f00b6b16e8..7faec3001d34117b28109dec26d2828b7ba9d70c 100644 GIT binary patch delta 3425 zcmZ8k349dg75~5NF`L~6Exux}s~@nQyARjf2Q=`n2}x?Nio4ttT0 zHWlrdCGhrZiIqbG-O)%;!D_*z3xnH()xjN!>SeJ|UrTUjbSU9P2iB@^q0-#BPQ`k2 zr-wV2hQh(P$?R6K0kgQ@M{Z*@JTwpq#uaQ5hC+|dwLL45l2F= zc9zy`7i3O&L0h6RFNQE|IzE{PMaG(CJyHf7giWBP7ou4f+}QE?cL>W?Y;=RT(5aT82RUno8pjcaC}o>1{5?i1uQ^$m&0 zYAvj7-W(#JVvFnmm_k2Q@id;%^F62g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+ALRgc@|(UJoA{mG%AIG1 zEz5XbT|0BRx8VAzE9iM1sVgXy+I{;&EU)LLbT)1tZk61w<<_3E`M>L;3ESey;dDyD zSdktl$YL7IOe=`%$T(+?lifE;j>j(}T7^t@JcJT_3^fc@JyUlH|3+!XZRo^4ti~|o zdON>HcQAB!nE<6O#83(XbK?%!OR}=Fvvnq}7hDz#&7*R5?BE?&aI2+y9vLh((0sZE G?hgQBTUPe~ diff --git a/build/classes/Controlador/ControladorEcenario.class b/build/classes/Controlador/ControladorEcenario.class index eaaa49e626e0afd966c502be090d4474ecf8d4eb..f8ea77cd349ea03ecc8683d56b6b67ecc503d76c 100644 GIT binary patch delta 1736 zcmb7ETWl0%7(M@PcW0TMbbDE=VAT>!*e%9VV?kL#pp7Z9NJ48gF)>cNlXmHLrrDV` zVoWwhAAHfotm6HGCi);RrDh`q!8?kI7VkH_prR;hyN(E-Eh z?ps^BZAc^w)4_PYjx8)Aa z9BA!vav5_Vr6PmpG(3-M1r*zGdX1|c6Ity_%kr$|0ZCQ@(Y0mQ=XC>ZzEexTMQIZwR01pia z^Ep+R7d>s!K3Y^asD=3!L6T^^l~0dEU~b93FFMXtajo^#veyH?S7XWRN^Q+j$=X1P z!1<`gGBhHEBrd>GEU(CLo*#QLx@9pF`?bY_DPq<6yi9QoMeOD0^$y;p$OAswimUJ* z-p3p~gi(Be580x-a0B)eDXj2}nfi%7qK)MceN4pe5PgDA5p>Z3+Nux~jra_oQ}FG$ z5no^s;Q$U6VzFeCY+P*>S-^NO64b#^e2K5fF*R{{Y_*hpca7~z?xKLRQHw+Pn#qQJ z^r(*x%^(Vqe&4vF+I-1vIE-(Z;2_f|2wk{h`HFLA=69I3@A#AR``(o??a3f+&+{Rt zFUDOUXCVE6o7|pzt089c@W#tiT8(3=e<)MCgtIW;Qpub@aq1tBPkmb@^$9V{`UQSE zKJ}gdo7!dm*;{bpO`JUU2di2hgIdJnU3}LR^VqR)5>Em}JnI^;sfgWmFFlM}@3vVG_Nr1RB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PT@6v4N-2csw@pNw|+^<9?ol2Y3NC z@!Lr*#b&;Q=I%x<_u(O4g@<_!w(u|>;cKv!Z@@PGARgsgNZyIZqI@s5^XIXHAA;mZ zv6G*~F8&rC=Uv#%&tVULA5ZX$c#?mLz5FXY#V-@t6(YWdeHIs5ED6|eNy4+1QFzXh zN^&}0uw>zYWg=d*OvgdXT)bq-C%KUD1$fy~jKfCh^cv+cP-50j7GR$+7o%cKr1>n4 zB+lHFQ#Tdk0rY4~z``t^P>)f^6WBoN)9L@G6)kMgj3Jb^7B-lQIelxCvUr?gN$jQ> ML)cInCtKNn0kvcDzW@LL diff --git a/build/classes/Vista/SalaPrincipal.class b/build/classes/Vista/SalaPrincipal.class index fe81e56c1fcb6c7a72bf51f64ad68bbdf6d84b49..94edafe13f0dbfe97d48cd271cb5772c83b31d0c 100644 GIT binary patch literal 9201 zcmb7K34B!5)&HOOX68-86DET!Vau>d2#^?d4QfaT5SlBT^lgT3vOlIQD1f|$k zt$tdq`&PHl+Rtj$>W3nO1?#6`-TKpNsftUj7Hex=suru&iv8dBW(^aU-wSikJNIn& zoO92+=RKZ0u=4=`^|GQA8gv6L6K;3}{tdxR!P9CIr-q~5HOm&qgFTkOvmhJ|Cyy5B zl~X%P;6;gnQWJw<3Wj!s6UksrdoU7gi-)73aBnaoaP=juxWL!a8tbwmv6^EOeZhD* zR#!^q!6t?%RfCn###m2pENVrQ2`|csQ*r`XL5h5+i9<0=;7wS`RpDfW_6)0RQD)Xe zf;6%{NwwW|Q#%y#2oobwP6`sY#6rPjI2K)LML2GcG((wxCllQmh@|4pSSYYBPFq29;lhH;i9uJapSfO_s`jW|5l&MmW z`34qpH3d28OsiNlnpk8f(xzY}+!c(clS~=E*u)YnrSXx@Rt7S*@}L;B1Unf6wI*FL ze9J_OTCK6cc4@7F<^6qabCjahVfZf-E0qRggN>i5gsd`gY#y#w;f^zLd>(F=!mTlJ zLLP3mTB>cuw@sXsXN4^^XreO@H(LqlGGXNjn4@srCQi=7%~i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Z)Bdr%d z*3Q6H+IL8wgKM;_ajkYUeyZJt>$LlDz4jn(&>klJ7&dB8;zsQS+@!rk`eodzeSq7w z-MB+Hh~5FXQy+%A^x>pOVv{}=_vn*wuYM@$DcGzpz%TR;Y|&R@tKNlQ>OI(|r%12I zgZk-sNIw_9($6P-5gygA#IN;h@q~Uep49KgQ~CpVT7MkR=+EF;{RKRy@5J-^YuK*8 zjTiI}@H_n@(x2i*zHfTTHvqr)1xXLW^S%+-;S1wsUp4;VtH(~?4E)hIllP7IlkXdN z#n*vXealIoh}V2;@Mm8SUiY1bH+<*eFTM*%UrhdGwDA+X>AL}M`EJ8seVg$&-xj>> z+eZ2^yyJTcfA_tJUA`TpcT(mRJm-4@@A}@yd%jQbzHc`^@B{Dqbv)xY@S%SIKJtg~ z5C3p{?61Tp{wn;_e<(inPs3;a+4z@#9{%lLg8%qCc)tR>{cEtte-b|TpUyJwED`_t zqWLcs-G8=9rhrT=R0$SI9i`YMF1|EG_13q<=20<|b)#Yk(Erk=`r2WQTvJ)C#LLZHfOx zIh2&9-R$2_>PhL^ZeK^s K=1B9bivI$1=k^K! diff --git a/build/classes/Vista/seleccionarBoleto.class b/build/classes/Vista/seleccionarBoleto.class index 3c1310181accee269e6663e264d18b6bdc333fda..eb0498a79b9aa57d6eebc095445dc165117c34b1 100644 GIT binary patch literal 9463 zcmb7J34B!Lwf~=)d+$ub1twt)iy(rK5QqVkLI4Q?VqyYFSd0sHNG@@3G81Peh+AE& z)>o}Q`+QHkysGW9ed<%uOjOirtF5+Z)h^mrU)`#;S~slL4f_ASduL^$^>>r`&OP5b z=R4cCobUc(-#zyOSS~%~@WCH|VZ($asN5dj5#CvsJS`IIscT)G2=_VyYe^&)Ni7rj zXH{=1Ll9*Fl-n2vTQF`@B$*1=C7r0#)fI`y!ig2}sFRA5t1ldLqALWW+X{rPQ|JaI zW`vEA2nhnQ{@&xrDv%b1ue32r;mvK4XgH}bV{D97m|#~t+TR;hPtVS>OoL-P)A zYmaw3(R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WP=^KPFZV?{iHlZ0igl_C4{h%<6hlSTTAbiF% z!fzZV{jw-AUK6FpyJCRxKF2&JOs^0Fy#vJ{?=UggTfz5Hc*i>iZ+pk#E$>7T^iCH; zy!E2o+bD*57m8utMPj&jg&5&oBPzUW`5t0lml)~o5u?0uG1{9Fr+TjtW4u?3vEFO> z{x$a9AjW%d5);%-aHezHb4nz!SAR~-60;#Z`?aS;Jt>cNzvo494k^t$9i3thDV?hV zyeA5AF8|H@JVZh?@c!7S3X=JviES0_-iPg?d0quSxo#H=D7lbr3ug!CuUG`$pv33I I;&~PS0`dk9A^-pY diff --git a/src/Controlador/ControladorBoleto.java b/src/Controlador/ControladorBoleto.java index 79adde8..12738d9 100644 --- a/src/Controlador/ControladorBoleto.java +++ b/src/Controlador/ControladorBoleto.java @@ -40,6 +40,7 @@ public class ControladorBoleto implements ActionListener{ ventana.revalidate(); ventana.repaint(); pintarZona(); + admin(); } private void cambiarPanel(JPanel panelB) { @@ -136,4 +137,42 @@ public class ControladorBoleto implements ActionListener{ } } + private void validar() { + double precio = consulta.getPrecioPorZona(ventana.getZona()); + ventana.getTxtPrecio().setText(""+precio); + + if("admin".equals(ventana.getUser().getTipo())){ + ventana.getTxtPrecio().setVisible(true); + ventana.getLbPrecio().setVisible(true); + ventana.getBtnCambiarP().setVisible(true); + }else{ + ventana.getTxtPrecio().setVisible(false); + ventana.getLbPrecio().setVisible(false); + ventana.getBtnCambiarP().setVisible(false); + } + } + + private void admin() { + validar(); + ventana.getBtnCambiarP().addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + if(ventana.getTxtPrecio().getText()==""){ + JOptionPane.showMessageDialog(null, "Error. LLena el campo"); + }else{ + double precio = Double.parseDouble(ventana.getTxtPrecio().getText()); + if(consulta.cambiarP(ventana.getZona(),precio)){ + JOptionPane.showMessageDialog(null, "Precio de la zona cambiado a: " + precio); + SalaPrincipal ven = new SalaPrincipal(ventana.getUser()); + ven.setLocationRelativeTo(null); + ven.setVisible(true); + ventana.dispose(); + }else{ + JOptionPane.showMessageDialog(null, "Error. fallo en la BD"); + } + } + } + }); + } + } \ No newline at end of file diff --git a/src/Controlador/ControladorCP.java b/src/Controlador/ControladorCP.java index 75cfff2..c563e51 100644 --- a/src/Controlador/ControladorCP.java +++ b/src/Controlador/ControladorCP.java @@ -20,6 +20,9 @@ public class ControladorCP implements ActionListener{ public void actionPerformed(ActionEvent e) { if(e.getSource()==ventana.getBtnMenu()){ SalaPrincipal vent = new SalaPrincipal(ventana.getUser()); + vent.setLocationRelativeTo(null); + vent.setVisible(true); + ventana.dispose(); } } diff --git a/src/Controlador/ControladorEcenario.java b/src/Controlador/ControladorEcenario.java index 8214cd9..6c09020 100644 --- a/src/Controlador/ControladorEcenario.java +++ b/src/Controlador/ControladorEcenario.java @@ -151,5 +151,15 @@ public final class ControladorEcenario implements MouseListener{ @Override public void mouseExited(MouseEvent e) { } + + public void validarUsuario() { + double montoR = consulta.montoR(); + ventanaSala.getLbMontoR().setText("Monto Recaudado: " + "$"+montoR); + if(ventanaSala.getUser().getTipo()=="admin"){ + ventanaSala.getLbMontoR().setVisible(false); + }else{ + ventanaSala.getLbMontoR().setVisible(true); + } + } } diff --git a/src/Modelo/Consulta.java b/src/Modelo/Consulta.java index 1d582dc..b9f1792 100644 --- a/src/Modelo/Consulta.java +++ b/src/Modelo/Consulta.java @@ -203,5 +203,57 @@ public class Consulta { } return verificar; } + + public double montoR() { + double montoR =0; + try { + conexion = cn.conectar(); + Statement stm; + String sql ="select sum(Z.precio) as monto from compra C, zona Z where zona_id = Z.id;"; + stm = conexion.createStatement(); + ResultSet resultado = stm.executeQuery(sql); + while(resultado.next()){ + montoR = resultado.getDouble(1); + } + cn.cerrarconexion(); + } catch (SQLException e) { + System.out.println(e.toString()); + } + return montoR; + } + + public double getPrecioPorZona(Zona zona) { + double precio = 0; + try { + conexion = cn.conectar(); + Statement stm; + String sql ="select precio from zona where id = "+zona.getId()+";"; + stm = conexion.createStatement(); + ResultSet resultado = stm.executeQuery(sql); + while(resultado.next()){ + precio = resultado.getDouble(1); + } + cn.cerrarconexion(); + } catch (SQLException e) { + System.out.println(e.toString()); + } + return precio; + } + + public boolean cambiarP(Zona zona, double precio) { + boolean verificar = false; + try { + PreparedStatement ps; + conexion = cn.conectar(); + ps= conexion.prepareStatement("UPDATE `zona` SET `precio`= " +precio + + "where id= '"+ zona.getId()+"';"); + ps.executeUpdate(); + verificar = true; + cn.cerrarconexion(); + } catch (Exception e) { + System.out.println(e.toString()); + } + return verificar; + } } diff --git a/src/Modelo/EnviarCorreo.java b/src/Modelo/EnviarCorreo.java index 544d108..f5bf40d 100644 --- a/src/Modelo/EnviarCorreo.java +++ b/src/Modelo/EnviarCorreo.java @@ -1,33 +1,92 @@ package Modelo; import java.util.Properties; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.mail.Message; +import javax.mail.MessagingException; +import javax.mail.NoSuchProviderException; import javax.mail.Session; +import javax.mail.Transport; +import javax.mail.internet.AddressException; +import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; /** * * @author Daniel */ -public class EnviarCorreo { +public class EnviarCorreo implements Runnable{ private static String emailFrom= "drannet9@gmail.com"; private static String passwordFrom="qnjkswqvuonuporj"; - private static String emailTo; - private static String Subject; - private static String content; + private String emailTo; + private String subject; + private String content; private Properties mProperties; private Session mSession; private MimeMessage mCorreo; - - public EnviarCorreo(){ - mProperties = new Properties(); + + public EnviarCorreo(String emailTo, String Subject, String content) { + this.emailTo = emailTo; + this.subject = Subject; + this.content = content; + mProperties = new Properties(); } - private void createEmail(){ + + + + public void createEmail() throws MessagingException{ + // Simple mail transfer protocol + mProperties.put("mail.smtp.host", "smtp.gmail.com"); + mProperties.put("mail.smtp.ssl.trust", "smtp.gmail.com"); + mProperties.setProperty("mail.smtp.starttls.enable", "true"); + mProperties.setProperty("mail.smtp.port", "587"); + mProperties.setProperty("mail.smtp.user",emailFrom); + mProperties.setProperty("mail.smtp.ssl.protocols", "TLSv1.2"); + mProperties.setProperty("mail.smtp.auth", "true"); + + mSession = Session.getDefaultInstance(mProperties); + + + try { + mCorreo = new MimeMessage(mSession); + mCorreo.setFrom(new InternetAddress(emailFrom)); + mCorreo.setRecipient(Message.RecipientType.TO, new InternetAddress(emailTo)); + mCorreo.setSubject(subject); + mCorreo.setText(content, "ISO-8859-1", "html"); + + + } catch (AddressException ex) { + System.out.println(ex.toString()); + } catch (MessagingException ex) { + System.out.println(ex.toString()); + } } - private void sendEmail(){ + public void sendEmail(){ + try { + Transport mTransport = mSession.getTransport("smtp"); + mTransport.connect(emailFrom, passwordFrom); + mTransport.sendMessage(mCorreo, mCorreo.getRecipients(Message.RecipientType.TO)); + mTransport.close(); + } catch (NoSuchProviderException ex) { + System.out.println(ex.toString()); + } catch (MessagingException ex) { + System.out.println(ex.toString()); + } + } + + @Override + public void run() { + try { + createEmail(); + sendEmail(); + } catch (MessagingException ex) { + Logger.getLogger(EnviarCorreo.class.getName()).log(Level.SEVERE, null, ex); + } } diff --git a/src/Vista/ConfirmacionPago.java b/src/Vista/ConfirmacionPago.java index c464e0e..7657f95 100644 --- a/src/Vista/ConfirmacionPago.java +++ b/src/Vista/ConfirmacionPago.java @@ -4,10 +4,15 @@ */ package Vista; +import Controlador.ControladorCP; import Modelo.Asiento; +import Modelo.EnviarCorreo; import Modelo.Tarjeta; import Modelo.Usuario; import Modelo.Zona; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.mail.MessagingException; import javax.swing.ImageIcon; import javax.swing.JButton; @@ -37,7 +42,10 @@ public class ConfirmacionPago extends javax.swing.JFrame { this.tarjeta = tarjeta; this.user = user; lbCorreo.setText(user.getCorreoelectronico()); - + ControladorCP controlador = new ControladorCP(this); + btnMenu.addActionListener(controlador); + Thread hilo = new Thread(new EnviarCorreo(user.getCorreoelectronico(), "Compra de Boletos Dran.net", enviarC())); + hilo.run(); } public void slogan() { @@ -188,4 +196,32 @@ public class ConfirmacionPago extends javax.swing.JFrame { private javax.swing.JLabel lbCorreo; private javax.swing.JLabel logo2; // End of variables declaration//GEN-END:variables + + private String enviarC() { + String zo = null; + switch (zona.getId()) { + case 1: + zo = "Zona B"; + break; + case 2: + zo = "Zona General"; + break; + case 3: + zo = "Zona VIP"; + break; + case 4: + zo = "Zona C"; + break; + default: + } + String contenido = "

Hola "+user.getNombre()+"

\n" + + "
\n" + + " Gracias por comprar tus boletos en Dran.net!!\n" + + " Compraste en la Zona: " + zo+ "\n" + + " precio: "+zona.getPrecio()+" \n" + + " asiento: "+ asiento.getNombre()+ " \n" + + "
\n" + + "

Favor de no responder a este Correo

"; + return contenido; + } } diff --git a/src/Vista/SalaPrincipal.form b/src/Vista/SalaPrincipal.form index a5d61f6..1d296ce 100644 --- a/src/Vista/SalaPrincipal.form +++ b/src/Vista/SalaPrincipal.form @@ -46,28 +46,37 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + - + @@ -84,18 +93,13 @@ - - - - - - - - - - - - + + + + + + + @@ -385,6 +389,8 @@ + + diff --git a/src/Vista/SalaPrincipal.java b/src/Vista/SalaPrincipal.java index fc5df88..3486c3f 100644 --- a/src/Vista/SalaPrincipal.java +++ b/src/Vista/SalaPrincipal.java @@ -9,6 +9,7 @@ import Modelo.Usuario; import java.awt.Color; import javax.swing.ImageIcon; import javax.swing.JButton; +import javax.swing.JLabel; import javax.swing.JPanel; /** @@ -37,6 +38,7 @@ public class SalaPrincipal extends javax.swing.JFrame { panelGeneral.addMouseListener(controlador); panelVip.addMouseListener(controlador); btnCerrar.addMouseListener(controlador); + controlador.validarUsuario(); } public void setBtnCerrar(JButton btnCerrar) { @@ -70,6 +72,10 @@ public class SalaPrincipal extends javax.swing.JFrame { this.user = user; } + public JLabel getLbMontoR() { + return lbMontoR; + } + /** * 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 @@ -97,6 +103,7 @@ public class SalaPrincipal extends javax.swing.JFrame { jLabel11 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); jLabel13 = new javax.swing.JLabel(); + lbMontoR = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); @@ -277,22 +284,28 @@ public class SalaPrincipal extends javax.swing.JFrame { .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() - .addGap(35, 35, 35) - .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) - .addComponent(jLabel1) - .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() - .addComponent(jLabel4) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jLabel13)) - .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) - .addGroup(jPanel1Layout.createSequentialGroup() - .addContainerGap() - .addComponent(btnCerrar)) - .addGroup(jPanel1Layout.createSequentialGroup() - .addGap(236, 236, 236) - .addComponent(jLabel2))) - .addContainerGap(30, Short.MAX_VALUE)) + .addGap(35, 35, 35) + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(jLabel1) + .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addGroup(jPanel1Layout.createSequentialGroup() + .addComponent(jLabel4) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jLabel13)) + .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) + .addGroup(jPanel1Layout.createSequentialGroup() + .addContainerGap() + .addComponent(btnCerrar)) + .addGroup(jPanel1Layout.createSequentialGroup() + .addGap(236, 236, 236) + .addComponent(jLabel2))) + .addGap(0, 24, Short.MAX_VALUE)) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() + .addGap(0, 0, Short.MAX_VALUE) + .addComponent(lbMontoR, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE))) + .addContainerGap()) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) @@ -307,15 +320,13 @@ public class SalaPrincipal extends javax.swing.JFrame { .addComponent(jLabel3) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel4) - .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(jPanel1Layout.createSequentialGroup() - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 45, Short.MAX_VALUE) - .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(22, 22, 22)) - .addGroup(jPanel1Layout.createSequentialGroup() - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jLabel13) - .addGap(0, 0, Short.MAX_VALUE)))) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jLabel13) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) + .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(lbMontoR, javax.swing.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE) + .addContainerGap()) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); @@ -351,9 +362,11 @@ public class SalaPrincipal extends javax.swing.JFrame { private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel2; private javax.swing.JPanel jPanel4; + private javax.swing.JLabel lbMontoR; private javax.swing.JPanel panelB; private javax.swing.JPanel panelC; private javax.swing.JPanel panelGeneral; private javax.swing.JPanel panelVip; // End of variables declaration//GEN-END:variables + } diff --git a/src/Vista/seleccionarBoleto.form b/src/Vista/seleccionarBoleto.form index 6e44457..8f89149 100644 --- a/src/Vista/seleccionarBoleto.form +++ b/src/Vista/seleccionarBoleto.form @@ -69,7 +69,7 @@ - + @@ -134,6 +134,14 @@ + + + + + + + + @@ -142,7 +150,7 @@ - + @@ -175,7 +183,13 @@ - + + + + + + + @@ -322,6 +336,18 @@ + + + + + + + + + + + + diff --git a/src/Vista/seleccionarBoleto.java b/src/Vista/seleccionarBoleto.java index 5cc412b..ca27449 100644 --- a/src/Vista/seleccionarBoleto.java +++ b/src/Vista/seleccionarBoleto.java @@ -84,6 +84,26 @@ public class seleccionarBoleto extends javax.swing.JFrame { public JLabel getLabelZona() { return labelZona; } + + public JButton getBtnCambiarP() { + return btnCambiarP; + } + + public JLabel getLbPrecio() { + return lbPrecio; + } + + public JTextField getTxtPrecio() { + return txtPrecio; + } + + public void setLbPrecio(JLabel lbPrecio) { + this.lbPrecio = lbPrecio; + } + + public void setTxtPrecio(JTextField txtPrecio) { + this.txtPrecio = txtPrecio; + } @SuppressWarnings("unchecked") @@ -109,6 +129,9 @@ public class seleccionarBoleto extends javax.swing.JFrame { logoimagen = new javax.swing.JLabel(); BtnRegreso = new javax.swing.JButton(); btnSeleccionarAsiento = new javax.swing.JButton(); + btnCambiarP = new javax.swing.JButton(); + txtPrecio = new javax.swing.JTextField(); + lbPrecio = new javax.swing.JLabel(); logo1.setBackground(new java.awt.Color(0, 0, 204)); logo1.setFont(new java.awt.Font("Sitka Text", 1, 18)); // NOI18N @@ -193,6 +216,10 @@ public class seleccionarBoleto extends javax.swing.JFrame { btnSeleccionarAsiento.setForeground(new java.awt.Color(255, 255, 255)); btnSeleccionarAsiento.setText("Comprar"); + btnCambiarP.setText("Cambiar Precio"); + + lbPrecio.setText("$"); + javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( @@ -234,6 +261,13 @@ public class seleccionarBoleto extends javax.swing.JFrame { .addGap(0, 0, Short.MAX_VALUE))) .addGap(30, 30, 30)) .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addGroup(jPanel1Layout.createSequentialGroup() + .addComponent(lbPrecio) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(txtPrecio, javax.swing.GroupLayout.PREFERRED_SIZE, 78, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(btnCambiarP) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) @@ -268,7 +302,12 @@ public class seleccionarBoleto extends javax.swing.JFrame { .addGroup(jPanel1Layout.createSequentialGroup() .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(35, 35, 35)))) + .addGap(18, 18, 18) + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(txtPrecio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(lbPrecio) + .addComponent(btnCambiarP)) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); @@ -285,7 +324,7 @@ public class seleccionarBoleto extends javax.swing.JFrame { .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addContainerGap(24, Short.MAX_VALUE)) ); pack(); @@ -294,6 +333,7 @@ public class seleccionarBoleto extends javax.swing.JFrame { // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JButton BtnRegreso; + private javax.swing.JButton btnCambiarP; private javax.swing.JButton btnSeleccionarAsiento; private javax.swing.JButton jButton1; private javax.swing.JLabel jLabel11; @@ -309,9 +349,11 @@ public class seleccionarBoleto extends javax.swing.JFrame { private javax.swing.JLabel labelNumeroAsiento; private javax.swing.JLabel labelOcupado; private javax.swing.JLabel labelZona; + private javax.swing.JLabel lbPrecio; private javax.swing.JLabel logo1; private javax.swing.JLabel logo2; private javax.swing.JLabel logoimagen; + private javax.swing.JTextField txtPrecio; // End of variables declaration//GEN-END:variables }