Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class authentifizierung implements ActionListener {
- public void actionPerformed(ActionEvent e) {
- try {
- JPasswordField passwordField = new JPasswordField(10);
- passwordField.setActionCommand(OK);
- passwordField.addActionListener(this);
- user = javax.swing.JOptionPane.showInputDialog("Bitte geben Sie Ihren Windows-Benutzernamen ein:");
- password = javax.swing.JOptionPane.showInputDialog("Bitte geben Sie Ihr Windows-Passwort ein:");
- } catch (java.lang.UnsupportedOperationException io) {
- System.out.println(io);
- }
- try {
- startExtern.lassJucken("C:\\Users\\O.Lee\\temp\\meeting.exe");
- } catch (java.io.IOException io) {
- javax.swing.JOptionPane.showMessageDialog(null, "Da stimmt was nicht!" + io);
- }
- }
- private String user, password = "";
- }
Add Comment
Please, Sign In to add comment