Forum: Java Aug 6th, 2008 |
| Replies: 10 Views: 4,918 ok, seems I must have misunderstood you...sorry about that...
this is how I would normally handle closing..
method onCancel
{
this.setVsible(false);
this.dispose();
}
... |
Forum: Java Jul 31st, 2008 |
| Replies: 10 Views: 4,918 similarly you can call the dispose() or flush() or even setVisible(false) method on the click event for the cancel button. that way the popup should close. |
Forum: Java Jul 31st, 2008 |
| Replies: 10 Views: 4,918 you usually place disposer() and flush() codes on events such as windowclose,windowopen and etc....
if you wish to open a popup when you click on export, you can simply call yourpopupid.open()... |
Forum: Java Jul 21st, 2008 |
| Replies: 30 Views: 2,096 It could help if you try to go over your program and write a pseudocode and then browse over java tutorials to interpret your pseudocode into java codes....
With a little effort you can answer... |
Forum: Java Jul 17th, 2008 |
| Replies: 10 Views: 4,918 Try combining dispose() or exit() with the window...you could also pass a variable false to set the pop-ups visibility.
What is your code? You could also set your pop-up as listener for an close... |
Forum: Java Jul 16th, 2008 |
| Replies: 2 Views: 975 Greetings!
You could also try to search for the examples on google or the java2s.com, kodejava.com...
Happy coding,
Loken |