![]() ![]() They don't show up both when browsing through JFileChooser and when requesting the icon for a file. Second, on both Ubuntu and Kubuntu, I cannot obtain the file type icon for files (like the triangular squiggly line for PDF) but I can on Windows and Mac. Why is Kubuntu doing this? I know how to parse text in the list of available Look and Feels to choose an appropriate Look and Feel but would like to avoid it if possible. ![]() However Kubuntu still defaults to Metal even though the terminal output shows both GTK+ and Motif Look and Feels are available. I looked at the Java API docs ( ) and they say that systems without GTK+ (which I assume is the case for Kubuntu because it uses KDE instead of GNOME) should default to Motif look and feel, not Metal. ![]() All help is much appreciated.įirst, on Kubuntu version 20.04 (KDE), I get the Metal Look and Feel when setting the Look and Feel to the system default, yet it works properly on Windows, Mac, and Ubuntu 22.04 (GNOME). The Linux Java is OpenJDK and the Windows/Mac is Oracle in case that makes a difference. Source code, terminal output, and screenshots of GUI are below. I am having two problems, both which I believe are somewhat related. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |