-
Enhancement
-
Resolution: Unresolved
-
P4
-
fx2.0.1
-
Win7 64bit, JavaFX 2.0.1,
Hello,
I've added icons to stage with below code...
{code}
stage.getIcons().add(new Image(JavaFXWindow.class.getResource("ui/resources/appicon_16x16.png").toExternalForm(), 16, 16, false, true));
stage.getIcons().add(new Image(JavaFXWindow.class.getResource("ui/resources/appicon_32x32.png").toExternalForm(), 32, 32, false, true));
stage.getIcons().add(new Image(JavaFXWindow.class.getResource("ui/resources/appicon_48x48.png").toExternalForm(), 48, 48, false, true));
{code}
... and the icon is showed in window titlebar and taskbar.
Screenshot is in attachement.
The problem is icon in taskbar is blurred somehow, like it was resized from smallest stage icon. No matter what combination of sizes I use, it's always blurred.
Forum topic describing the problem: https://forums.oracle.com/forums/thread.jspa?threadID=2327312&tstart=0
I've added icons to stage with below code...
{code}
stage.getIcons().add(new Image(JavaFXWindow.class.getResource("ui/resources/appicon_16x16.png").toExternalForm(), 16, 16, false, true));
stage.getIcons().add(new Image(JavaFXWindow.class.getResource("ui/resources/appicon_32x32.png").toExternalForm(), 32, 32, false, true));
stage.getIcons().add(new Image(JavaFXWindow.class.getResource("ui/resources/appicon_48x48.png").toExternalForm(), 48, 48, false, true));
{code}
... and the icon is showed in window titlebar and taskbar.
Screenshot is in attachement.
The problem is icon in taskbar is blurred somehow, like it was resized from smallest stage icon. No matter what combination of sizes I use, it's always blurred.
Forum topic describing the problem: https://forums.oracle.com/forums/thread.jspa?threadID=2327312&tstart=0