jdk/src/solaris/classes/sun/awt/X11/XTrayIconPeer.java
changeset 431 6aea7c26a8dc
parent 116 9c43d9eb1029
child 439 3488710b02f8
equal deleted inserted replaced
430:ff8a4a3ad82f 431:6aea7c26a8dc
   831 
   831 
   832             if (iconImage != null) {
   832             if (iconImage != null) {
   833                 Dimension tpSize = textPanel.getSize();
   833                 Dimension tpSize = textPanel.getSize();
   834                 iconCanvas.setSize(BALLOON_ICON_WIDTH, (BALLOON_ICON_HEIGHT > tpSize.height ?
   834                 iconCanvas.setSize(BALLOON_ICON_WIDTH, (BALLOON_ICON_HEIGHT > tpSize.height ?
   835                                                         BALLOON_ICON_HEIGHT : tpSize.height));
   835                                                         BALLOON_ICON_HEIGHT : tpSize.height));
       
   836                 iconCanvas.validate();
   836             }
   837             }
   837 
   838 
   838             SunToolkit.executeOnEventHandlerThread(xtiPeer.target, new Runnable() {
   839             SunToolkit.executeOnEventHandlerThread(xtiPeer.target, new Runnable() {
   839                     public void run() {
   840                     public void run() {
   840                         if (xtiPeer.isDisposed()) {
   841                         if (xtiPeer.isDisposed()) {