Results 1 to 3 of 3
  1. #1
    vampirepulse is offline Member
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Default creating a 'back' option

    attached i have a small program which is a small sample of what i'm working on... this is a mobile phone interface (very simple, just text interface), and what i need is to be able to perform a back option to go to a previous menu...did you understand... i would appreciate all the help and try to keep is simple... thanks.
    Attached Files Attached Files

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    If your goal is to get as many folks here to read your code and help you, if program is small, you're far better off just posting the code directly to the forum. but having said that, please remember that when posting your code, please use code tags so that your code will retain its formatting and be readable.

    To do this, you will need to paste already formatted code into the forum, highlight this code, and then press the "code" button at the top of the forum Message editor prior to posting the message. Another way is to place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:

    Java Code:
    [code]
      // your code block goes here.
      // note the differences between the tag at the top vs the bottom.
    [/code]
    Good luck.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Looking at your code, I think that you want to create separate methods for your menus, and put the whole thing in a "master" while loop that only exits when the user decides to exit the app.

Similar Threads

  1. CVS with -f option
    By amiga23 in forum Eclipse
    Replies: 2
    Last Post: 09-22-2008, 03:57 AM
  2. Why to Use J2EE and Option for this.
    By mgrprasad90 in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 08-27-2008, 10:32 AM
  3. Why to Use J2ME and Option to use this?
    By mgrprasad90 in forum CLDC and MIDP
    Replies: 0
    Last Post: 08-27-2008, 10:21 AM
  4. Is JSP the right option?
    By Naga in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-20-2008, 07:48 AM
  5. the -eprof option?
    By GVD in forum Advanced Java
    Replies: 2
    Last Post: 01-10-2008, 02:48 PM

Posting Permissions

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