I am showing a frame on the screen. On Clicking a button, I am opening a FileDialog. As soon as the FileDialog is shown on the screen, I am seeing an extra icon on the taskbar for the file dialog. This is incorrect. Icons are not supposed to be created for dialogs.
This behavior is seen for Native Print and Page Dialogs also but not seen for any of the java created dialogs. When I regressed this behavior, the icons do not appear on the taskbar for FileDialog whereas it appears for Page and Print dialogs on Tiger-FCS. On Mustang b30, icons do not appear for any of the dialogs. This seems to be the correct behavior. But since Mustang-b40, the icons have started appearing for all the dialogs mentioned above. This is reproducible on WinXP as well as Win-Vista (5840).
I have attached a sample test which will show a frame with many buttons. Clicking each of those buttons would bring up the respective dialog. Check the taskbar when the dialogs are opened.