You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
855 B

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
}
}