mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
08.37.2008 5021366d8c24a901e9c8c166aa4f509f13dbdb9d
Fix a rendering problem with the button in the information messages of the QuickSetup by making the button non opaque.
1 files modified
15 ■■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/ui/CustomHTMLEditorKit.java 15 ●●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/CustomHTMLEditorKit.java
@@ -27,10 +27,12 @@
package org.opends.quicksetup.ui;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.HashSet;
import javax.swing.JButton;
import javax.swing.text.Element;
import javax.swing.text.View;
import javax.swing.text.ViewFactory;
@@ -126,6 +128,19 @@
        }
      }
    }
    /**
     * {@inheritDoc}
     */
    protected Component createComponent()
    {
      Component comp = super.createComponent();
      if (comp instanceof JButton)
      {
        ((JButton)comp).setOpaque(false);
      }
      return comp;
    }
  }
  private static long lastActionWhen = 0;