Advertisement
Guest User

Untitled

a guest
Mar 10th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. \************************
  2. * Allows user to create login
  3. *\
  4.  
  5. import javax.swing.*;
  6.  
  7. public class MyOwnCreateLogin {
  8.  
  9. public static void main(String[] args) {
  10.  
  11. String userName = JOptionPane.showInputDialog("Create a username:","johndoe","Create Login");
  12. String password = JOptionPane.showInputDialog("Create a password:","johndoe123","Create Login");
  13. get.MyOwnLoginMenu; //possibly brings back to the login screen???
  14. \******
  15. * I need to figure out how to go back to the other program and call upon the userName and password for login
  16. * also I need to figure out how to make a confirm information box
  17. ******\
  18.  
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement