Re: Undecorated JFrame
From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 12/09/03
- Next message: hiwa: "Re: Frame/JFrame screen capture from Java"
- Previous message: Andrew Thompson: "Re: controlling a java app with a bot"
- In reply to: samantha: "Undecorated JFrame"
- Next in thread: hiwa: "Re: Undecorated JFrame"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 9 Dec 2003 00:28:00 GMT
["Followup-To:" header set to comp.os.linux.x.] On Mon, 08 Dec 2003
23:22:31 GMT, samantha staggered into the Black Sun and said:
> I was so hoping someone could help me. I saw a question like this a
> few weeks ago. If I'm asking something that's already been answered
> or is in a FAQ or something, I'm really sorry.
>
> None of my Java applications have frame decorations when run under
> Linux. The exact same program will look "proper" on Win98SE, NT, and
> XP. This affects *all* my Java applications - including 3rd-party and
> JDK demos. And it doesn't matter if the application is AWT or Swing
> based. It doesn't matter if I run the program on the console, from
> telnet, or through xterm. I never had this problem with previous
> versions of Java or Linux.
>
> Here are all the specifics I can think of ...
> RH7.x, kernel 2.4.20-24.8
What's the x? Redhat 7.0 is very different from Redhat 7.3, and they're
both kinda obsolete (end RPM Dependency Hell, move to Debian or Gentoo
today!)
> GNOME desktop
> j2sdk-1.4.2-01
I think it's a problem with your GNOME config, not an X problem, not
really a Java problem. I compiled the code on my Linux desktop using
the Blackdown 1.4.1 JDK/JRE and saw perfect window decorations and
titles (but I'm using KDE 3.1; I'm not a big fan of GNOME.) Which window
manager are you using? Check its control panel/look-n-feel and see if
there's something about "apply GNOME look-n-feel to non-GNOME
applications", or anything about handling window manager hints, or
something.
> Even this simple little program can demonstrate my problem ...
[snip code]
Hm. There's no exit handler, and I had to kill -HUP it. Oh well...
HTH anyway.
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Next message: hiwa: "Re: Frame/JFrame screen capture from Java"
- Previous message: Andrew Thompson: "Re: controlling a java app with a bot"
- In reply to: samantha: "Undecorated JFrame"
- Next in thread: hiwa: "Re: Undecorated JFrame"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|