5354555657585960616263
*/ protected void updateComponent(Component comp, Graphics g) { if (comp != null) { ComponentPeer peer = comp.getPeer(); if (peer != null) { peer.paint(g); } super.updateComponent(comp, g); } }
6667686970717273747576
*/ protected void paintComponent(Component comp, Graphics g) { if (comp != null) { ComponentPeer peer = comp.getPeer(); if (peer != null) { peer.paint(g); } super.paintComponent(comp, g); } } }