Results 1 to 1 of 1

Thread: [RESOLVED] java: how to add items to jComboBox

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    [RESOLVED] java: how to add items to jComboBox

    How would I add items to jComboBox using the code (not the design)

    I need to pull data from a database then throw it into a jComboBox at runtime.

    But I dont know how to add items to jComboBox (using netbeans for design).

    edit: jComboBox1.addItem():

    Well, that was a hour well spent.
    Last edited by Zeratulsdomain; Nov 27th, 2007 at 09:58 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
  •  



Click Here to Expand Forum to Full Width