Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Leona Wright   on Jun 12 In Java Category.

  
Question Answered By: Latasha Wilson   on Jun 12

For window  closing you can
use:<br><br>button1.addActionListener(new java.awt.event.ActionListener() {<br>
public void
actionPerformed(ActionEvent e) {<br> dispose();<br> }<br>});

Share: 

 
 
Didn't find what you were looking for? Find more on "Close Window" Script Or get search suggestion and latest updates.


Tagged: