Results 1 to 5 of 5
  1. #1
    efozdel is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

    Default 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.


    Sincerely..
    Last edited by efozdel; 07-22-2010 at 11:59 AM.

  2. #2
    arun9683 is offline Member
    Join Date
    Jun 2010
    Location
    Bangalore,India
    Posts
    70
    Rep Power
    0

    Default

    is that Username and password page is a JSP page ?
    Arun K R,Bangalore,India
    :)

  3. #3
    efozdel is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

    Default

    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.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,332
    Rep Power
    25

    Default

    I want Y to get started
    If Y extends JFrame, then use the normal method calls to start a JFrame.
    For example:
    JFrame aY = new Y().
    // do other things normally done to your frame to position and size it (if needed)
    aY.setVisible(true);

  5. #5
    efozdel is offline Member
    Join Date
    Jul 2010
    Posts
    22
    Rep Power
    0

Similar Threads

  1. Replies: 6
    Last Post: 07-04-2010, 04:01 PM
  2. Big project
    By bubbless in forum Advanced Java
    Replies: 16
    Last Post: 08-11-2009, 04:02 AM
  3. open existing project project ..
    By itaipee in forum Eclipse
    Replies: 1
    Last Post: 12-28-2008, 08:12 PM
  4. Need help for project
    By rip0904 in forum New To Java
    Replies: 3
    Last Post: 05-15-2008, 03:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •