Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jframe open another frame using button actionlistener

btnLogin.addActionListener(new ActionListener() 
{
    public void actionPerformed(ActionEvent e) {
        this.setVisible(false);
        new FrmMain().setVisible(true); // Main Form to show after the Login Form..
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jframe #open #frame #button #actionlistener
ADD COMMENT
Topic
Name
6+5 =