it is a bit hard to explain what i am trying to do, but i will try.
I have a program i wrote, which is running all the time through a connection and calculate things.
And i want to open a JFrame for verificating a password for making some operations in it.
I have managed to create the JFrame with the user and password fields and the buttons.
but i have trouble making the main program / JFrame to wait for the user.
i am looking to make some sort of:
String inputValue = JOptionPane.showInputDialog("Please input a value");
boolean verified = MyOptionPane.waitForVerification();
which opens a JFrame for the user to enter the user and password.
i hope i made myself clear enough here.