コード例 #1
0
  /** Installs the appropriate <code>Border</code> onto the <code>JRootPane</code>. */
  void installBorder(JRootPane root) {
    int style = root.getWindowDecorationStyle();

    if (style == JRootPane.NONE) {
      LookAndFeel.uninstallBorder(root);
    } else {
      LookAndFeel.installBorder(root, borderKeys[style]);
    }
  }
コード例 #2
0
ファイル: RootPaneUI.java プロジェクト: rob-work/iwbcff
  /** Installs the appropriate <code>Border</code> onto the <code>JRootPane</code>. */
  void installBorder(JRootPane root) {
    int style = root.getWindowDecorationStyle();

    if (style == JRootPane.NONE) {
      LookAndFeel.uninstallBorder(root);
    } else {
      root.setBorder(new RootPaneBorder());
    }
  }
コード例 #3
0
 /** Removes any border that may have been installed. */
 private void uninstallBorder(JRootPane root) {
   LookAndFeel.uninstallBorder(root);
 }
コード例 #4
0
 protected void uninstallDefaults() {
   LookAndFeel.uninstallBorder(optionPane);
 }
コード例 #5
0
 protected void uninstallDefaults(AbstractButton b) {
   LookAndFeel.uninstallBorder(b);
 }
コード例 #6
0
 protected void uninstallDefaults() {
   LookAndFeel.uninstallBorder(progressBar);
 }
コード例 #7
0
 protected void uninstallDefaults(JPanel p) {
   LookAndFeel.uninstallBorder(p);
 }