Darcula Swapped With DarkLAF
Now that the swing interaction is working lag free, DarkLaf runs without any performance issues. DarkLAF is an updated version of Darcula so it makes sense to only support one, but if anyone wants it added back we could look at implementing dynamic/custom LAFs down the road using reflection
This commit is contained in:
parent
fa766a4851
commit
fe57e4f099
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
e1c0e9bdc5e1a9117385316e9953bf18
|
|
@ -1 +0,0 @@
|
|||
1f1bd37eb6a58bcbeca533757b452fda2e3bf58a
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.bulenkov</groupId>
|
||||
<artifactId>darcula</artifactId>
|
||||
<version>2017.11bcv</version>
|
||||
</project>
|
|
@ -1 +0,0 @@
|
|||
18d7207a865f9f1c7ac091ae2175c816
|
|
@ -1 +0,0 @@
|
|||
c24c87ad97daac49a716c8b1b35de813faa14315
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>com.bulenkov</groupId>
|
||||
<artifactId>darcula</artifactId>
|
||||
<versioning>
|
||||
<release>2017.11bcv</release>
|
||||
<versions>
|
||||
<version>2017.11bcv</version>
|
||||
</versions>
|
||||
<lastUpdated>20210623081823</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
|
@ -1 +0,0 @@
|
|||
8c77ae68030a23cf5be1ad543a810476
|
|
@ -1 +0,0 @@
|
|||
890769d1a55221b9f778bfb92a8af22bfd3439df
|
5
pom.xml
5
pom.xml
|
@ -219,11 +219,6 @@
|
|||
<artifactId>D2Jar-obf</artifactId>
|
||||
<version>1.0bcv</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.bulenkov</groupId>
|
||||
<artifactId>darcula</artifactId>
|
||||
<version>2017.11bcv</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.weisj</groupId>
|
||||
<artifactId>darklaf-core</artifactId>
|
||||
|
|
|
@ -51,7 +51,7 @@ public class SearchableRSyntaxTextArea extends RSyntaxTextArea
|
|||
|
||||
public SearchableRSyntaxTextArea()
|
||||
{
|
||||
if(Configuration.lafTheme == LAFTheme.BETTER_DARK)
|
||||
if(Configuration.lafTheme == LAFTheme.DARK)
|
||||
{
|
||||
//this fixes the white border on the jScrollBar panes
|
||||
scrollPane.getHorizontalScrollBar().setBackground(scrollBackground);
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package the.bytecode.club.bytecodeviewer.gui.theme;
|
||||
|
||||
import com.bulenkov.darcula.DarculaLaf;
|
||||
import com.github.weisj.darklaf.LafManager;
|
||||
import com.github.weisj.darklaf.theme.DarculaTheme;
|
||||
import com.github.weisj.darklaf.theme.IntelliJTheme;
|
||||
|
@ -14,10 +13,9 @@ import javax.swing.*;
|
|||
*/
|
||||
public enum LAFTheme
|
||||
{
|
||||
SYSTEM("System Theme (Fast)", RSTATheme.DEFAULT), //System theme
|
||||
DARK("Dark Theme (Fast)", RSTATheme.DARK), //Darcula 2017
|
||||
BETTER_DARK("Better Dark Theme (Slow)", RSTATheme.DARK), //Darcula 2021
|
||||
LIGHT("Light Theme (Slow)", RSTATheme.DEFAULT), //Intellij theme
|
||||
SYSTEM("System Theme", RSTATheme.DEFAULT), //System theme
|
||||
DARK("Dark Theme", RSTATheme.DARK), //DarkLaf
|
||||
LIGHT("Light Theme", RSTATheme.DEFAULT), //Intellij theme
|
||||
;
|
||||
|
||||
private final String readableName;
|
||||
|
@ -49,10 +47,6 @@ public enum LAFTheme
|
|||
break;
|
||||
|
||||
case DARK:
|
||||
UIManager.setLookAndFeel(new DarculaLaf());
|
||||
break;
|
||||
|
||||
case BETTER_DARK:
|
||||
LafManager.install(new DarculaTheme());
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user