Hello ranchers!!!
I really need your help on this. When i ever i write a program and run it outside the
IDE (i use netbeans 6.9.1), the program runs perfectly, but when i install JDK 6 or 7 on a pc that did not previously have
java and run my program, the pop-up frames such as JFileChooser or JOptionPane only show for a couple of seconds (approximately 7 to 9 seconds) then they close themselves and choose the default option without any user input.
I need y'all to help me out or give me suggestions on what to do or what i'm doing wrongly.
NB: I use 'javaw.exe' under the '/bin' directory of the JRE to execute the program since the 'java.exe' only brings out a console for2 seconds then does nothing.