File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Full screen mode in Netbeans
Joined: May 03, 2004
May 09, 2005 09:35:00
Has anyone got any idea how to make netbeans start a jFrame up in full screen mode.
Have tried the usual:
Dimension dim = (Toolkit.getDefaultToolkit()).getScreenSize(); setSize(dim);
Joined: Jul 11, 2001
May 09, 2005 10:33:00
Do you mean with the JFrame maximized or FullScreen Mode? 2 different things with 2 entirely different solutions.
Maximize Screen - Kind of depends on what JDK version you are running. You can try:
after you setVisible(true) on the frame. If you just set the size as the dimensions of the screen, the frame will fill the screen but won't trully be maximized.
GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Full screen mode in Netbeans
Full Screen on Maximize
Running external apps in a JFrame?
full screen size of JFRame in swing
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014