Java - Login And Register Form Design
How To Design SignUp And SignIn Form In Java Using NetBeans
flatuicolorpicker.com = to get flat colors
rapidtables.com/convert/color/hex-to-rgb.htm = to convert hex color code to rgb (optional)
Project Source Code:
// jlabelClose = close form on jlabel click
private void jLabelCloseMouseClicked(java.awt.event.MouseEvent evt) {
System.exit(0);
}
// jlabelMin = minimize form on jlabel click
private void jLabelMinMouseClicked(java.awt.event.MouseEvent evt) {
this.setState(JFrame.ICONIFIED);
}
// jLabelRegister = open login form on jlabel click (on register form)
private void jLabelRegisterMouseClicked(java.awt.event.MouseEvent evt) {
LoginForm lgf = new LoginForm();
lgf.setVisible(true);
lgf.pack();
lgf.setLocationRelativeTo(null);
lgf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.dispose();
}
// jLabelRegister = open login form on jlabel click (on login form)
private void jLabelRegisterMouseClicked(java.awt.event.MouseEvent evt) {
RegisterForm rgf = new RegisterForm();
rgf.setVisible(true);
rgf.pack();
rgf.setLocationRelativeTo(null);
rgf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.dispose();
}
////// OUTPUT :
More Java Projects:
Posting Komentar untuk "Java - Login And Register Form Design"