
otify.2.14.source-code.WindowUtil_Java6 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Notify Show documentation
Show all versions of Notify Show documentation
Linux, MacOS, or Windows (notification/growl/toast/) popups for the desktop for Java 8+
package dorkbox.notify;
import com.sun.awt.AWTUtilities;
import java.awt.Window;
class WindowUtil_Java6 implements WindowUtil {
@Override
public
float getOpacity(final Window window) {
return AWTUtilities.getWindowOpacity(window);
}
@Override
public
void setOpacity(final Window window, final float opacity) {
AWTUtilities.setWindowOpacity(window, opacity);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy