From 905d5c4486ab6ca6f83299a01218be6057671c5d Mon Sep 17 00:00:00 2001 From: "edgar.juarez" Date: Mon, 4 Mar 2024 08:47:47 -0600 Subject: [PATCH] avance2 --- .idea/dataSources.xml | 13 +++ .idea/uiDesigner.xml | 20 ++-- ConexionBD.java | 13 +++ DatabaseManager.java | 12 +- WhatsApp Image 2024-03-04 at 8.01.20 AM.jpeg | Bin 0 -> 8590 bytes .../mezontleTeam/.idea/uiDesigner.xml | 20 ++-- .../mezontleTeam/DatabaseManager.class | Bin 0 -> 2138 bytes out/production/mezontleTeam/User.class | Bin 0 -> 1213 bytes ...atsApp Image 2024-03-04 at 8.01.20 AM.jpeg | Bin 0 -> 8590 bytes out/production/mezontleTeam/registerV.class | Bin 0 -> 2108 bytes out/production/mezontleTeam/ventana1$1.class | Bin 1428 -> 1428 bytes out/production/mezontleTeam/ventana1$2.class | Bin 0 -> 1246 bytes out/production/mezontleTeam/ventana1.class | Bin 4843 -> 4482 bytes registerV.form | 69 ++++++++++++ registerV.java | 62 ++++++++++ ventana1.form | 106 ++++++++++-------- ventana1.java | 25 +++-- 17 files changed, 260 insertions(+), 80 deletions(-) create mode 100644 ConexionBD.java create mode 100644 WhatsApp Image 2024-03-04 at 8.01.20 AM.jpeg create mode 100644 out/production/mezontleTeam/DatabaseManager.class create mode 100644 out/production/mezontleTeam/User.class create mode 100644 out/production/mezontleTeam/WhatsApp Image 2024-03-04 at 8.01.20 AM.jpeg create mode 100644 out/production/mezontleTeam/registerV.class create mode 100644 out/production/mezontleTeam/ventana1$2.class create mode 100644 registerV.form create mode 100644 registerV.java diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 4657635..6d3d9d1 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -6,6 +6,19 @@ true com.mysql.cj.jdbc.Driver jdbc:mysql://db4free.net:3306/basecursos + + + + + + + $ProjectFileDir$ + + + mysql.8 + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://localhost:3306 diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml index 5561d96..dc481d1 100644 --- a/.idea/uiDesigner.xml +++ b/.idea/uiDesigner.xml @@ -2,14 +2,11 @@ - - - - - + + @@ -26,6 +23,9 @@ + + + @@ -38,11 +38,6 @@ - - - - - @@ -53,6 +48,11 @@ + + + + + diff --git a/ConexionBD.java b/ConexionBD.java new file mode 100644 index 0000000..328f09c --- /dev/null +++ b/ConexionBD.java @@ -0,0 +1,13 @@ +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; + +public class ConexionBD { + private static final String URL = "jdbc:mysql://db4free.net:3306/basecursos"; + private static final String USERNAME = "edgarivanjc"; + private static final String PASSWORD = "edgarivanJC12"; + + public static Connection getConnection() throws SQLException { + return DriverManager.getConnection(URL, USERNAME, PASSWORD); + } +} diff --git a/DatabaseManager.java b/DatabaseManager.java index 5002a0d..32e0995 100644 --- a/DatabaseManager.java +++ b/DatabaseManager.java @@ -1,13 +1,13 @@ import java.sql.*; public class DatabaseManager { - private static final String URL = "jdbc:mysql://db4free.net:3306/basecursos"; - private static final String USERNAME = "edgarivanjc"; - private static final String PASSWORD = "edgarivanJC12"; +// private static final String URL = "jdbc:mysql://db4free.net:3306/basecursos"; +// private static final String USERNAME = "edgarivanjc"; +// private static final String PASSWORD = "edgarivanJC12"; public static User getAuthenticatedUser(String nombre, String contrasena) { User user = null; - try (Connection conexion = DriverManager.getConnection(URL, USERNAME, PASSWORD)) { + try (Connection conexion = ConexionBD.getConnection()){ String consulta = "SELECT * FROM usuarios WHERE nombre = ? AND contrasena = ?"; try (PreparedStatement statement = conexion.prepareStatement(consulta)) { statement.setString(1, nombre); @@ -27,4 +27,8 @@ public class DatabaseManager { } return user; } + + + + } diff --git a/WhatsApp Image 2024-03-04 at 8.01.20 AM.jpeg b/WhatsApp Image 2024-03-04 at 8.01.20 AM.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..74cb4f39e59a392efcfb7614c732898fd94a50ac GIT binary patch literal 8590 zcmb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$e)uTH+bq2&Aw)s~f&Y2(XJ%6$y`TrfbxI z?#(_=7M{Huz69Hh-mAPilz>l)#m@#a{9|C IF!aoS0}(n=kpKVy literal 0 HcmV?d00001 diff --git a/out/production/mezontleTeam/.idea/uiDesigner.xml b/out/production/mezontleTeam/.idea/uiDesigner.xml index 5561d96..dc481d1 100644 --- a/out/production/mezontleTeam/.idea/uiDesigner.xml +++ b/out/production/mezontleTeam/.idea/uiDesigner.xml @@ -2,14 +2,11 @@ - - - - - + + @@ -26,6 +23,9 @@ + + + @@ -38,11 +38,6 @@ - - - - - @@ -53,6 +48,11 @@ + + + + + diff --git a/out/production/mezontleTeam/DatabaseManager.class b/out/production/mezontleTeam/DatabaseManager.class new file mode 100644 index 0000000000000000000000000000000000000000..5e0c5ecf08cf38587de6f2f5434b8dffad1e6e79 GIT binary patch literal 2138 zcmZuy%Trrb82_D+o10uN<^8x6YwCjnLTPKMmJ}h_rVDx3v5PWqD^?>~(5j=&L_0bJ+Uvw%A={4JwjG&r zZC7r|JPWxr;HTqNmvWtKej`?s;ced_Q?ZCOq6^(RdQ4d873i%5I;AQQDN5J(DbO`A zS0~b{a@S|#8JrU^<&I33T)9}1&S%P^CXppsEalvkbeTXD=XE@1;(5Fv&{j#Hq9PDv z16UlJvld3bKp>k@W&+kZWQ~1@FC3S5EV z+JcTpybgW|rA;qlj+pq(U-2)X%ET+S_L4A#YA-8_5u)hNDbw+d)J3n1CjCc>)!Wxs zRXKHis2XMj<<9m=?@=M}Rio+3%R=pd+~NCD71p+e;$X=`BXm+{lh>Ged)ot62U}nB z(4EY=kt&p&w4BYVhIBlI`9*~a&f`tKm+BV)Cl4X637$r|3+~#`9>lkvc%G{g0}V)W zHGKsv;5JVYEMkcq8V7!&UL$!&V*Wem$+o8P;D{A0qd9=V|P1sD{Mt9V-K&)TcHCC zDOckHyNHg{!vVS~43mDS{fI&IeM?iiS{c*6Zb&h@DhyK@Te{K>?T;Mb!blnXF6`nQ zD>^{u$qvY5F&!-)(WUcEL{i7Z5fcd4l~V}8C47j$iDq3-$7)XyNO%sNSLs-Gzx N@gUQbOfG;A{{x0=^A`XB literal 0 HcmV?d00001 diff --git a/out/production/mezontleTeam/User.class b/out/production/mezontleTeam/User.class new file mode 100644 index 0000000000000000000000000000000000000000..51df9e80a2099ea354fe0565a6b3c40487b6d1f6 GIT binary patch literal 1213 zcma))UvJW26vm$yT3A^bW3o+PI(3^XWy+0L&MYyDCM0BDOt~+tVO^k2O6Rp7$O}y* zCSLdf{7}Z{l-UeJ0A8bALJs*NG!r@s3Y$01N2fD({88uK z;Km(B3WZmm??q<{d8^eoum+=ul8JSg3fhOM8!F_yD+Se+%MBA1Y%!@!S1XX^Tn!b_{W9REL-R-bg|!4(NAJ9A(C zmWk-Xh`%n|*0P7BS!0?vG60HnPsB2<=cyr-d6m{nm%(i~bl-Z?iy^qrWyW~SDdxCV zjeo9(Qcji;pB#34a>P6hup{j9f1lbX`sq9y_ID_|IYZGtnW1byo1tpgwHaz(Gogt+YT_>>Dwc#r_!_c$+5X;Sxxjqg(`O5@c@$h)hW)aFhvBT?Em7D0|PL9A?$)Qg(0rcIEO6(I6P1f&)3!2Saq`<}P} literal 0 HcmV?d00001 diff --git a/out/production/mezontleTeam/WhatsApp Image 2024-03-04 at 8.01.20 AM.jpeg b/out/production/mezontleTeam/WhatsApp Image 2024-03-04 at 8.01.20 AM.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..74cb4f39e59a392efcfb7614c732898fd94a50ac GIT binary patch literal 8590 zcmb_>1yCH%_U_RnL0r)Xa3B>gum&`s+UDLr5`?85tNKvvG^@v2h4eQPkoeE{8Re=w$#h2!nVwj?hvMRqQ&3V-GqbR=v2zFt35$q|iOWA#P*hS@ zQPq219SmseKT);Bh{ws($@$0w&}=NFf#zqmjE z=D%S52igCGi}(%~1{M}37S3N>APk>7!z9MSe#C$8p{x#$l^e-pfsp&8a`B(5J8>DG z=pK?;yN}?JGYKv;AN_^)53>I~V4?q4$o>QDf8d%02rx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4{^+YFHPs&;TBAnOXS3?0tvmmSMau=McxT zr8mw^n1y0{#7XbA-OG06B$#S=3wL3bLW|55TMjrouc|FIJS26Ry*yB)6IH%fL_oN1 zOHQEbLf7lo<8K>8S0A;X8(B}D7Jow8QM^2@&}bpuyEy;FTGWKy_&e|U8%&7KRI6vQ z0{8c5>++|X!dVOKpuchNKdArSl_aY>Nz|T{DCTkf^363)d9>4)Q=+?~_fc`rlP(;1 zQy4WAQEOV5@JFV_0ElRd8LVQQ@y`4c8F?%bcW5Tw!Ri3IBq)B@*Bbcvtm?=4h}N?H z`Y6|ntHVdAaz1HS=M>fr`D{1cxh|n!k#XH3{7dyep-;>&p>I7Kn`V3NRGkSbNqlQf zUCBT~;I$u4sAa;sX?H5p)YN`|j%6KImbVY@IwC`uNM{yqr@u5nscZK*+|z#QPV+}< zsMSL_3*rw+5w^}=ut}d9LuCDkG7Tuv8lpJNhS?m*(A4PJxIMmSwsf1cBSZRMQ+;H# zgW?w_+8 zkv8ml@0LcIf|&-TOh2C#)$4xV2<9G9f4`1XPm20SSL0ycAm%O23e6PEW#aNXqpy`o z_+>oA5{#k3oVE`4bJa^!eIsanr%B}NbG^<-& zb8vGLox?^iua2{?YML5>kR6{uT4S@%*@wH^{VKWJSqJ=LU0z zjV9S2u8vZ43!l>&1dkYBHoiP04FVeznP9=8&ojDe5wP8FBr5 zi6m;kL{2VLOIA&PpGH)6tQC-D{Al5}B@R|~Bx6}*7aqp4^iXxYa`Ya?B*OT^-*I4| z>kwxpi@B|h$e)uTH+bq2&Aw)s~f&Y2(XJ%6$y`TrfbxI z?#(_=7M{Huz69Hh-mAPilz>l)#m@#a{9|C IF!aoS0}(n=kpKVy literal 0 HcmV?d00001 diff --git a/out/production/mezontleTeam/registerV.class b/out/production/mezontleTeam/registerV.class new file mode 100644 index 0000000000000000000000000000000000000000..38b43f7e4ad12f1f355dc08ff8a4699524179709 GIT binary patch literal 2108 zcma)7ZBrXn7(F*{n=FBn6ewxyTSbKgh^^LYQ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r1=_h{ZJDqp*vz(^vTv{)g@2vt0;QVXQAJ; z7%tg<#r0JaZV7a}QoFXVJ$Im_2HyAw(z9LTeB1CbC~*B>;ee4X?Gb7=SqNiTAmRm~ z$}2=MgorstEF_R5Eo>oZT%a>iLwSXe9*kNTLt3EKS32i9nk|_ifv*3$<@{_%c`R#y zWh~sogg`fg7SxVBDC=CA-E35pC$;T50-?l8&3DSeebaHMB8wkQ@IwoaFwOZhxM2JC zcA3>eiT9?X#{&Jq@D0bx%r!G#Gzs(MM-hNPOX5N|$pRyDZixxn^2E1(u)nRm*D^>M z&$~rgE|5&~|IZjQ>JzZea|};rDY!MI_uSH^G-J}rqeq(z>TW7;$MyDAN#NEcLM}sF zG%!hwfFO>(3preMqCj^{i7NsP^g$pkXX6YE!1@QP~5HXOB_>3rN!M2L${k*re< zHTWF)I;Fbo`dk=m#UWj}vh;oBV}J|U1c4cdSj;RX_q2|0GqSvA`8CJeSfZ)XZxE>y zguezpPk1&m5>(b4&(4|`p5ht*=pSSg+#M>vB8ED}yDW0vrO`1`nn%ltCXRv1x-RlMXKqE7_*z|x8} L-ciOGR`~n{8gU#o literal 0 HcmV?d00001 diff --git a/out/production/mezontleTeam/ventana1.class b/out/production/mezontleTeam/ventana1.class index 2fe42600891dd5e6214ca103b62bc63e5df32457..d4d5065b98f83f523a292f6b01f763ca3b5283a5 100644 GIT binary patch literal 4482 zcma)82YeIP9sbUeb?5WR2myg(GzuZamcRl+DX}wZ%o3FiwHOg4ZO`(>9LPFHIzym4 z>7MCIO4Hq@bf!SCoW^O=gfz5iy3@U9x_8q>px=8Z*^=>(U-h%!yZ7FIe*f{_qi65E zA3&D^9SsPm2pVWaNI_(ub-+sIt-@e(YyUnw=P3wX4}Sz#vu5v5MXQM;H;IdZvPK zYr1;S*|t;1EX-Ch$G}CHt696Im|gGGHnH1D6h=xTR?%@uF|VFt zyM2?l(XsObq-xH&1+Qq8?1DwYh4qBntWxQqTO6no8x@ghtA85Ba+e}!Op2@!>M{zh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{%=HzVSwhr5^tbC@2hC5{I5NBC`*{Mn{YM5Z;kKEhqw(>ww zwyUkhnjDTUZte5u7)PevYF$}#TCE{#pQ~Zgz{UWWPtcV9U?ggoGO#IF{uFVRGLo5h z|LvBBd*_91`<$t#;yxWm1n;L~gW&xcLN-(1;+2XAm}bO|DE4sz%;csI=ZXgSGbuQ; z&DJL|>J6sPbd3C?O#^lV58?|tj^d%&BSmG+*YdDq7`D#I0m;X2jZiI`$a& zD!wMWUniziR`AAUj`7TyGw@A(OSZlp*imqKImg(- zIL{EHDt=5fDR)=JAOEOc?1}D*RCo*-c%OvV}5+BaX#OiqJtcn#B0jzm`W zon3eaRYv605vYtD!BYN15B-Y*6E864gi~8lA*}I-Wm; zYe@OR9oe&{aP43$8sj&Wh$)IPiI>#zipG9#_H5ZtM7bA@lOjZLJq5g~E0!^16L?M5 zjQNDISS+QHE~-r7hQXz{DKd%I&&XUxmN#_8GiH1Osu@qesgAd1&A4zC zM8-@^;B96i{SKd;4v}12NPY{YzpG2lnCb-HlS#iXmO8;y>-b!)yZFdI$jllV$k!c3&BI=*oT%lNe3e@bSBOm8pRItN602@$x;9qNab4{?T3d#U1!v9e+;$wT^$Dr=6%B!b+c;DfS=9vxns( z42NaoQ6l%4tc3RJ3c8YJ@;)VUh`N%8VN5BJK{Gk2#Kg-0w>w~{O^>naiOMmSc)|zp z5k=v<$|- +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/registerV.java b/registerV.java new file mode 100644 index 0000000..55044ea --- /dev/null +++ b/registerV.java @@ -0,0 +1,62 @@ +import javax.swing.*; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.sql.Connection; +import java.sql.PreparedStatement; +import java.sql.SQLException; + +public class registerV { + private JTextField nombreText; + private JLabel nombreLabel; + private JTextField emailText; + private JPasswordField contrasena1; + private JButton registrarseButton; + private JPanel panelPrincipal; + + + public JPanel getPanel() { + return panelPrincipal; + } + public registerV(){ + registrarseButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + String nombre = nombreText.getText(); + String email = emailText.getText(); + String contrasena = String.valueOf(contrasena1.getPassword()); + + try (Connection conexion = ConexionBD.getConnection()) { + String consulta = "INSERT INTO usuarios (nombre, email, contrasena) VALUES (?, ?, ?)"; + try (PreparedStatement statement = conexion.prepareStatement(consulta)) { + statement.setString(1, nombre); + statement.setString(2, email); + statement.setString(3, contrasena); + int filasAfectadas = statement.executeUpdate(); + if (filasAfectadas > 0) { + JOptionPane.showMessageDialog(null, "Usuario registrado exitosamente"); + + // Obtener el JFrame actual y cerrarlo + JFrame frame = (JFrame) SwingUtilities.getWindowAncestor(panelPrincipal); + frame.dispose(); + + // Mostrar el panel de inicio de sesión + JFrame loginFrame = new JFrame("Inicio de Sesión"); + loginFrame.setContentPane(new ventana1().panel); + loginFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + loginFrame.pack(); + loginFrame.setVisible(true); + } else { + JOptionPane.showMessageDialog(null, "Error al registrar usuario"); + } + } + } catch (SQLException ex) { + ex.printStackTrace(); + JOptionPane.showMessageDialog(null, "Error de conexión a la base de datos"); + } + } + }); + } + + + +} diff --git a/ventana1.form b/ventana1.form index 8407a8a..9535b3c 100644 --- a/ventana1.form +++ b/ventana1.form @@ -1,80 +1,65 @@
- + - + - + + + + + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - - + - + - + - - + + + + + + - + - - - - - - + + + + + + + + @@ -83,6 +68,23 @@ + + + + + + + + + + + + + + + + + @@ -99,6 +101,14 @@ + + + + + + + + diff --git a/ventana1.java b/ventana1.java index 8ffe435..8bfe28d 100644 --- a/ventana1.java +++ b/ventana1.java @@ -11,6 +11,7 @@ public class ventana1 { private JLabel usuarioLabel; private JLabel contrasenaLabel; private JLabel inicioText; + private JLabel nombre; public ventana1() { iniciarBoton.addActionListener(new ActionListener() { @@ -30,15 +31,23 @@ public class ventana1 { } } }); - } - public static void main(String[] args) { - SwingUtilities.invokeLater(() -> { - JFrame frame = new JFrame("Login"); - frame.setContentPane(new ventana1().panel); - frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - frame.pack(); - frame.setVisible(true); + registerBoton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + // Cerrar el JFrame actual (ventana1) + JFrame frame = (JFrame) SwingUtilities.getWindowAncestor(panel); + frame.dispose(); + + // Abrir la ventana de registro + JFrame registerFrame = new JFrame("Registro de Usuario"); + registerFrame.setContentPane(new registerV().getPanel()); + registerFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); + registerFrame.pack(); + registerFrame.setVisible(true); + } }); } + + }