For this project, I'm using NetBeans 5.0. I came across a problem with referencing instances. I have one frame where the user clicks the register button and this shows the second frame. When they click the button, the first frame's setVisible method is set to false and the second frame is shown. On the second frame, there is a back button to view the first frame. My question is, how can I set the property of the first frame to set visibilty to true? The second frame has no reference to the instance of the first frame, so I was wondering how you would pass that reference to the second form.