You are not logged in.

#1 2020-11-04 01:58:16

Toad39
Member
Registered: 2020-07-06
Posts: 60

[SOLVED] Java Applications Having White Text

Hello,

Several Java applications I've tried, such as JD-GUI and IntelliJ Idea Community Edition, launch to be all white. When clicking in the appropriate place, I get the relative application menus (File, Edit, View, etc), so I believe that they are rendering. There is this part of the log which looks suspicious:

WARNING: Prefs file removed in background /home/user/.java/.userPrefs/prefs.xml
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to field sun.awt.X
WARNING: Please consider reporting this to the maintainers of com.intellij.util.Reflectio
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective acces
WARNING: All illegal access operations will be denied in a future release

The rest of the messages are "Ignoring untracked file under another root" warnings, which I don't think is a problem. JD-GUI doesn't give any logs, just a blank screen. My old archlinux installation, on the same computer, didn't have this problem. I am not exactly sure what I installed on the old installation, but I know that I had a different GTK theme. How can I make the text look black? Thanks for your help.

Last edited by Toad39 (2020-11-04 17:38:48)

Offline

#2 2020-11-04 02:05:45

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] Java Applications Having White Text

Have you checked with different versions of java?
Does it replicate with any version of java?


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2020-11-04 02:09:34

Toad39
Member
Registered: 2020-07-06
Posts: 60

Re: [SOLVED] Java Applications Having White Text

GaKu999 wrote:

Have you checked with different versions of java?
Does it replicate with any version of java?

Java 11 shows the same negative result.

Offline

#4 2020-11-04 02:49:21

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] Java Applications Having White Text

I’m assuming you tested even with Java 1.8...

For changing the colors iirc you can change the CSS syntax formats, tho that is sometimes cumbersome and I’m not experiencing on that...

Does it replicate with a different theme, ex the o’l classic Adwaita?


My reposSome snippets

Heisenberg might have been here.

Offline

#5 2020-11-04 02:59:06

Toad39
Member
Registered: 2020-07-06
Posts: 60

Re: [SOLVED] Java Applications Having White Text

The Nordic-Polar theme doesn't work. How do I set it to Adwaita? I am using lxappearance on bspwm.

Offline

#6 2020-11-04 07:20:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Offline

#7 2020-11-04 09:51:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: [SOLVED] Java Applications Having White Text

Make sure you have fonts installed for at least all of the "base" families like sans-serif serif and monospace: https://wiki.archlinux.org/index.php/Fonts#Families

Also since you are using bspwm: https://wiki.archlinux.org/index.php/Bs … plications

Last edited by V1del (2020-11-04 09:52:33)

Offline

#8 2020-11-04 17:38:33

Toad39
Member
Registered: 2020-07-06
Posts: 60

Re: [SOLVED] Java Applications Having White Text

V1del wrote:

Make sure you have fonts installed for at least all of the "base" families like sans-serif serif and monospace: https://wiki.archlinux.org/index.php/Fonts#Families

Also since you are using bspwm: https://wiki.archlinux.org/index.php/Bs … plications

Thanks, your latter suggestion worked.

Offline

#9 2023-04-24 11:22:51

DumpMeToTheMoon
Member
Registered: 2023-04-02
Posts: 1

Re: [SOLVED] Java Applications Having White Text

V1del wrote:

Make sure you have fonts installed for at least all of the "base" families like sans-serif serif and monospace: https://wiki.archlinux.org/index.php/Fonts#Families

Also since you are using bspwm: https://wiki.archlinux.org/index.php/Bs … plications

Thank you so much, in my case installing the Dejavu fonts package solved my issue.

Offline

#10 2023-04-24 11:33:03

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Java Applications Having White Text

Closing this old solved thread.

Offline

Board footer

Powered by FluxBB