Hierarchy in Project
Hi, thanks for your helps in advance.
I almost finish my project but I have added an Username and password page to my project.However, whenever I tried to run project in netbeans 6.7.1 , page, I have finished first, is opening. How can I put that username / password as initial page in my project. Secondly, I want to make connections between these pages. When "OK" button is clicked after entering Username and password, I want second Jframeform to appears and that username / password page disappears.
is that Username and password page is a JSP page ?
I am very new to Java. That's why, I do not know terms of it so much. Let me clarify it , I have finished X page which is Jframe form and then , I created a Y page(username and password) which is again Jframe form . However, when I want to run my program, X is started but I want Y to get started while running my program.
If Y extends JFrame, then use the normal method calls to start a JFrame.
I want Y to get started
JFrame aY = new Y().
// do other things normally done to your frame to position and size it (if needed)
Thank you so much Norm,
That solved my problem easily:)