Do you have something like this on the internalFrameActivated event of navigation pane? That should take care of the window and taskbar.
I think it's been mentioned before that shortcut icon created by the launcher ignores the application icon, but uses the stock ignition icon.