Re: Problems with Java Swing Applications
"Bernhard R. Link" <[email protected]>
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
* Eric A <[email protected]> [100504 01:20]: > I have attached a simple Java Swing example I found that creates a > window with a couple menu items. It works correctly in openbox and > other window managers I've tested, but just displays a blank window in > ratpoison. Any ideas on what's wrong? The blank windows is java's buggy workaround against a bug in java with reparenting window managers (which ratpoison is not, but the workaround is buggy with non-reperanting and has a whitelists of non-reparenting window managers which is always out of date). If your java is properly patched (Debian, Ubuntu and perhaps most other Linux distributions have a fixed openjdk, I think), setting the _JAVA_AWT_WM_NONREPARENTING environment variable will help. With some older javas, AWT_TOOLKIT=MToolkit can help, but that makes newer javas segfault... Hochachtungsvoll, Bernhard R. Link