Browse Source

Pull request #2281: REPORT-38525 【JDK11设计器】插件商城不能用

Merge in DESIGN/design from ~LANLAN/design:release/10.0 to release/10.0

* commit 'c69ecfcfdef1827aa17890bc012752040c34da9f':
  REPORT-38525 【JDK11设计器】插件商城不能用
feature/big-screen
Lanlan 4 years ago
parent
commit
02bd771582
  1. 2
      designer-base/src/main/java/com/fr/design/extra/LoginDialog.java
  2. 2
      designer-base/src/main/java/com/fr/design/extra/ShopDialog.java

2
designer-base/src/main/java/com/fr/design/extra/LoginDialog.java

@ -24,7 +24,7 @@ public class LoginDialog extends UIDialog {
}
private void init(Component pane) {
if (StableUtils.getMajorJavaVersion() == 8) {
if (StableUtils.getMajorJavaVersion() >= 8) {
setUndecorated(true);
}
JPanel panel = (JPanel) getContentPane();

2
designer-base/src/main/java/com/fr/design/extra/ShopDialog.java

@ -16,7 +16,7 @@ public class ShopDialog extends UIDialog {
public ShopDialog(Frame frame, BasicPane pane) {
super(frame);
if (StableUtils.getMajorJavaVersion() == 8) {
if (StableUtils.getMajorJavaVersion() >= 8) {
setUndecorated(true);
}
JPanel panel = (JPanel) getContentPane();

Loading…
Cancel
Save