From 6aaa8472ca1473364e65ea43efa80b7bcd50b0a3 Mon Sep 17 00:00:00 2001 From: OmarVX Date: Sat, 9 Mar 2024 21:34:05 -0600 Subject: [PATCH 1/6] Interfaz Boletos teatro --- .idea/modules.xml | 1 + Boletos Teatro/Boletos Teatro.iml | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 Boletos Teatro/Boletos Teatro.iml diff --git a/.idea/modules.xml b/.idea/modules.xml index 19d570b..89fcb21 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,6 +2,7 @@ + diff --git a/Boletos Teatro/Boletos Teatro.iml b/Boletos Teatro/Boletos Teatro.iml new file mode 100644 index 0000000..9c8aa59 --- /dev/null +++ b/Boletos Teatro/Boletos Teatro.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file From 70eaa213e38b06b59678218e8dee077763939b8e Mon Sep 17 00:00:00 2001 From: OmarVX Date: Sat, 9 Mar 2024 21:51:57 -0600 Subject: [PATCH 2/6] Interfaz Boletos --- .../Boletos interfaz/TeatroGUI.java | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 out/production/Boletos Teatro/Boletos interfaz/TeatroGUI.java diff --git a/out/production/Boletos Teatro/Boletos interfaz/TeatroGUI.java b/out/production/Boletos Teatro/Boletos interfaz/TeatroGUI.java new file mode 100644 index 0000000..d90a6c5 --- /dev/null +++ b/out/production/Boletos Teatro/Boletos interfaz/TeatroGUI.java @@ -0,0 +1,115 @@ +/* +Interfaz de compra de boletos aún por trabajar +El botón CONTINUAR llevaría a la interfaz de pago con tarjeta :) +*/ + +import javax.swing.*; +import java.awt.*; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.util.HashMap; +import java.util.Map; + +public class TeatroGUI extends JFrame { + private JLabel titleLabel; + private JLabel priceLabel; + private JPanel ticketPanel; + private Map selectedTickets; + private JTextArea ticketListTextArea; + private JButton continuarButton; + + + private static final double VIP_ZONE = 100.0; + private static final double PREFERENCIAL_ZONE = 80.0; + private static final double STANDAR_ZONE = 60.0; + + public TeatroGUI() { + setTitle("Compra de Boletos Ticketmania"); + setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + setSize(500, 700); + setLayout(new FlowLayout(FlowLayout.CENTER)); + + + titleLabel = new JLabel("Seleccione el tipo de boleto para las zonas:"); + add(titleLabel); + + priceLabel = new JLabel("Precios: VIP $" + VIP_ZONE + " | Preferencial $" + PREFERENCIAL_ZONE + " | Estándar $" + STANDAR_ZONE); + add(priceLabel); + + selectedTickets = new HashMap<>(); + + ticketPanel = new JPanel(new GridLayout(3, 2)); + addTicketOption("VIP "); + addTicketOption("Preferencial "); + addTicketOption("Estándar "); + add(ticketPanel); + continuarButton = new JButton("Continuar"); + + ticketListTextArea = new JTextArea(30, 30); + ticketListTextArea.setEditable(false); + add(ticketListTextArea); + add(continuarButton); + + setVisible(true); + } + + private void addTicketOption(String ticketType) { + JLabel label = new JLabel(ticketType); + ticketPanel.add(label); + + JButton plusButton = new JButton("+"); + plusButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + selectedTickets.put(ticketType, selectedTickets.getOrDefault(ticketType, 0) + 1); + updateTicketList(); + } + }); + ticketPanel.add(plusButton); + + JButton minusButton = new JButton("-"); + minusButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + int currentCount = selectedTickets.getOrDefault(ticketType, 0); + if (currentCount > 0) { + selectedTickets.put(ticketType, currentCount - 1); + updateTicketList(); + } + } + }); + + + ticketPanel.add(minusButton); + } + + private void updateTicketList() { + StringBuilder sb = new StringBuilder(); + double totalPrice = 0.0; + for (Map.Entry entry : selectedTickets.entrySet()) { + String ticketType = entry.getKey(); + int quantity = entry.getValue(); + double price = 0.0; + switch (ticketType) { + case "VIP ": + price = VIP_ZONE; + break; + case "Preferencial ": + price = PREFERENCIAL_ZONE; + break; + case "Estándar ": + price = STANDAR_ZONE; + break; + } + totalPrice += price * quantity; + sb.append(ticketType).append(": ").append(quantity).append(" boletos\n"); + } + sb.append("Total: $").append(totalPrice).append("\n"); + //JTextArea ticketListTextArea = (JTextArea) getContentPane().getComponent(4); + ticketListTextArea.setText(sb.toString()); + } + + public static void main(String[] args) { + new TeatroGUI(); + } +} \ No newline at end of file From ffb81d77dccb4852097ded3ebcebda39c85139a1 Mon Sep 17 00:00:00 2001 From: "edgar.juarez" Date: Sun, 10 Mar 2024 18:17:00 -0600 Subject: [PATCH 3/6] avance3 --- .idea/dataSources.xml | 1 + .idea/modules.xml | 1 - Boletos Teatro/Boletos Teatro.iml | 11 ----------- .../TeatroGUI.java => TeatroGUI.java | 0 .../mezontleTeam/.idea/dataSources.xml | 14 ++++++++++++++ out/production/mezontleTeam/.idea/modules.xml | 1 + out/production/mezontleTeam/TeatroGUI$1.class | Bin 0 -> 1145 bytes out/production/mezontleTeam/TeatroGUI$2.class | Bin 0 -> 1216 bytes out/production/mezontleTeam/TeatroGUI.class | Bin 0 -> 3969 bytes 9 files changed, 16 insertions(+), 12 deletions(-) delete mode 100644 Boletos Teatro/Boletos Teatro.iml rename out/production/Boletos Teatro/Boletos interfaz/TeatroGUI.java => TeatroGUI.java (100%) create mode 100644 out/production/mezontleTeam/TeatroGUI$1.class create mode 100644 out/production/mezontleTeam/TeatroGUI$2.class create mode 100644 out/production/mezontleTeam/TeatroGUI.class diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 6d3d9d1..7b5a2a2 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -22,6 +22,7 @@ + $ProjectFileDir$ diff --git a/.idea/modules.xml b/.idea/modules.xml index 89fcb21..19d570b 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,6 @@ - diff --git a/Boletos Teatro/Boletos Teatro.iml b/Boletos Teatro/Boletos Teatro.iml deleted file mode 100644 index 9c8aa59..0000000 --- a/Boletos Teatro/Boletos Teatro.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/out/production/Boletos Teatro/Boletos interfaz/TeatroGUI.java b/TeatroGUI.java similarity index 100% rename from out/production/Boletos Teatro/Boletos interfaz/TeatroGUI.java rename to TeatroGUI.java diff --git a/out/production/mezontleTeam/.idea/dataSources.xml b/out/production/mezontleTeam/.idea/dataSources.xml index 4657635..7b5a2a2 100644 --- a/out/production/mezontleTeam/.idea/dataSources.xml +++ b/out/production/mezontleTeam/.idea/dataSources.xml @@ -9,6 +9,20 @@ + + + + $ProjectFileDir$ + + + mysql.8 + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://localhost:3306 + + + + $ProjectFileDir$ diff --git a/out/production/mezontleTeam/.idea/modules.xml b/out/production/mezontleTeam/.idea/modules.xml index 19d570b..89fcb21 100644 --- a/out/production/mezontleTeam/.idea/modules.xml +++ b/out/production/mezontleTeam/.idea/modules.xml @@ -2,6 +2,7 @@ + diff --git a/out/production/mezontleTeam/TeatroGUI$1.class b/out/production/mezontleTeam/TeatroGUI$1.class new file mode 100644 index 0000000000000000000000000000000000000000..f34c371d5b6baf0c385fd370e7affc2af550f052 GIT binary patch literal 1145 zcmZvbT~pIQ6o%hzDxoE`r3#{gpjK@QQt-1HM6jZErch?6_12|bN-!jyWP{_Kf5{oZ zj|<0Zf0X0dw9t%tk(G-w)8BgVR7c7{ z8X1Pnz@fggFItjhmMzDUD-2q`&`cnU^ExgV7{>%d;!Kz!?F*X%M7t3x`ef%K9rZUz-+kT$nuQgb(i+;iJo+~WsA3Xfb8 z+g8WnGVoM#9&&97Z`bt>M4MrzU%tQ5*VQph#lXj)=aqbwbIDZVi_yr@ML&qf=hbRs36nANy z=m+1!eOjqBDkZ}MnkOjlr%b5xkd`rIXyXyeG%6iQu1dLFJOVqy82$9fRQrmH-!QG= zCnisDBmOR2-`4O}Ih~+507`|ttCV$(@;{G&m2nDI#$!AowQ@4J43c=sMzdT3Y6TkX!E>f}yv(&yRS{=1x6Vm7e9)^GO)! z)X`<28!3j=g+pa$Uzn0)7A(h-iws(3VmpCeT-I^LKp*-U66eAU-M+BtfT(SSiauGI za)Gq$+&XWN)&Q>QxNcw&Lkv9^S|vw{y6_luLJmY_m!UsXnuy@GJn|j5fe{^}2F7rc zp)-terodp-g{*kXVwVRtvCn5BA(|J;|7(frw44-b+Q2Q`W@xt@xvj9m6qFP}#=wM< z*BXILQc5NbOoizS8Z|COGXrJImpY~yhC@jHR_4T!aAa=Dl$PtLZQ-a(k7gnTjNr9O zG_lPPFS<3-?=D-8*a!}Hgtx_a?69P+$?a|KS!&%f##LufaxTKAXY*9tbs_iM+9vn- zp^(BOmqgX7J6r~y3eH2WP2ugj-l3>5jI`4CH~NaYMqY6-Iyclr{=XBI#0)%-{EKej zP)S&cz^am)2hPB7XJvFWJMqDe7X}dmkYm?u=a}*VBt<`FkhRP>H zU$okh9H7KxQkdSrQQrcGd(qWeKGoXBL@vL^i@<3 zQCYH+Ct%sB6X@B`==c;m-lMUN!T@WSrLn(t_&y%cN`+A&86MJig5thUg*tPzj3GrE zk1$W8()oaRsI!}^_L5w4h1!61ESpxrs0(Br3X%)j$Jfk^I UO}~WY(9(+)nv--=<&1uR03|yTumAu6 literal 0 HcmV?d00001 diff --git a/out/production/mezontleTeam/TeatroGUI.class b/out/production/mezontleTeam/TeatroGUI.class new file mode 100644 index 0000000000000000000000000000000000000000..7344eddb5c5b35dfc89149f47211cc76f8303ada GIT binary patch literal 3969 zcma)9d2kcg8UL*|n=^3@KSli@jK03GK=p zrA?c*IhwZgpa;FvBV=gOG;J)0I8B?@YZ&xxl&SYw$ec$`8 z_ucR1xtE@J3P3ylp`Z-qGCV3O;FSN(9eGNuGi zW6b5PRk0Lx5@hoB8>gwaqA^CAjO7xRI0tAa?AESy=0vx4DwDSrEJMBUHXx2#sp2}U zqKy=H=@M2H4HI%Mu17PqQ9VcVWQ48_Qnxmur+ru}VMD*3){{vZsE71)$TqSW5up($ zLZPh2fTcAnbUI^dRz$&SGzdEuSJIC4Dqf9735qR(jY>v8xA%qtPZPa#s=m? zOQj@)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8^Ufo&~fwy5VS8c*(S)~R8aGYjHB)F02RaMb8xHJuzTM(W$@ZdTJQ3)d#=$A{Q+6m(y{dZE zG!j!7CeLtr0k0Lz!wxfneh2UrF!HDqgzxY>j5>bn>Fx@KcqOX%LJeXS)-mK;uoh7? zU>|okGwg@age=0GAI&&}4Y(66xDOjStvBHU)A0x;9>-QZjcrUr8@@};sv9I(C$f#am`DmI#x2tbhqYZ<(bZCq3c`dS+lb z9Qh(gkPhlYS3O+Mq5$EgS-OK> z{>ss~^)lDBt5+m;a@~FG%Jcu?x+SQHs`=!3tS@i#UqFa^)(`h}9Le!77uLqk-ruXiq%((i`#vT%Y94byT_BU<{&%Zp}^<)S;~g^ zLSTx}(1j~&n*-B?8Vk4-U}rou!~hI87w}X8UlnQbKos77CIh@)e7Kc`mtYAEGdYKt zj>CMg-o`uU2>bDNcI605C&}>Z_&HyBFT%jTaSZ>(xa7x#R0q>Z-9C2c4m{~3%u6i~ z<7ecTsp}$Mpe7$rcox6FFGY%_WyKWxq$>Ohzh;URX%T)yzB2rlc8Rie`F}_L7m3*g zC{T_+^IL|$;ICZ0ge(T-Z-nbf8{;beEO+5! K>NNiDt^6NfGU3+% literal 0 HcmV?d00001 From 70f60810d027800b5225d87120adba1c1adebb78 Mon Sep 17 00:00:00 2001 From: Roberto Date: Sun, 10 Mar 2024 21:59:19 -0600 Subject: [PATCH 4/6] Avance4 --- ventana1.java | 11 ++++ ventana2.form | 155 ++++++++++++++++++++++++++++++++++++++++++++++++++ ventana2.java | 15 +++++ 3 files changed, 181 insertions(+) create mode 100644 ventana2.form create mode 100644 ventana2.java diff --git a/ventana1.java b/ventana1.java index 8bfe28d..b1cadfb 100644 --- a/ventana1.java +++ b/ventana1.java @@ -8,6 +8,7 @@ public class ventana1 { private JButton iniciarBoton; private JButton registerBoton; private JPasswordField contrasenal; + private JPanel panelPrincipal; private JLabel usuarioLabel; private JLabel contrasenaLabel; private JLabel inicioText; @@ -26,6 +27,16 @@ public class ventana1 { if (user != null) { JOptionPane.showMessageDialog(null, "Inicio de sesión exitoso"); // Aquí puedes realizar otras acciones después de iniciar sesión correctamente + // Obtener el JFrame actual y cerrarlo + JFrame frame = (JFrame) SwingUtilities.getWindowAncestor(panel); + frame.dispose(); + + // Mostrar el panel de inicio de sesión + JFrame principalFrame = new JFrame("Principal"); + principalFrame.setContentPane(new ventana2().panel); + principalFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + principalFrame.pack(); + principalFrame.setVisible(true); } else { JOptionPane.showMessageDialog(null, "Usuario o contraseña incorrectos"); } diff --git a/ventana2.form b/ventana2.form new file mode 100644 index 0000000..73601a9 --- /dev/null +++ b/ventana2.form @@ -0,0 +1,155 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ventana2.java b/ventana2.java new file mode 100644 index 0000000..b1a2c35 --- /dev/null +++ b/ventana2.java @@ -0,0 +1,15 @@ +import javax.swing.*; + +public class ventana2 { + JPanel panel; + private JButton comprarBoletosButton; + private JButton carteleraButton; + private JButton cerrarSesiónButton; + private JButton button1; + private JButton button2; + private JButton button3; + private JButton button4; + private JButton button5; + private JButton button6; + private JScrollBar scrollBar1; +} From e391fe69c2028c0d32c32a89cbc92919f0626165 Mon Sep 17 00:00:00 2001 From: Roberto Date: Sun, 10 Mar 2024 22:25:41 -0600 Subject: [PATCH 5/6] Avance4.2 --- ventana1.java | 4 ++-- ventana2.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ventana1.java b/ventana1.java index b1cadfb..036c491 100644 --- a/ventana1.java +++ b/ventana1.java @@ -3,7 +3,7 @@ import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class ventana1 { - JPanel panel; + JPanel panel,panel2; private JTextField usuariol; private JButton iniciarBoton; private JButton registerBoton; @@ -33,7 +33,7 @@ public class ventana1 { // Mostrar el panel de inicio de sesión JFrame principalFrame = new JFrame("Principal"); - principalFrame.setContentPane(new ventana2().panel); + principalFrame.setContentPane(new ventana2().panelV2); principalFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); principalFrame.pack(); principalFrame.setVisible(true); diff --git a/ventana2.java b/ventana2.java index b1a2c35..c9cb1f5 100644 --- a/ventana2.java +++ b/ventana2.java @@ -1,7 +1,7 @@ import javax.swing.*; public class ventana2 { - JPanel panel; + JPanel panelV2; private JButton comprarBoletosButton; private JButton carteleraButton; private JButton cerrarSesiónButton; From 94828e3c7d7a15d20bced0c1e3c43528ba69846c Mon Sep 17 00:00:00 2001 From: Roberto Date: Sun, 10 Mar 2024 23:31:33 -0600 Subject: [PATCH 6/6] 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`*%<5r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(LLNo{-;BmvWlFtvD_t)IDA5|KPSGxVp{t7=goeg&F^m z!Zo;&-`Z9i2}X6#{M+4@aXYSQb2G*Rhnvc6{o7rTC0*CDxfLVJt$a8^%B9Hk ZRIcXNlwSdU>!a`0 zZ}6EJrZ9kx&whhH;7>5_1TQ$|vQN%BYwfewPVyo0y-odgxc3D>2K6oVy-*LM71uOe zM~Xpmb=$BQPL8kW8~SF_tC@B=nVa;{w2B+JsbEmU5Ns)7CiNOmW}S-b*oMv1^~7KFNRd`>n<08UeQuq}SbIAp$n*&abVsm6 zqtPge-J{Dim%%7TQKr}#FjPE;Ni#qVbPOx>ED`NpJCRpmQ8WP7j}R1E;*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*)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WsNpRJA#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 (){ + + } }