Hiho,
On Thu, Aug 23, 2001 at 08:38:38AM +0200, Ulrich Hofstoetter wrote:
> Stu Wier wrote:
> >
> > How do you make a stand-alone Java application window that on start-up
> >
> > 1. automatically fills the entire screen on whatever system it is on;
> There is a System Property containing the screen width an height, read
> it and resize your Window.
I also wanted to suggest that.
> <matter of taste on>
> BUT i really get angry when applications try this shit and unless i
> really
> (and i mean really) need this tool, it will be kicked after 5 minutes.
>
> Rethink your layout, use layout managers and stay away from this shit.
> </matter of taste off>
Depends on what application you are doing. My company is doing a Java
based kiosk system for example (of course we deploy on Linux). On such a
touch-screen based custom system fullscreen is of course the only way to
go.
On a normal desktop there might also be legitimate uses for fullscreen.
Games come to mind for example. But I also would not want usual desktop
applications to run fullscreen.
> > 2. has no border, such as the border JFrame has.
> >
> I don't think this is possible without the use of JNI.
I do not know. But when you set the window size to fullscreen and center
the window, the borders of the JFrame will be offscreen and therefore
not visible. We use this technique in our system without any problems,
so try it.
--
Andreas Micklei
IVISTAR Kommunikationssysteme AG
Ehrenbergstr. 19 / 10245 Berlin
http://www.ivistar.de
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]