I want to write a script that closes a pop up window if the user clicks on the"Close Window" buttom. Can anyone help?
For window closing you canuse:<br><br>button1.addActionListener(new java.awt.event.ActionListener() {<br>public voidactionPerformed(ActionEvent e) {<br> dispose();<br> }<br>});