From 94828e3c7d7a15d20bced0c1e3c43528ba69846c Mon Sep 17 00:00:00 2001 From: Roberto Date: Sun, 10 Mar 2024 23:31:33 -0600 Subject: [PATCH] Avance4.3 --- .idea/mezontleTeam.iml | 2 +- Main.java | 6 +++ .../mezontleTeam/.idea/mezontleTeam.iml | 2 +- out/production/mezontleTeam/.idea/modules.xml | 1 - out/production/mezontleTeam/Main.class | Bin 1373 -> 1768 bytes out/production/mezontleTeam/registerV.class | Bin 2108 -> 4009 bytes out/production/mezontleTeam/ventana1$1.class | Bin 1428 -> 2012 bytes out/production/mezontleTeam/ventana1$2.class | Bin 1246 -> 1246 bytes out/production/mezontleTeam/ventana1.class | Bin 4482 -> 4829 bytes registerV.form | 40 ++++++++++++++---- ventana1.form | 16 +++++-- ventana1.java | 8 +++- ventana2.form | 5 ++- ventana2.java | 4 ++ 14 files changed, 65 insertions(+), 19 deletions(-) diff --git a/.idea/mezontleTeam.iml b/.idea/mezontleTeam.iml index b9f5507..8d579e1 100644 --- a/.idea/mezontleTeam.iml +++ b/.idea/mezontleTeam.iml @@ -10,7 +10,7 @@ - + diff --git a/Main.java b/Main.java index b5bf9c6..c1220d3 100644 --- a/Main.java +++ b/Main.java @@ -1,4 +1,5 @@ import javax.swing.*; +import java.awt.*; public class Main { public static void main(String[] args) { @@ -6,6 +7,11 @@ public class Main { JFrame frame = new JFrame("Login"); frame.setContentPane(new ventana1().panel); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + Dimension pantalla = Toolkit.getDefaultToolkit().getScreenSize(); + int height = pantalla.height; + int width = pantalla.width; + frame.setSize(width/2, height/2); + frame.setLocationRelativeTo(null); frame.pack(); frame.setVisible(true); }); diff --git a/out/production/mezontleTeam/.idea/mezontleTeam.iml b/out/production/mezontleTeam/.idea/mezontleTeam.iml index b9f5507..8d579e1 100644 --- a/out/production/mezontleTeam/.idea/mezontleTeam.iml +++ b/out/production/mezontleTeam/.idea/mezontleTeam.iml @@ -10,7 +10,7 @@ - + diff --git a/out/production/mezontleTeam/.idea/modules.xml b/out/production/mezontleTeam/.idea/modules.xml index 89fcb21..19d570b 100644 --- a/out/production/mezontleTeam/.idea/modules.xml +++ b/out/production/mezontleTeam/.idea/modules.xml @@ -2,7 +2,6 @@ - diff --git a/out/production/mezontleTeam/Main.class b/out/production/mezontleTeam/Main.class index 1bc14d206c358c423fecc5fec353ff8508d0ea2a..5fa310e8846419206032f294e7cac8042f7c16e5 100644 GIT binary patch delta 821 zcmZ9K+fEZv6o$Xu!wd|AoKMQZ1dQ#Vt%3?#!2<|Z>Io3V^H>I27+N9~j2HF|OiZ7I zKw1Kcw;JEUd!NF%hLYBJF>CGp?|=R4Uwig1<9EIB^UuLI;1=sU#ut?j5!SIx205o_ zT(!6CsJ)$w&S$gkS~{m_T5)od&a(Z%%~i10P&n~FGiDGXViM(oqF##TlJ6ZSGnfA4 zDBAxmm`txbnay-I6RTw?&#=xVlgnIDG*?6`9EFy0(km%(qT<45)a0ti4Q{8Gaw&r* zVkXxaQ|O!0^r&4h6px1&yt5l7H@T%~le0uNY3HQvtm8`Fa^|y&j-gO>l8Nm4MmFPQ zazdA*qW2hT$;a`@4+B3kHk!m4 z*+nHQ$w8}x+L48ighcNc0^FBqmI*xIq3mjT#A89c;t|Onul4{P_Nl817)RYSYG^Kt z#(-xn`*%<5rQ|R-nk8s)q=5BCBJFi_XvDyhoM;0)}O#2=$C|f-xH86*n>^ zf5w~E5-*0JPgs!M0R24WnK%v8>pd?SD?*p|c;q7eEDFcRb6!aH?&+;yFL@>3iXes{ JDOPdm`U}7?m>2*6 delta 367 zcmYL@xlTes6o$Xc-DJF|gv5nNVWBJv;)*-szGFpUr{)$!3JvzYfz3P#YAB5H0elBz z>r)ud+(L^vGv`0w{Qvn*d@A+v^ZE|dIPa)OtDGbkkjJxdZZEHI6iFrnrYKsdc6i@t zwwqV2P^P(ye8Xp2f5o2li(MYADN1YwEaUZi>?n5G^VttL;PA;wSYxW03SblvH* zea>{%Ev8DuBphrkTs)~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;*A5bx1MLw z*aq9i)m@~&B9oG0QWM#IWQx&|9gL>rn7ogCaR>LdaleTNFCaNk->f{IgSbv z@QCJH8>LE9xI~yurg9{6=*e#i|6`ZK#Tt2wko_tt1=?($);%hu2h&)`21L|I(+1%X l6$QP)wJ8ytcuBZ`S9ndMNdH(EZvvzhZ)sF1uit(;egf0m!>RxP delta 330 zcmX|-O-chn5QV>pVt;v%|mF(PD8WBmV%e=+LHr6=$Rx^ye;9b5-oh+q!j z89Yny%?LK#uc}_Xst5g3d5xp*(dQ7@<8}}|JMI|kw(TvMw!QbhY|no%mv-piO>bb5 z1fM`!M=xemv18Mq(cMxVV1yHF3#ST2#16ZvAS&jJJiwRiDUo=e17SzhyX3xNW?zEl zr4AgPSE#?V@ld`T+XNCo4S)@U#PD@p8-TK?~Z=G?-k$hs7Ip#!8 yb>`?Qb2U-plruceHCe$Kk%k$~FuxbR_?~!&EBcBaWlCHZOqmpT&7|a-C7|a>87%Uj{87zS!RzQ~Z{E7yuO~ B3331c diff --git a/out/production/mezontleTeam/ventana1.class b/out/production/mezontleTeam/ventana1.class index d4d5065b98f83f523a292f6b01f763ca3b5283a5..9cbf33f4b49dbad47b69d2d457c9ab29cc9be6a1 100644 GIT binary patch literal 4829 zcma)9349z?8UMfRF_Xz`ve~r2&{h^GknYlKTPk1*)HH3{tw~z5Z6Q_A$!18WY<9x# zETxDyo_OJbRJ^Zxp@3uqL_w$mqNw17_kG}f3rZXR@69IJZS(8T`6ct_z4yKUcYoj8 zhmYKS4}c!A*gz9P8p0+bhzi8_+E>|`f?XWTY#Z6@t2)cgwz0bV>rJbt=vod!L_i zBw(hIg4j|C%f!i2gILKKlV=0DH7u={Z;gQ^hzmp}?4nZ;Sk$Q0cDcHaR;ZLKcFFZf zaZ)424(DpW&vgo;q-x1~MZaX1ouW;`rHzE!?Q(gaR~nrqZdDw&m)v6BosjfqjYq#d zvVbINl|0(!dDI9EKI)UD!o! z7D+GXB9oaDSpDev^T@>Fcrab40)RCUlP`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@8$u@TK0we?EygHi+Vr zGhg6x<~vr-ED$-fBgmNrCud%Aa%Q9A90ZFKA&zZaT`$+benW$C;Q*#Y_3HOK``aV2Z;sEa!29c<%YC0*gsGllDJ6 zjy2gaJR==XjN;0~I6AYD=Fm8<&T9OP;h7B$fxsBL%Sa^xWo#A0_C&CZUE|1-ad%H* z**NxOBU)oH7zjo}K}Au<@Vqi|6@uQxa!H^D&L^-b;f9W2+zgIlZ(IpRA|^%W%NXux zG#ej*ZU)W9GCVUFJy6Esgc%f~g8T*etI;%zf?m)OikqQP%risL7nSkSgh@YWnJ&nK zp;~fZuWAz9o3rsUUKxFL8E+iJo6C5+sYY*?x_G!J+ZfQM>hhVjxT%feNIZH+Ff!ZJ zDpog{O~Pu;Y!X&$1na$W{D2&{n_BckQnn^!2LvMZe)zKWxT%lg!=@hnh@{q~C3GXA zO-J4wkAAG7!ECPBV3>xmq1iNq4b9O{NEyu%i>C9TyNl3$sv{gX!=pH!FvEf_By};G z0c9L_XJ_KJhB1^U;_6%35;t2$agW&&y;o{z5uEBYR^CSqpXrzpH)o9EfrL3j&}kRe z;Kwr(HzT7^%}De?8PACHK^RvTPf-U7&T&j5a1M7Oq(W1%MnzWsu|=K&&qtx3f1qNP z3R3t)XK~BKDx%C( z7F8DC7E;vcccZu8gCC#3FU$B{^bckHWsNpRJA#FhTP@@7CWptxAQ+B{gC`k>e~O)& zvoikE!K8fBD*gh8li~U4=lNV+--|eL_*VR@umjZTP&+ zfQD}V@%$Y7(o~k<#Hn(QVlQ}nK6m3Jw{jM1gk8#Y9L}JH<7WONfR(gA$_^doEPf08 R3GJL4ki-hkA$~1D_+s diff --git a/registerV.form b/registerV.form index f306805..81d4178 100644 --- a/registerV.form +++ b/registerV.form @@ -1,16 +1,18 @@
- + - + + + - + @@ -18,7 +20,7 @@ - + @@ -26,7 +28,7 @@ - + @@ -34,7 +36,7 @@ - + @@ -42,7 +44,7 @@ - + @@ -50,7 +52,7 @@ - + @@ -58,12 +60,32 @@ - + + + + + + + + + + + + + + + + + + + + + diff --git a/ventana1.form b/ventana1.form index 9535b3c..9de00dc 100644 --- a/ventana1.form +++ b/ventana1.form @@ -6,6 +6,8 @@ + + @@ -27,7 +29,7 @@ - + @@ -36,6 +38,8 @@ + + @@ -57,7 +61,7 @@ - + @@ -65,7 +69,8 @@ - + + @@ -90,7 +95,8 @@ - + + @@ -106,6 +112,8 @@ + + diff --git a/ventana1.java b/ventana1.java index 036c491..7a0c52a 100644 --- a/ventana1.java +++ b/ventana1.java @@ -1,9 +1,10 @@ import javax.swing.*; +import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class ventana1 { - JPanel panel,panel2; + JPanel panel; private JTextField usuariol; private JButton iniciarBoton; private JButton registerBoton; @@ -54,6 +55,11 @@ public class ventana1 { JFrame registerFrame = new JFrame("Registro de Usuario"); registerFrame.setContentPane(new registerV().getPanel()); registerFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); + Dimension pantalla = Toolkit.getDefaultToolkit().getScreenSize(); + int height = pantalla.height; + int width = pantalla.width; + frame.setSize(width/2, height/2); + frame.setLocationRelativeTo(null); registerFrame.pack(); registerFrame.setVisible(true); } diff --git a/ventana2.form b/ventana2.form index 73601a9..dba8edc 100644 --- a/ventana2.form +++ b/ventana2.form @@ -1,6 +1,6 @@
- + @@ -8,7 +8,7 @@ - + @@ -35,6 +35,7 @@ + diff --git a/ventana2.java b/ventana2.java index c9cb1f5..53aeb4c 100644 --- a/ventana2.java +++ b/ventana2.java @@ -12,4 +12,8 @@ public class ventana2 { private JButton button5; private JButton button6; private JScrollBar scrollBar1; + + public ventana2 (){ + + } }