title: Taskbar icon with multi frame app in Swing Java
body: <p>I have a Java Swing application where several frames could be opened at once. Each of the frames has its own icon image. How does it determined by OS which of the icons should be used in the task bar.
  And is there any way to switch the icon to another frame' icon?</p>