Sorry if this is the wrong forum. Noticed a FAQ for setting up JAVA (compiling/running), so thought this was the place for this kind of thing. Anyway...
Not sure why the hell this is happening to me, but basically, the only way I can sum up my problem is whenever I use a JOptionPane.* object (or is it method, I'm a newb to this stuff), it'll show the nice little pop-up and than basically crash. I can manually stop the code using eclipse, but if I run it through Terminal, the pop-up never disappears, I can't hit the "Ok" button or the "X" button to get rid of it. Annoying as hell. Basically, the following code:
Code:
import javax.swing.*;
public class popTest {
public static void main(String[] args) {
JOptionPane.showMessageDialog(null, "Hello, World!");
System.exit(0);
}
}
does what I want it to (create a message pop-up), I just can't get rid of it.
Any suggestions?
Bookmarks