Re: JDK 1.6 and JFrame icon



On 27-6-2006 15:17, Thomas Kellerer wrote:
Hello,

I'm testing my application using JDK 1.6 (to make sure it will also work with that).

There is one thing that is not working properly: my icon that I set for the main window (JFrame) is not displaying under Windows when using Alt-Tab. I does display fine in the window itself and in the task bar, but not when I use Alt-Tab.

Any idea? Maybe a know bug in JDK 1.6 (I have noticed this with NetBeans as well, so it seems to be related to the JDK and not necessarily to my program)

Thanks in advance
Thomas

Maybe a bug related to the new 1.6 feature which allows you to specify multiple icon images. The platform chooses the best image where needed, e.g. a 16x16 image as title bar icon, and a 32x32 one as Alt-Tab icon
<http://java.sun.com/javase/6/docs/api/java/awt/Window.html#setIconImages(java.util.List)>
--
Regards,

Roland
.



Relevant Pages

  • Re: Problems hiding the main form and displaying only a tray icon
    ... > I want my application to run most of the time as just an notify icon> visible in the system tray, with some dialogs windows that open if the> user selects an option from the context menu on the tray icon. ... It was all fine until I noticed that the> form was visible in the Alt-Tab menu and once you had alt-tabbed to it> there was no way of hiding it again:(> ... > But today I have noticed that now I can no longer minimize or hide the> form it appears as a minizied tool window in the bottom left of my desktop> when the application is running and even worse if the user double clicks> on the title bar the window expands to its normal size, apart from the> form is empty and there's no way to minimize it again! ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: JDK 1.6 and JFrame icon
    ... for the main window is not displaying under Windows when using Alt-Tab. ... I does display fine in the window itself and in the task bar, but not when I use Alt-Tab. ... Maybe a bug related to the new 1.6 feature which allows you to specify multiple icon images. ...
    (comp.lang.java.gui)
  • Problems hiding the main form and displaying only a tray icon
    ... I want my application to run most of the time as just an notify icon ... visible in the system tray, with some dialogs windows that open if the user ... FixedToolWindow then it was no longer visible in the Alt-Tab menu, ... title bar the window expands to its normal size, ...
    (microsoft.public.dotnet.languages.csharp)
  • Hidding a window and preventing Alt-Tabbing to it
    ... user interaction with my application to come from interacting with a notify ... icon with a context menu in the system tray. ... as its still visible in the Alt-Tab menu. ... Does anyone know of any way to completely hide a window visibly(so no part ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Hidding a window and preventing Alt-Tabbing to it
    ... Use Form.Hideto hide the window rather than minimizing it. ... Danielb wrote: ... > icon with a context menu in the system tray. ... as its still visible in the Alt-Tab menu. ...
    (microsoft.public.dotnet.framework.windowsforms)