Netbeans looks Blurry?

I'm using Netbeans (a Java IDE) from the official repositories. It looks pixelated for some reason. If this some setting form system settings that I'm forgetting to tick? All the text looks wavy/blurry (it comes out WAY better in the picture for some reason, but it looks REALLY bad from the user's perspective):

Screenshot_20200804_114115
image

How would I fix this issue?

Hardware:

System:    Host: MidnightStarSign Kernel: 5.7.9-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
           Desktop: KDE Plasma 5.19.3 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x serial: <root required> 
           UEFI: American Megatrends v: 1407 date: 04/02/2020 
CPU:       Topology: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 94838 
           Speed: 3950 MHz min/max: 2200/3950 MHz Core speeds (MHz): 1: 3950 2: 3948 3: 3950 4: 3950 
           5: 3950 6: 3950 7: 3950 8: 3950 9: 3950 10: 3950 11: 3950 12: 3950 
Graphics:  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: ASRock driver: amdgpu 
           v: kernel bus ID: 0a:00.0 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting,radeon 
           resolution: 1920x1080~60Hz, 1920x1080~60Hz, 1920x1080~75Hz 
           OpenGL: renderer: AMD Radeon RX 5600 XT (NAVI10 DRM 3.37.0 5.7.9-1-MANJARO LLVM 10.0.0) 
           v: 4.6 Mesa 20.1.3 direct render: Yes 
Audio:     Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus ID: 0a:00.1 
           Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 0c:00.4 
           Device-3: Jieli USB PHY 2.0 type: USB driver: snd-usb-audio,uvcvideo bus ID: 5-2:3 
           Sound Server: ALSA v: k5.7.9-1-MANJARO 
Network:   Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.6.0-k port: f000 
           bus ID: 04:00.0 
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: 24:4b:fe:5b:08:2a 
Drives:    Local Storage: total: 4.64 TiB used: 1.57 TiB (33.9%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS100T2B0C-00PXH0 size: 931.51 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST2000LM015-2E8174 size: 1.82 TiB 
           ID-3: /dev/sdb vendor: Seagate model: ST380815AS size: 74.51 GiB 
           ID-4: /dev/sdc vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB 
           ID-5: /dev/sdd vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
           ID-6: /dev/sde type: USB vendor: SanDisk model: Gaming Xbox 360 size: 7.48 GiB 
           ID-7: /dev/sdf type: USB vendor: Toshiba model: TransMemory size: 14.92 GiB 
Partition: ID-1: / size: 767.00 GiB used: 413.63 GiB (53.9%) fs: btrfs dev: /dev/dm-0 
           ID-2: /home size: 767.00 GiB used: 413.63 GiB (53.9%) fs: btrfs dev: /dev/dm-0 
           ID-3: swap-1 size: 64.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 48.4 C mobo: N/A gpu: amdgpu temp: 42 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 0 
Info:      Processes: 446 Uptime: 31m Memory: 31.33 GiB used: 5.77 GiB (18.4%) Init: systemd Compilers: 
           gcc: 10.1.0 Shell: bash v: 5.0.18 inxi: 3.0.37

All Java applications look like that in Linux. Add this lines to your .bash_profile

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp'

Can't remember if you have to log out and back in to take effect, but for sure you have to restart the Netbeans app.

1 Like

Forum kindly sponsored by