mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-06 02:18:07 +00:00
Heap widget visibility fixes
This commit is contained in:
@@ -51,8 +51,8 @@ public abstract class AppDialog extends JDialog {
|
||||
View.installEscapeCloseOperation(this);
|
||||
if (Configuration.useRibbonInterface.get()) {
|
||||
getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
|
||||
SubstanceLookAndFeel.setWidgetVisible(this.rootPane, false, SubstanceConstants.SubstanceWidgetType.TITLE_PANE_HEAP_STATUS);
|
||||
}
|
||||
SubstanceLookAndFeel.setWidgetVisible(this.rootPane, false, SubstanceConstants.SubstanceWidgetType.TITLE_PANE_HEAP_STATUS);
|
||||
}
|
||||
|
||||
public ResourceBundle getResourceBundle() {
|
||||
|
||||
@@ -57,10 +57,13 @@ import javax.swing.JFrame;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JOptionPane;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.JRootPane;
|
||||
import javax.swing.JScrollPane;
|
||||
import javax.swing.JTextArea;
|
||||
import javax.swing.JToggleButton;
|
||||
import javax.swing.filechooser.FileFilter;
|
||||
import org.pushingpixels.substance.api.SubstanceConstants;
|
||||
import org.pushingpixels.substance.api.SubstanceLookAndFeel;
|
||||
|
||||
/**
|
||||
* @author JPEXS
|
||||
@@ -231,6 +234,10 @@ public class ErrorLogFrame extends AppFrame {
|
||||
}
|
||||
};
|
||||
handler.setLevel(Level.WARNING);
|
||||
|
||||
if (Configuration.useRibbonInterface.get()) {
|
||||
SubstanceLookAndFeel.setWidgetVisible(this.rootPane, false, SubstanceConstants.SubstanceWidgetType.TITLE_PANE_HEAP_STATUS);
|
||||
}
|
||||
}
|
||||
|
||||
public void clearLog() {
|
||||
|
||||
Reference in New Issue
Block a user