I am creating a Java Swing based desktop application in Netbeans. The application consists of some JFrames to get and display user data. The problem I am facing is that when a parent frame loads another frame, 2 separate tasks are visible in the Windows Task Manager. When the child frame loads its child frame, one more task appears in the Task Manager. Do you have a clue as to what I may be doing wrong out here?
Help will be appreciated.
Answer
Use JDialog instead of second JFrame.