Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kyrre
authored and
Kyrre
committed
Oct 10, 2012
1 parent
5ed1169
commit c2ed6c7
Showing
6 changed files
with
44 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,39 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package client; | ||
|
||
import gui.Hub; | ||
import gui.Login; | ||
|
||
import javax.swing.SwingUtilities; | ||
|
||
/** | ||
* | ||
* @author Kyrre | ||
*/ | ||
public class Client { | ||
|
||
|
||
public static Login login = new Login(); | ||
public static Hub hub = new Hub(); | ||
public static SocketClient sockCli; | ||
|
||
public static void main(String[] args) { | ||
|
||
sockCli = new SocketClient("localhost", 6667); | ||
sockCli.run(); | ||
SwingUtilities.invokeLater(new Runnable() { | ||
|
||
@Override | ||
public void run() { | ||
login.setVisible(true); | ||
|
||
} | ||
}); | ||
|
||
//sockCli.close(); | ||
|
||
} | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters