So the problem seems to be with the Windows 98 console I suppose, because same problem with java, but problem gone with javaw.
Isn't it great how computers always make sense? >_<
User Profile
Collapse
-
OK, well I fixed my problem...sorta . Check this out.
When I compile and run my program from command line the window ALWAYS stays on top (the problem I've been having).
Now, I condensed all my files into a jar file and poof! Problem has disappeared. I was planning on eventually making my program a java executable anyway, so as long as it works like this, then I'm happy. But its still odd that when I run it from command...Leave a comment:
-
I'm also running this program on a Windows 98 machine if that has anything to do with it, but it shouldn't...Leave a comment:
-
1.5.0_15
and since I need to enter 20 characters I have written this line :P...Leave a comment:
-
JFrame always on top
Whenever I run my GUI, the frame is pinned as the top window ALWAYS even though I never set it to be like that. I even added in setAlwaysOnTop( false) for good measure (it's default false, right?) and my frame is always on top regardless. Any clues?
...Code:public static void main(String[] args){ JFrame frame = new JFrame("Pearson Warranty"); frame.setResizable(false); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
No activity results to display
Show More
Leave a comment: