Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ccd9ba

Browse files
committed
Actualización de seguridad
1 parent a737ae1 commit 6ccd9ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Main.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class Main implements ActionListener
77
public static void main(String []args)
88
{
99
Window root = new Window();
10-
root.btn_server_init.addActionListener(new Main());
10+
root.btn_server_start.addActionListener(new Main());
1111
root.btn_server_stop.addActionListener(new Main());
1212
myThread = new ThreadServer(root);
1313
}
@@ -16,12 +16,12 @@ public void actionPerformed(ActionEvent e)
1616
{
1717
if(e.getActionCommand().equals("start"))
1818
{
19-
System.out.println("Iniciando el servidor");
19+
System.out.println("Iniciando el Cliente");
2020
myThread.start();
2121
}
2222
else if(e.getActionCommand().equals("stop"))
2323
{
24-
System.out.println("Parando el servidor");
24+
System.out.println("Finalizando el Cliente");
2525
myThread.terminate();
2626

2727
}

0 commit comments

Comments
 (0)