Lompat ke konten Lompat ke sidebar Lompat ke footer

Java - Login And Register Form Design

How To Design SignUp And SignIn Form In Java Using NetBeans

 How To Design SignUp And SignIn Form In Java Using NetBeans Java - Login And Register Form Design



In this Java Tutorial we will see How To Design A Login Form And A Register Form 
In Java 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 : 

Posting Komentar untuk "Java - Login And Register Form Design"