diff --git a/app/lib/flatlaf-0.27.jar b/app/lib/flatlaf-0.27.jar
new file mode 100644
index 00000000000..b9894b437a9
Binary files /dev/null and b/app/lib/flatlaf-0.27.jar differ
diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java
index 815f264da36..b405c707bd3 100644
--- a/app/src/processing/app/Base.java
+++ b/app/src/processing/app/Base.java
@@ -61,6 +61,8 @@
import processing.app.syntax.SketchTextAreaDefaultInputMap;
import processing.app.tools.MenuScroller;
import processing.app.tools.ZipDeflater;
+import com.formdev.flatlaf.FlatLightLaf;
+import com.formdev.flatlaf.FlatDarkLaf;
import javax.swing.*;
import java.awt.*;
@@ -245,12 +247,19 @@ public Base(String[] args) throws Exception {
Theme.init();
System.setProperty("swing.aatext", PreferencesData.get("editor.antialias", "true"));
- // Set the look and feel before opening the window
+ try {
+ UIManager.setLookAndFeel( new FlatLightLaf() );
+ } catch( Exception ex ) {
+ System.err.println( "Failed to initialize LaF" );
+ }
+
+ /*
try {
BaseNoGui.getPlatform().setLookAndFeel();
} catch (Exception e) {
// ignore
}
+ */
// Use native popups so they don't look so crappy on osx
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
diff --git a/build/windows/launcher/config.xml b/build/windows/launcher/config.xml
index 6fbdd02bd0e..47209603296 100644
--- a/build/windows/launcher/config.xml
+++ b/build/windows/launcher/config.xml
@@ -37,6 +37,7 @@
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: