103 void setOpacity(float opacity); 104 105 /** 106 * Enables the per-pixel alpha support for the window. 107 * 108 * @see Window#setBackground(Color) 109 */ 110 void setOpaque(boolean isOpaque); 111 112 /** 113 * Updates the native part of non-opaque window. 114 * 115 * @see Window#setBackground(Color) 116 */ 117 void updateWindow(); 118 119 /** 120 * Instructs the peer to update the position of the security warning. 121 */ 122 void repositionSecurityWarning(); 123 } | 103 void setOpacity(float opacity); 104 105 /** 106 * Enables the per-pixel alpha support for the window. 107 * 108 * @see Window#setBackground(Color) 109 */ 110 void setOpaque(boolean isOpaque); 111 112 /** 113 * Updates the native part of non-opaque window. 114 * 115 * @see Window#setBackground(Color) 116 */ 117 void updateWindow(); 118 119 /** 120 * Instructs the peer to update the position of the security warning. 121 */ 122 void repositionSecurityWarning(); 123 124 /** 125 * Grabs focus. 126 */ 127 void grabFocus(); 128 129 /** 130 * Ungrabs focus. 131 * 132 * @param postEvent posts {@code UngrabEvent} when {@code true} 133 */ 134 void ungrabFocus(boolean postEvent); 135 } |