freelanceprogrammers.org Forum Index » Java
"Close Window" Script
Joined: 24 Feb 2002
Posts: 2
"Close Window" Script
I want to write a script that closes a pop up window if the user clicks on the
"Close Window" buttom. Can anyone help?
Joined: 01 Feb 2002
Posts: 13
"Close Window" Script
this.addWindowListener(new
java.awt.event.WindowAdapter() {<br> public void
windowClosing(java.awt.event.WindowEvent evt) {<br> exitForm(evt);<br> }<br> });
Joined: 19 Feb 2002
Posts: 22
"Close Window" Script
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>});<br><br>Good
Luck,<br>Dmitry
Joined: 14 Feb 2002
Posts: 50
"Close Window" Script
This sounds like a JavaScript question. You should probably post this to a more
appropriate forum in order to have your question answered
properly.<br><br>Sincerely,<br>Anthony Eden
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







