File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ compose.desktop {
5959 }
6060 entitlementsFile.set(project.file(" entitlements.plist" ))
6161 runtimeEntitlementsFile.set(project.file(" entitlements.plist" ))
62+ // Allow swing to use the system look and feel
63+ jvmArgs(" -Dapple.awt.application.appearance=system" )
6264 }
6365 windows{
6466 iconFile = project.file(" ../build/windows/processing.ico" )
@@ -67,12 +69,9 @@ compose.desktop {
6769 }
6870 linux {
6971 iconFile = project.file(" ../build/linux/processing.png" )
72+ jvmArgs(" -Dawt.useSystemAAFontSettings=on" )
7073 }
7174
72- // Allow swing to use the system look and feel
73- jvmArgs(
74- " -Dapple.awt.application.appearance=system"
75- )
7675 appResourcesRootDir.set(layout.buildDirectory.dir(" resources-bundled" ))
7776 }
7877 }
You can’t perform that action at this time.
0 commit comments