Skip to main content

Custom Input Dialog

No replies
bab09
Offline
Joined: 2009-03-09

Hi

This is Bab, I am developing a Map tool.. I got a problem here.. I just want to creat a dailg box and that has to ask me for the name of the map and once I press the Ok button then it must go..I did this one using two ways.
1-> JOptionPane.showInputDailog()
2-> JFace Input Dialog

In the first one ,I am not able to control the window.. Actually the dialog has to appear only in one condition.. But once it enters to the loop then for every time it is asking for the input data even though it comes out from the loop(My input method is based on onmouseclick())

if I use the second one it is showing an error like "Invalid access to thread"

My requirement..

Create a dailog that should not effect my input window..