Results 1 to 1 of 1
- 11-25-2012, 06:23 AM #1
Member
- Join Date
- Nov 2012
- Posts
- 1
- Rep Power
- 0
Full-screen frame minimizes if JAR is run from startup folder in Windows XP
I have a java app that uses the following code to produce a full-screen window:
GraphicsEnvironment graphicsEnvironment = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice graphicsDevice = graphicsEnvironment.getDefaultScreenDevice();
Frame frame = new Frame();
frame.setUndecorated(true);
frame.setIgnoreRepaint(true);
graphicsDevice.setFullScreenWindow(frame);
If I build this and double-click the jar file, it runs fine. If I put the jar file into the startup folder in Windows XP, it launches at startup, but after 5 seconds or so it minimizes.
How can I prevent the full-screen frame from minimizing?
Similar Threads
-
How to screen capture a running full screen DirectX program in Java?
By MEdiQueen in forum Advanced JavaReplies: 9Last Post: 09-06-2012, 10:37 AM -
Choosing startup form (frame)
By drimades in forum NetBeansReplies: 3Last Post: 03-08-2012, 10:40 AM -
Full screen problems
By doctorned in forum New To JavaReplies: 4Last Post: 12-10-2009, 10:40 AM -
Full Screen Frame Resolution Problem
By Krooger in forum AWT / SwingReplies: 2Last Post: 11-25-2009, 12:05 AM -
Full screen
By Jack in forum Advanced JavaReplies: 2Last Post: 07-02-2007, 06:49 AM
Bookmarks