< prev index next >

src/share/classes/java/awt/peer/WindowPeer.java

Print this page
rev 1556 : 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window
Reviewed-by: anthony, tdv, alexp


  44     boolean requestWindowFocus();
  45     void setModalBlocked(Dialog blocker, boolean blocked);
  46     void updateMinimumSize();
  47     void updateIconImages();
  48 
  49     /**
  50      * Sets the level of opacity for the window.
  51      *
  52      * @see Window#setOpacity(float)
  53      */
  54     void setOpacity(float opacity);
  55 
  56     /**
  57      * Enables the per-pixel alpha support for the window.
  58      *
  59      * @see Window#setBackground(Color)
  60      */
  61     void setOpaque(boolean isOpaque);
  62 
  63     /**
  64      * Updates the native part of non-opaque window using
  65      * the given image with color+alpha values for each pixel.
  66      *
  67      * @see Window#setBackground(Color)
  68      */
  69     void updateWindow(BufferedImage backBuffer);
  70 
  71     /**
  72      * Instructs the peer to update the position of the security warning.
  73      */
  74     void repositionSecurityWarning();
  75 }


  44     boolean requestWindowFocus();
  45     void setModalBlocked(Dialog blocker, boolean blocked);
  46     void updateMinimumSize();
  47     void updateIconImages();
  48 
  49     /**
  50      * Sets the level of opacity for the window.
  51      *
  52      * @see Window#setOpacity(float)
  53      */
  54     void setOpacity(float opacity);
  55 
  56     /**
  57      * Enables the per-pixel alpha support for the window.
  58      *
  59      * @see Window#setBackground(Color)
  60      */
  61     void setOpaque(boolean isOpaque);
  62 
  63     /**
  64      * Updates the native part of non-opaque window.

  65      *
  66      * @see Window#setBackground(Color)
  67      */
  68     void updateWindow();
  69 
  70     /**
  71      * Instructs the peer to update the position of the security warning.
  72      */
  73     void repositionSecurityWarning();
  74 }
< prev index next >