|
|
|
@ -328,6 +328,17 @@ public abstract class UIBubbleFloatPane<T> extends BasicBeanPane<T> {
|
|
|
|
|
final JPanel contentPane = (JPanel) this.getContentPane(); |
|
|
|
|
this.setLayout(null); |
|
|
|
|
contentPane.add(UIBubbleFloatPane.this); |
|
|
|
|
setContentBorder(contentPane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 检查 |
|
|
|
|
*/ |
|
|
|
|
public void checkValid() throws Exception { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void setContentBorder(JPanel contentPane) { |
|
|
|
|
if (SystemInfo.isWindows) { |
|
|
|
|
contentPane.setBorder(new Border() { |
|
|
|
|
@Override |
|
|
|
@ -350,15 +361,9 @@ public abstract class UIBubbleFloatPane<T> extends BasicBeanPane<T> {
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
contentPane.setBorder(null); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 检查 |
|
|
|
|
*/ |
|
|
|
|
public void checkValid() throws Exception { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |