Results 1 to 2 of 2
  1. #1
    smajidali26 is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    Exclamation Combo Box Event handling

    i am using two combo boxes and in first combo box i have Undergraduate program names and second one have Semester no.

    when i m clicking and selecting first combo box value , i m getting respective no of semester from array list and inserting into second combo by calling construtor.

    but the problem is that my second combo box is not update in window. what is the possible solution to get update values.

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    Get the respective index of the semester number for the second comboBox and call
    semesterCombo.setSelectedIndex(index)

Similar Threads

  1. SWT Event Handling
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-30-2007, 12:21 PM
  2. Replies: 2
    Last Post: 12-05-2007, 01:19 PM
  3. problem with event handling!!!
    By ahdus in forum Java Applets
    Replies: 1
    Last Post: 11-17-2007, 06:24 PM
  4. Event Handling
    By luisarca in forum Sun Java Wireless Toolkit
    Replies: 5
    Last Post: 05-07-2007, 06:05 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
  •