List of usage examples for javax.swing.plaf LayerUI subclass-usage
From source file Main.java
class TopRightCornerLabelLayerUI extends LayerUI<JComponent> { private JLabel l = new JLabel("A Label at right corner"); private JPanel rubberStamp = new JPanel(); @Override public void paint(Graphics g, JComponent c) {
From source file Main.java
class BlockedColorLayerUI extends LayerUI<JProgressBar> { BufferedImage bi; int prevw, prevh; @Override public void paint(Graphics g, JComponent c) {
From source file Main.java
class CloseableTabbedPaneLayerUI extends LayerUI<JTabbedPane> { JPanel p = new JPanel(); Point pt = new Point(-100, -100); MyCloseButton button = new MyCloseButton(); public CloseableTabbedPaneLayerUI() {
From source file Wallpaper.java
class WallpaperLayerUI extends LayerUI<JComponent> { @Override public void paint(Graphics g, JComponent c) { super.paint(g, c); Graphics2D g2 = (Graphics2D) g.create();
From source file Myopia.java
class BlurLayerUI extends LayerUI<JComponent> { private BufferedImage mOffscreenImage; private BufferedImageOp mOperation; public BlurLayerUI() { float ninth = 1.0f / 9.0f;
From source file Diva.java
class SpotlightLayerUI extends LayerUI<JPanel> { private boolean mActive; private int mX, mY; @Override public void installUI(JComponent c) {
From source file TapTapTap.java
class WaitLayerUI extends LayerUI<JPanel> implements ActionListener { private boolean mIsRunning; private boolean mIsFadingOut; private Timer mTimer; private int mAngle;
From source file FieldValidator.java
class ValidationLayerUI extends LayerUI<JFormattedTextField> { @Override public void paint(Graphics g, JComponent c) { super.paint(g, c); JLayer jlayer = (JLayer) c;