LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 403 users online 225188 members 531 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
MajorT0M
Favs: Movies: -Howl's Moving Castle -Princes...
Mood: Frustrated
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
3 online / 26 MPM
Christmas Eve
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Topic Printing from one class then going to the next class
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
LivDawg Posted at 3:54 pm on June 15, 2009
hi I have two classes, one class is a LogOnMenu and the other is a CheckOutMenu.
in the LogOnMenu the user is prompted to either select sales, maintance or shut down,

Once the user selects sales he/she has to sign in (password and username stored in a .txt)

After they sign in I want it to go to the CheckOutMenu but I'm not sure how to do that! Any suggestions would be helpful.

Oh the checkOutMenu is where the user can sell dessertItems of various sorts if the customer wants to purchase another item they can and it just run through the program again and then when customer doesn't want no more items it ends and prints a recipt then exits.  

Replies
LivDawg Posted at 9:48 am on June 16, 2009
Ah thnx heaps :)
Sector Corrupt Posted at 9:36 pm on June 15, 2009
Quote: from HotChica at 6:57 pm on June 15, 2009

wat the fuck is this about??????? boring

Please, if you're not a programmer do NOT post in this forum. The fact you can't understand what is going on does not mean "spam with how programming is boring"

Anyway, I don't actually know Java (From what I've seen of it it looks horrific to work with to be honest) but programming logic  in general is fairly obvious and I know a bit of object orientation. Anyway, it seems that if they've already been authenticated you just create a CheckOutMenu object and call its main menu method?  I don't quote know the syntax but it shouldn't be that difficult if you can write the class.

HotChica Posted at 3:57 pm on June 15, 2009
Post from this position was omitted due to content violations
All 3 previous replies displayed.