|
@ -0,0 +1,34 @@ |
|
|
|
|
|
package ui; |
|
|
|
|
|
|
|
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JButton; |
|
|
|
|
|
import javax.swing.JFrame; |
|
|
|
|
|
import javax.swing.JLabel; |
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
import javax.swing.JTextField; |
|
|
|
|
|
|
|
|
|
|
|
public class LoginWIndow implements ActionListener { |
|
|
|
|
|
JPanel panel = new JPanel(); |
|
|
|
|
|
JFrame frame = new JFrame(); |
|
|
|
|
|
JLabel labelLogin = new JLabel("login"); |
|
|
|
|
|
JTextField textLogin = new JTextField(null, 20); |
|
|
|
|
|
JLabel labelPasswort = new JLabel("passwort"); |
|
|
|
|
|
JTextField textPasswort = new JTextField(null, 20); |
|
|
|
|
|
JButton button = new JButton(); |
|
|
|
|
|
|
|
|
|
|
|
public LoginWIndow() { |
|
|
|
|
|
this.frame.setSize(250, 300); |
|
|
|
|
|
this.frame.setContentPane(panel); |
|
|
|
|
|
this.button.addActionListener(this); |
|
|
|
|
|
this.frame.setVisible(true); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
|
// TODO Auto-generated method stub |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
} |