![]() Gadolinium 05/14/2006 @ 18:47:03 EDT |
So basically im writing a popup button box in java. I have everything working except i need somehow for the class to wait until a button is pressed to return a boolean value back to the program. Any Ideas? |
![]() Hydrogen 05/14/2006 @ 21:37:18 EDT |
And doesn't Java already have some sort of a popup thingy? Or am I completely misunderstanding what you're trying to do? |
![]() Gadolinium 05/14/2006 @ 22:10:32 EDT |
Well maybe, but I cant find one that I like. I dont know how to use the wait method i keep getting a runtime error of current thread not owner.
|
Hassium 05/16/2006 @ 15:54:08 EDT |
o/~ If you're happy and you know it {return actionDone();} o/~ |
![]() Gadolinium 05/16/2006 @ 20:49:05 EDT |
Well I need major help. I need to get the wait mehod to work. It is absolutly necesary to my final project please I cannot get it to work properly. |
![]() Hydrogen 05/16/2006 @ 21:33:50 EDT |
Sounds like you're trying to write the Dialog class. |
![]() Gadolinium 05/16/2006 @ 21:44:24 EDT |
I have other things that I cant use dialouge class for. This is my simplest object. I need to be able to use wait and I have no idea why my notify's dont wake up the the waiting thread. |
Strontium 06/09/2006 @ 18:07:09 EDT |
If ActionListener isn't getting the job done, maybe you should call ActionJackson. |

