My problem is the following: I have a Java application, and I would like to create a setup form on it, so i can declare some variables.

How can it be done? And when the setup form is on focus, it should be disabled to perform actions on the main form.

Thanks for any help. 

hectai