How to close jframe on click of button

99

How to close jframe on click of button -

button.addActionListener(e -> {
   frame.dispose();
});

Comments

Submit
0 Comments