You are not logged in.

#1 2019-12-28 21:19:23

davidp200
Member
Registered: 2019-12-28
Posts: 2

[SOLVED] Java gui programs not displaying Contents in DWM

I just installed Arch Linux in my desktop for the first time and I am trying out DWM (Dynamic Window Manager) for the first time. I have it set up so I can log into either the DWM or Gnome window manager. My problem is that whenever I am in a dwm session and try to run a java program I wrote and compiled myself it opens and tiles the programs window, but it does not show any of the interiors of the window, such as JPanels, JTextFields, etc. I know for sure the program was written correctly because it displays all right if I run it in the gnome environment. Any idea as to why this is happening?

Last edited by davidp200 (2019-12-29 19:58:20)

Offline

#2 2019-12-28 22:16:09

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] Java gui programs not displaying Contents in DWM

That is a common issue with so called "non-reparenting" window managers.
https://wiki.archlinux.org/index.php/Ja … ly_closing


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2019-12-28 22:19:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED] Java gui programs not displaying Contents in DWM

And it's covered explicitly in both the java and dwm wiki pages.

For future reference, please make some effort to search the wiki and forums for existing solutions prior to posting new threads.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2019-12-29 09:41:15

davidp200
Member
Registered: 2019-12-28
Posts: 2

Re: [SOLVED] Java gui programs not displaying Contents in DWM

Thanks for the help! I apologize for that. I am still quite new to this and did not realize there was a whole page dedicated to the java specifics. I also did search the forums but did not find anything that seemed like the problem I was having. Will definitely be more mindful in the future.

Offline

Board footer

Powered by FluxBB