Browse Source

Fix style violations.

pull/187/head
weisj 4 years ago
parent
commit
66dc706974
  1. 8
      core/src/test/java/ui/ComponentDemo.java
  2. 1
      windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java

8
core/src/test/java/ui/ComponentDemo.java

@ -225,7 +225,7 @@ public interface ComponentDemo {
isSelected()));
}
});
dev.add(new JCheckBoxMenuItem("Darklaf/System Laf"){
dev.add(new JCheckBoxMenuItem("Darklaf/System Laf") {
{
setSelected(true);
addActionListener(e -> {
@ -236,9 +236,9 @@ public interface ComponentDemo {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
LafManager.updateLaf();
} catch (ClassNotFoundException
| UnsupportedLookAndFeelException
| IllegalAccessException
| InstantiationException classNotFoundException) {
| UnsupportedLookAndFeelException
| IllegalAccessException
| InstantiationException classNotFoundException) {
classNotFoundException.printStackTrace();
}
}

1
windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java

@ -110,7 +110,6 @@ public class WindowsTitlePane extends CustomTitlePane {
bundle = ResourceBundle.getBundle("com.github.weisj.darklaf.bundles.actions", getLocale());
this.decorationStyle = decorationStyle;
state = -1;
oldResizable = true;
installSubcomponents();

Loading…
Cancel
Save