Answers for "close GUI in jvava"

0

close GUI in jvava

this.dispose();
Posted by: Guest on October-26-2021
0

close GUI in jvava

private class CloseListener implements ActionListener{
    @Override
    public void actionPerformed(ActionEvent e) {
        //DO SOMETHING
        System.exit(0);
    }
}
Posted by: Guest on October-26-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language