>>>>> "Jason" == Jason Gilbert <[EMAIL PROTECTED]> writes:

Jason> Håkan Thörngren wrote:
>>  How can I get full screen frames?

Jason> I'm making the assumption that you turned of the frame
Jason> decorations in the window manager (this may not be the case).
Jason> If you are using java.awt.Frame for your base window you might
Jason> try using java.awt.Window instead.  The only difference (I
Jason> think) being the the Window class does not contain a border.
Jason> Whoops, I just noticed that you aren't using a window manager.
Jason> You might try it anyway.

I use a JFrame and given your hint took a look at JWindow which
was exactly what I needed.  It opens a window without decorations.
The only problem is that it will break down the focus handling.
JTextAreas no longer receive a cursor, focus is lost from components
in unpredictable ways.

Just my personal opionin, but I think the focus mechanism in Java
(at least under Motif) is somewhat broken.  What bothers me most is
that I have no real control over the focus myself. I can only advice
it and it usually ignores me.  It is quite hard to work around bugs
in the focus handling since it is an inner class in java.awt.Window... :-(

  /Håkan

Reply via email to