@Override protected void doPaint(Graphics2D g, JXLabel label, int width, int height) { Insets i = getInsets(); g = (Graphics2D) g.create(-i.left, -i.top, width, height); try { label.paint(g); } finally { g.dispose(); } } //if any of the state of the JButton that affects the foreground has changed,
@Override protected void doPaint(Graphics2D g, JXLabel label, int width, int height) { Insets i = getInsets(); g = (Graphics2D) g.create(-i.left, -i.top, width, height); try { label.paint(g); } finally { g.dispose(); } } //if any of the state of the JButton that affects the foreground has changed,
@Override protected void doPaint(Graphics2D g, JXLabel label, int width, int height) { Insets i = getInsets(); g = (Graphics2D) g.create(-i.left, -i.top, width, height); try { label.paint(g); } finally { g.dispose(); } } //if any of the state of the JButton that affects the foreground has changed,
@Override protected void doPaint(Graphics2D g, JXLabel label, int width, int height) { Insets i = getInsets(); g = (Graphics2D) g.create(-i.left, -i.top, width, height); try { label.paint(g); } finally { g.dispose(); } } //if any of the state of the JButton that affects the foreground has changed,
protected void doPaint(Graphics2D g, JXLabel label, int width, int height) { Insets i = getInsets(); g = (Graphics2D) g.create(-i.left, -i.top, width, height); try { label.paint(g); } finally { g.dispose(); } } //if any of the state of the JButton that affects the foreground has changed,
Insets i = getInsets(); pWidth = getWidth() - i.left - i.right; pHeight = getHeight() - i.top - i.bottom;
Insets i = getInsets(); pWidth = getWidth() - i.left - i.right; pHeight = getHeight() - i.top - i.bottom;
Insets i = getInsets(); pWidth = getWidth() - i.left - i.right; pHeight = getHeight() - i.top - i.bottom;
Insets i = getInsets(); pWidth = getWidth() - i.left - i.right; pHeight = getHeight() - i.top - i.bottom;
pWidth = getWidth(); pHeight = getHeight(); Insets i = getInsets(); if (backgroundPainter != null) { Graphics2D tmp = (Graphics2D) g.create();
Insets insets = getInsets(); int dx = insets.left + insets.right; int dy = insets.top + insets.bottom;
Insets insets = getInsets(); int dx = insets.left + insets.right; int dy = insets.top + insets.bottom;
Insets insets = getInsets(); int dx = insets.left + insets.right; int dy = insets.top + insets.bottom;
Insets insets = getInsets(); int dx = insets.left + insets.right; int dy = insets.top + insets.bottom;
Insets insets = getInsets(); int dx = insets.left + insets.right; int dy = insets.top + insets.bottom;