Skip to content

Commit 23c8a46

Browse files
committed
- Imports cleanup
- Disable system look & feel on macOS for readability - Cleaned unnecessary space - Cleaned finished TODO
1 parent f016cc4 commit 23c8a46

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ 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")
6462
}
6563
windows{
6664
iconFile = project.file("../build/windows/processing.ico")

app/src/processing/app/Platform.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
import java.lang.management.ManagementFactory;
2929
import java.net.URISyntaxException;
3030
import java.net.URL;
31-
import java.nio.file.*;
32-
import java.nio.file.attribute.BasicFileAttributes;
33-
import java.nio.file.attribute.PosixFilePermission;
3431
import java.util.*;
3532

3633
import com.sun.jna.platform.FileUtils;

app/src/processing/app/UpdateCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
public class UpdateCheck {
5757
private final Base base;
5858

59-
static private final String DOWNLOAD_URL = System.getProperty("processing.download.page","https://processing.org/download/");
59+
static private final String DOWNLOAD_URL = System.getProperty("processing.download.page","https://processing.org/download/");
6060
static private final String LATEST_URL = System.getProperty("processing.download.latest","https://processing.org/download/latest.txt");
6161

6262
static private final long ONE_DAY = 24 * 60 * 60 * 1000;

java/src/processing/mode/java/JavaBuild.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,6 @@ protected boolean exportApplication(File destFolder,
770770
}
771771

772772
}
773-
// TODO: Handle the java embed and Icon with the new build system
774773

775774
} else if (exportPlatform == PConstants.LINUX) {
776775
if (embedJava) {

0 commit comments

Comments
 (0)