So, I created two forms: Input and Output. In the Input form, the user inputs the required information such as name and schedule. Then when the user is finished, he/she will click the "finished" button which brings up the Output form which has all the inputted info from the Input form. Now, I've coded this but, my problem is that when I click the "finished" button on the Input form, the Output form appears but under the Input form. And, I can't click on the Output form. What seems to be the problem?
Here's my "finished" button found on the Input form:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
Output page=new Output();
page.setVisible(true);
}