Search:

Type: Posts; User: Norm

Search: Search took 0.25 seconds.

  1. Re: Insert code that adds the String representation of the selected item to the ArrayList billItems.

    That's too small and it doesn't begin to show the problem. There needs to be a frame with a combobox with a list of items and a listener for the combobox.

    How much of the code in post#5 did you...
  2. Re: Insert code that adds the String representation of the selected item to the ArrayList billItems.

    Please make a small simple program that compiles, executes and shows the problem. Something that is easy to test.


    What methods does the JComboBox have that will help you get the data you want?...
  3. Re: Insert code that adds the String representation of the selected item to the ArrayList billItems.

    No. I'd like a smaller sample program that works om just the one problem:
    String representation of the selected item to the ArrayList
  4. Re: Insert code that adds the String representation of the selected item to the ArrayList billItems.

    That's not a small program that shows the problem. It has too much stuff in it that is not part of the problem and just gets in the way of solving the problem with getting items from a list.
    For...
  5. Re: Insert code that adds the String representation of the selected item to the ArrayList billItems.

    Do you have a small, complete program that compiles, executes and shows the problem? It's hard to make suggestions without code that executes for testing.

    Be sure to wrap your code with code...
  6. Re: Insert code that adds the String representation of the selected item to the ArrayList billItems.

    What have you tried?
    Do you have any specific questions about your problem?
Results 1 to 6 of 6