Search:

Type: Posts; User: Norm

Search: Search took 0.30 seconds.

  1. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    In the listener you get a reference to the component that caused the event from the object passed to the listener. Cast that object to the type of component it is: say a combobox and then you can...
  2. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    What happens when you select each of those items? Are the listeners called so that they can save what was selected?
    Or when do you determine what was selected?
  3. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    The steps the program needs to take could be:
    Gather the data needed
    compute the results
    display the results
  4. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    Can you explain the steps the code takes or should take and what the problems are?
  5. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    Where do you add those two JLabels to the GUI that is showing? Look at where you have added other components that are showing to see if you have added the missing labels in a way that they are added...
  6. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    I was asking for the names of the variables for the labels that are not showing so I can find them in the source and see where you haven't added them to the GUI that is being shown.
  7. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    What are the variable names for the labels that are not showing?
  8. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    The posted code is an application not an applet. Applets execute in a browser.


    Can you explain what the problem is when you execute the code? I see some labels when I compile and execute the...
  9. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    Where do you add any buttons to a container?
  10. Re: Trying to get two textBoxes and two JComboButtons to work with three dropdown boxes.

    Can you explain what your problem is?
    Are you trying to build a GUI displaying multiple components like textboxes and comboboxes?

    First you need to have a design of where they all go.
    Then use...
Results 1 to 10 of 10