Results 1 to 2 of 2
  1. #1
    NickkicN is offline Member
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    0

    Exclamation URGENT choicebox

    How do u declare and initialize choice boxes??

    Is it like

    String[] TypeItems = {"Regular", "Diet"};

    Choice cboType = new Choice(TypeItems);

    or

    String[] TypeItems = {"Regular", "Diet"};

    cboType = new Choice(TypeItems);

    the latter gave a compiler error saying that <identifier> is expected

    PLEASE HELP
    MANY THANKS

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

Similar Threads

  1. URGENT choicebox
    By NickkicN in forum New To Java
    Replies: 2
    Last Post: 08-14-2008, 07:53 PM
  2. URGENT choicebox
    By NickkicN in forum Advanced Java
    Replies: 1
    Last Post: 08-14-2008, 07:37 PM
  3. Hi, need some urgent help!
    By jdark in forum New To Java
    Replies: 2
    Last Post: 04-18-2008, 07:50 AM
  4. Help me ...urgent!
    By googgoo in forum New To Java
    Replies: 7
    Last Post: 04-05-2008, 09:46 AM
  5. please help urgent
    By ananas7777 in forum AWT / Swing
    Replies: 2
    Last Post: 12-25-2007, 09:30 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
  •