mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-26 20:54:22 +01:00
Merge bfb5a9903399cd8338bb3109ad66ca4a5dc3af6e into 3278173ef810935e07808deed58783c1bc7ca4cf
This commit is contained in:
commit
4b2f30f137
BIN
app/lib/flatlaf-0.27.jar
Normal file
BIN
app/lib/flatlaf-0.27.jar
Normal file
Binary file not shown.
@ -61,6 +61,8 @@ import processing.app.syntax.PdeKeywords;
|
|||||||
import processing.app.syntax.SketchTextAreaDefaultInputMap;
|
import processing.app.syntax.SketchTextAreaDefaultInputMap;
|
||||||
import processing.app.tools.MenuScroller;
|
import processing.app.tools.MenuScroller;
|
||||||
import processing.app.tools.ZipDeflater;
|
import processing.app.tools.ZipDeflater;
|
||||||
|
import com.formdev.flatlaf.FlatLightLaf;
|
||||||
|
import com.formdev.flatlaf.FlatDarkLaf;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
@ -244,12 +246,19 @@ public class Base {
|
|||||||
Theme.init();
|
Theme.init();
|
||||||
System.setProperty("swing.aatext", PreferencesData.get("editor.antialias", "true"));
|
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 {
|
try {
|
||||||
BaseNoGui.getPlatform().setLookAndFeel();
|
BaseNoGui.getPlatform().setLookAndFeel();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Use native popups so they don't look so crappy on osx
|
// Use native popups so they don't look so crappy on osx
|
||||||
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
|
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
<cp>%EXEDIR%/lib/commons-logging-1.0.4.jar</cp>
|
<cp>%EXEDIR%/lib/commons-logging-1.0.4.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/commons-net-3.3.jar</cp>
|
<cp>%EXEDIR%/lib/commons-net-3.3.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/commons-io-2.6.jar</cp>
|
<cp>%EXEDIR%/lib/commons-io-2.6.jar</cp>
|
||||||
|
<cp>%EXEDIR%/lib/flatlaf-0.27.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/jackson-annotations-2.9.5.jar</cp>
|
<cp>%EXEDIR%/lib/jackson-annotations-2.9.5.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/jackson-core-2.9.5.jar</cp>
|
<cp>%EXEDIR%/lib/jackson-core-2.9.5.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/jackson-databind-2.9.5.jar</cp>
|
<cp>%EXEDIR%/lib/jackson-databind-2.9.5.jar</cp>
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
<cp>%EXEDIR%/lib/commons-logging-1.0.4.jar</cp>
|
<cp>%EXEDIR%/lib/commons-logging-1.0.4.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/commons-net-3.3.jar</cp>
|
<cp>%EXEDIR%/lib/commons-net-3.3.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/commons-io-2.6.jar</cp>
|
<cp>%EXEDIR%/lib/commons-io-2.6.jar</cp>
|
||||||
|
<cp>%EXEDIR%/lib/flatlaf-0.27.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/jackson-annotations-2.9.5.jar</cp>
|
<cp>%EXEDIR%/lib/jackson-annotations-2.9.5.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/jackson-core-2.9.5.jar</cp>
|
<cp>%EXEDIR%/lib/jackson-core-2.9.5.jar</cp>
|
||||||
<cp>%EXEDIR%/lib/jackson-databind-2.9.5.jar</cp>
|
<cp>%EXEDIR%/lib/jackson-databind-2.9.5.jar</cp>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user