Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Punx

[java] Fullscreen windows...?

This topic is 6133 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What are the commands to make a window full screen in java where you can''t see the Title or border?

Share this post


Link to post
Share on other sites
Advertisement
Are you using jdk1.4 or an earlier one?

The fanatic is incorruptible: if he kills for an idea, he can just as well get himself killed for one; in either case, tyrant or martyr, he is a monster.
--EM Cioran

Opere Citato

Share this post


Link to post
Share on other sites
1.4 has native support for fullscreen where you can change screen resolution and what not. Unfortunately it is buggy for me, even go my name in the bug report. Yeah me. Try this -

JFrame f = new JFrame();
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
JWindow w = new JWindow(f);
w.setSize( d );

The fanatic is incorruptible: if he kills for an idea, he can just as well get himself killed for one; in either case, tyrant or martyr, he is a monster.
--EM Cioran

Opere Citato

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!