mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2025-12-20 11:09:20 +01:00
Set the WM_CLASS explicitly so it doesn't depend on the version
Fixes #148.
This commit is contained in:
parent
300c5dfe5b
commit
a898e04dc3
@ -37,6 +37,7 @@ object OcelotDesktop
|
|||||||
{
|
{
|
||||||
System.setProperty("awt.useSystemAAFontSettings", "on")
|
System.setProperty("awt.useSystemAAFontSettings", "on")
|
||||||
System.setProperty("swing.aatext", "true")
|
System.setProperty("swing.aatext", "true")
|
||||||
|
System.setProperty("LWJGL_WM_CLASS", "Ocelot Desktop")
|
||||||
|
|
||||||
// Required to make all subsequent swing components look "native"
|
// Required to make all subsequent swing components look "native"
|
||||||
try UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName)
|
try UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user