Monday 24 September 2012

JAVA >> Login for Conversion of Decimal

Welcome,
Now, we will study about LOGIN with JOptionPane
The illustration is
"We must SignUp if we not registered yet. After finish registeration, we must SignIn to can enter the Conversion."
The Steps are :

1. Open the 'Netbeans' , and maka the package. ex : praktek1.LoginKonversi


2. Make the Folder and make the Java File . Example the name is 'Sign.java'


3. Copy the script below :

 

4. Then, make the Java File again to put the Conversion's Script. Example the name is 'Konversi.java'.


5. Copy the script below :



6. After that, make the Java File again to call the main method. Example the name is 'Panggilan.java'


7. Copy the script below :

 

8. After that, try that program at Panggilan.java (Shift+F6)


That are the picture : 

1. Menu Sign Up, Sign In , Sign Out


2. Sign Up first.




3. Then will show First Menu and choose the Sign In. After That, enter your username and your password then will show Message Greeting.


4. Then OK. and will show the Conversion.


5. That is the picture if you not enter your username, or not enter your password, or cancel (X), or not matches with username.



No comments:

Post a Comment