public class ServerLoginScreen
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private javax.swing.JButton |
cancel
Jbuttons for conenct and cancel.
|
private javax.swing.JButton |
connect
Jbuttons for conenct and cancel.
|
private javax.swing.JFrame |
frame
The frame for the NetPuzlGUI
|
private HeinekenTextField |
name
The name and the the port to connect to
|
private HeinekenPanel |
panel
The panel for the NetPuzlGUI
|
private HeinekenTextField |
port
The name and the the port to connect to
|
private javax.swing.JLabel |
portNumber
The port number to connect to the NetPuzlServer
|
private javax.swing.JLabel |
serverName
The port number to connect to the NetPuzlServer
|
Constructor and Description |
---|
ServerLoginScreen()
Instantiates a new server login screen.
|
ServerLoginScreen(Gui gui)
Instantiates a new server login screen.
|
Modifier and Type | Method and Description |
---|---|
private void |
buildButtons()
Builds the buttons.
|
protected void |
killWindow()
Kills this window
|
private javax.swing.JFrame frame
private HeinekenPanel panel
private javax.swing.JLabel serverName
private javax.swing.JLabel portNumber
private HeinekenTextField name
private HeinekenTextField port
private javax.swing.JButton connect
private javax.swing.JButton cancel
public ServerLoginScreen()
public ServerLoginScreen(Gui gui)
gui
- the NetPuzl GUI