Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a737ae1 commit 6ccd9baCopy full SHA for 6ccd9ba
Main.java
@@ -7,7 +7,7 @@ public class Main implements ActionListener
7
public static void main(String []args)
8
{
9
Window root = new Window();
10
- root.btn_server_init.addActionListener(new Main());
+ root.btn_server_start.addActionListener(new Main());
11
root.btn_server_stop.addActionListener(new Main());
12
myThread = new ThreadServer(root);
13
}
@@ -16,12 +16,12 @@ public void actionPerformed(ActionEvent e)
16
17
if(e.getActionCommand().equals("start"))
18
19
- System.out.println("Iniciando el servidor");
+ System.out.println("Iniciando el Cliente");
20
myThread.start();
21
22
else if(e.getActionCommand().equals("stop"))
23
24
- System.out.println("Parando el servidor");
+ System.out.println("Finalizando el Cliente");
25
myThread.terminate();
26
27
0 commit comments