Conversation
Notices
-
Why can't I get Swing apps working in !awesome? Is there some sort of environment variable I need for it? (It works in GNOME)
-
@pobega swing/awt apps need all sorts of wm quirks support to show up on a modern desktop these days. maybe you need a more boring wm?
-
@mjog: So, is there any trick to writing Swing apps outside of a major de/wm? I need to write it for class but the windows show up blank.
-
@pobega I believe the problem lies in the awt's handling of wm hints, etc, so there's not much you can do —except contribute fixes to java 7
-
@mjog ahahahahahahahahahahahahaha
-
@pobega Sounds like the compositing bug. Fixed in Java6, one of the later revisions. There's also an env var that'll fix it I think.
-
@eythian: Any idea *what* that env var is?
-
@pobega http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775 claims 'AWT_TOOLKIT=MToolkit'
-
@eythian: Wow, you are my new hero. Thank you.
-
@pobega any time :)
-
@rydgel: What problem are you talking about?
-
@rydgel: I nevermind, the swing problem. Yeah, I figured it out, I needed to set an environment variable and everything just worked.
-
@pobega ok ;)
-
@rydgel: Fyi, it was `export AWT_TOOLKIT=MToolkit`
-