Results 1 to 2 of 2

Thread: JCombobox

  1. #1
    Join Date
    Sep 2008
    Posts
    4
    Rep Power
    0

    Default JCombobox

    Hi,I had created a Combobox called cboStart at the GUI form...Now I would like to add the integer of 1 to 12 into the combobox,may I know how can I do it?

  2. #2
    hungleon88 is offline Member
    Join Date
    Aug 2008
    Posts
    41
    Rep Power
    0

    Default

    if you are in design, right click on ComboBox, choose Model, then add Item.
    if you are in source code, use method addItem().

Similar Threads

  1. Got some trouble with JComboBox
    By hungleon88 in forum AWT / Swing
    Replies: 16
    Last Post: 09-15-2008, 12:26 PM
  2. jComboBox and database
    By pravin2008 in forum AWT / Swing
    Replies: 3
    Last Post: 08-25-2008, 05:08 PM
  3. JComboBox
    By Fosters in forum AWT / Swing
    Replies: 0
    Last Post: 08-10-2008, 02:22 PM
  4. Help with jComboBox
    By Marcus in forum AWT / Swing
    Replies: 2
    Last Post: 07-02-2007, 12:08 AM
  5. jcombobox
    By Freddie in forum AWT / Swing
    Replies: 4
    Last Post: 05-11-2007, 01:48 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
  •