LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 625 users online 225336 members 1039 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Anon9876
Music: Emo, screamo, post-hardcore...
Mood: Confused
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
5 online / 28 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

Printing from one class then going to the next class
Java!!
Replies: 3Last Post June 16 9:48am by LivDawg
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( LivDawg )


Quality Control Engineer
Reply
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.  

-------
Kei Te Aroha Au I A Koe


3:54 pm on June 15, 2009 | Joined: Feb. 2009 | Days Active: 64
Join to learn more about LivDawg Australia | Straight Female | Posts: 192 | Points: 834
LiveWire Humor
Post from this position was omitted due to content violations
Sector Corrupt


Guru

Patron
Tech Support Leader
Reply
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.

-------
Livewire Wifey: Katie :D
Windows, For when you don't know any better.
Mac, for when you think you do.
Linux, for when you actually want to get something done.


9:36 pm on June 15, 2009 | Joined: May 2005 | Days Active: 1,055
Join to learn more about Sector Corrupt Ontario, Canada | Straight Male | Posts: 4,213 | Points: 21,544
( LivDawg )


Quality Control Engineer
Reply
Ah thnx heaps :)

-------
Kei Te Aroha Au I A Koe

9:48 am on June 16, 2009 | Joined: Feb. 2009 | Days Active: 64
Join to learn more about LivDawg Australia | Straight Female | Posts: 192 | Points: 834
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic