Search:

Type: Posts; User: copeg

Search: Search took 0.12 seconds.

  1. Replies
    9
    Views
    2,424

    Re: A program with a GUI

    You do not define what 'lm' is anywhere else in the object, which is why you are getting the error. As mentioned earlier you need to let the class know what is what...As an example of how to...
  2. Replies
    9
    Views
    2,424

    Re: A program with a GUI

    The compiler needs a reference to your ArrayList object. I don't know how your project is organized, but however you do it your EventHandler class must know of your list through a reference. You can...
  3. Replies
    9
    Views
    2,424

    Re: A program with a GUI

    Make sure your PopupWindow extends JFrame. If it does you will probably have to post the code to that object because its tough to debug without knowing that info
  4. Replies
    9
    Views
    2,424

    Re: A program with a GUI

    This is because you need to call fireTableDataChanged on a reference to your abstract table model...I'm guessing you are calling it in a static context (eg AbstractTableModel. fireTableDataChanged()...
  5. Replies
    9
    Views
    2,424

    Re: A program with a GUI

    You just need to create a JOptionPane and retrieve the output...the JOptionPane handles all the intricacies. Grab the returning string, then create a new item object based upon that input, and add...
Results 1 to 5 of 5