Lines Matching refs:AWTUtilities
27 @summary Tests the AWTUtilities.get/setWindowOpacity() methods
35 import com.sun.awt.AWTUtilities;
59 if (!AWTUtilities.isTranslucencySupported(AWTUtilities.Translucency.TRANSLUCENT)) {
71 AWTUtilities.getWindowOpacity(null);
82 AWTUtilities.setWindowOpacity(null, 0.5f);
91 float curOpacity = AWTUtilities.getWindowOpacity(f);
100 AWTUtilities.setWindowOpacity(f, -0.5f);
112 AWTUtilities.setWindowOpacity(f, 1.5f);
121 AWTUtilities.setWindowOpacity(f, 0.5f);
123 curOpacity = AWTUtilities.getWindowOpacity(f);
129 AWTUtilities.setWindowOpacity(f, 0.75f);
131 curOpacity = AWTUtilities.getWindowOpacity(f);
142 curOpacity = AWTUtilities.getWindowOpacity(f);
149 AWTUtilities.setWindowOpacity(f, 0.5f);
152 curOpacity = AWTUtilities.getWindowOpacity(f);