Search:

Type: Posts; User: cloudracer

Search: Search took 0.22 seconds.

  1. Error when trying to hide JComboBox Option.

    Cannot switch on a value of type Object. Only convertible int values, strings or enum variables are permitted


    I'm trying to hide and option using switch statement but this is the error i...
  2. Replies
    5
    Views
    92

    Re: JComboBox Issue

    Strange. after deleting those two lines and making the variables final it works but only when i input the accom1 combobox first and then the dest1 combobox after.

    Edit: after reading through that...
  3. Replies
    5
    Views
    92

    Re: JComboBox Issue

    Thanks but how would i refer directly to the JComboBoxes? (Sorry I'm a beginner)
  4. Replies
    5
    Views
    92

    JComboBox Issue

    I'm trying to get the input of several JComboBoxes and execute a statement depending on which option the user chose for example if destination combo Box = japan duration combo box = 10 days and ...
Results 1 to 4 of 4