jdk/src/solaris/classes/sun/awt/X11/XLabelPeer.java
changeset 10096 f9ac9a52952d
parent 5506 202f599c92aa
child 12822 611c4a708b4e
equal deleted inserted replaced
10095:daec42746ec0 10096:f9ac9a52952d
    83     /**
    83     /**
    84      * Paint the label
    84      * Paint the label
    85      */
    85      */
    86     // NOTE: This method is called by privileged threads.
    86     // NOTE: This method is called by privileged threads.
    87     //       DO NOT INVOKE CLIENT CODE ON THIS THREAD!
    87     //       DO NOT INVOKE CLIENT CODE ON THIS THREAD!
    88     public void paint(Graphics g) {
    88     @Override
       
    89     void paintPeer(final Graphics g) {
    89         int textX = 0;
    90         int textX = 0;
    90         int textY = 0;
    91         int textY = 0;
    91         g.setColor(getPeerBackground());
    92         g.setColor(getPeerBackground());
    92         g.fillRect(0, 0, width, height);
    93         g.fillRect(0, 0, width, height);
    93 
    94