Guest User

Untitled

a guest
Jul 17th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. class authentifizierung implements ActionListener {
  2.  
  3. public void actionPerformed(ActionEvent e) {
  4. try {
  5.  
  6. JPasswordField passwordField = new JPasswordField(10);
  7. passwordField.setActionCommand(OK);
  8. passwordField.addActionListener(this);
  9.  
  10. user = javax.swing.JOptionPane.showInputDialog("Bitte geben Sie Ihren Windows-Benutzernamen ein:");
  11. password = javax.swing.JOptionPane.showInputDialog("Bitte geben Sie Ihr Windows-Passwort ein:");
  12.  
  13. } catch (java.lang.UnsupportedOperationException io) {
  14. System.out.println(io);
  15. }
  16. try {
  17. startExtern.lassJucken("C:\\Users\\O.Lee\\temp\\meeting.exe");
  18. } catch (java.io.IOException io) {
  19. javax.swing.JOptionPane.showMessageDialog(null, "Da stimmt was nicht!" + io);
  20. }
  21. }
  22. private String user, password = "";
  23. }
Add Comment
Please, Sign In to add comment