public void paint (Graphics g) { if (PropUtils.useOptimizedCustomButtonPainting() && !hasFocus()) { if (log) { PropUtils.log (ButtonPanel.class, "Blitting custom editor "+ "button backing store for button at " + getBounds() + " in " + (getParent() == null ? " null parent" : getParent() + "editor=" + inplace)); //NOI18N } ((Graphics2D)g).drawRenderedImage(getSnapshot(), at); } else { if (log) { PropUtils.log (ButtonPanel.class, "Painting unoptimized custom editor "+ "button button at " + getBounds() + " in " + (getParent() == null ? " null parent" : getParent() + "editor=" + inplace)); //NOI18N } super.paint(g); } }
public void paint (Graphics g) { if (PropUtils.useOptimizedCustomButtonPainting() && !hasFocus()) { if (log) { PropUtils.log (ButtonPanel.class, "Blitting custom editor "+ "button backing store for button at " + getBounds() + " in " + (getParent() == null ? " null parent" : getParent() + "editor=" + inplace)); //NOI18N } ((Graphics2D)g).drawRenderedImage(getSnapshot(), at); } else { if (log) { PropUtils.log (ButtonPanel.class, "Painting unoptimized custom editor "+ "button button at " + getBounds() + " in " + (getParent() == null ? " null parent" : getParent() + "editor=" + inplace)); //NOI18N } super.paint(g); } }
public void paint(Graphics g) { if (PropUtils.useOptimizedCustomButtonPainting() && !hasFocus()) { if (log) { PropUtils.log( ButtonPanel.class, "Blitting custom editor " + "button backing store for button at " + getBounds() + " in " + ((getParent() == null) ? " null parent" : (getParent() + "editor=" + inplace)) ); //NOI18N } ((Graphics2D) g).drawRenderedImage(getSnapshot(), at); } else { if (log) { PropUtils.log( ButtonPanel.class, "Painting unoptimized custom editor " + "button button at " + getBounds() + " in " + ((getParent() == null) ? " null parent" : (getParent() + "editor=" + inplace)) ); //NOI18N } super.paint(g); } }