Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to make a start/menu screen?

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to make a start/menu screen?

    hey, thanks for taking the time to read this, i do apologize if this question is hard/too easy, but i am sort of new to java.

    I'm making a cook book type of program and i would like to make a starting screen, with a button on there which takes you to another JFrame with the recipe on there. I know how to make the recipe page, but how do i make the button remove the starting window and bring up the recipe window?

    thank you

    - Scott


  2. #2
    Junior Member
    Join Date
    Dec 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to make a start/menu screen?

    I am not sure if you obtained a solution to this yet, but implementing an action listener for the button so that when an action is performed you have some code that will make the recipe frame visible and the initial frame invisible. Good luck.

Similar Threads

  1. Replies: 7
    Last Post: November 26th, 2011, 07:29 AM
  2. How to make a new screen on applet.
    By pottsiex5 in forum Java Applets
    Replies: 6
    Last Post: November 23rd, 2011, 02:12 PM
  3. How to make a mouseclick somewhere on the screen?
    By Broodjie in forum Java Theory & Questions
    Replies: 4
    Last Post: March 22nd, 2011, 06:58 AM
  4. JFrame Menu Screen(For my game)?
    By DarrenReeder in forum Java Theory & Questions
    Replies: 2
    Last Post: March 8th, 2010, 04:07 AM
  5. Help - Return to menu screen
    By throzen in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 29th, 2009, 01:44 PM

Tags for this Thread