Archived

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

Dennis

[java] Frame

Recommended Posts

Guest Anonymous Poster
But a window needs an owner; either a frame, dialog, or another window.

Has anyone found a way to have a fullscreen java app with no title bar or border? Like in most full screen games (baldur''s gate ii etc).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
This works fine on windows (although sometimes the taskbar pokes through), but it doesn''t work properly under MacOS (pre X) as apples implementation of java does not seem to let you make a window that covers the entire screen. You end with space between the window edges and desktop edges.

Oh well another case of: write once, debug everywhere.

Share this post


Link to post
Share on other sites
I know what you mean regarding Macs. I used to have a nightmare of a time (a couple of years ago), when I was doing some applet work, going from IE to Netscape - getting both of those working on a PC, and then going to a Mac where the whole thing would break again.

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster

This works fine on windows (although sometimes the taskbar pokes through),


getFocus() usually gets rid of the taskbar.

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
yeah, i''m interested in this full screen java thing too. so a window w/ a non-visible parent would make it full screen. how about resolution? if the user has a diff res than 640x480, is there a way? or can a seperate program change it, launch the java app, then change back when done?

Share this post


Link to post
Share on other sites
Supposedly JRE 1.4 will let you change resolutions when you have a fullscreen window but I don''t know how to do it right now and in a month or so it won''t matter anyway. Hopefully.

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