Search:

Type: Posts; User: GregBrannon

Search: Search took 0.07 seconds.

  1. Re: having some issues displaying objects in my GUI

    Didn't mean you to struggle with it, but it's good you did some research. What it would look like is:
    // . . . excerpted from class CDs
    private JLabel labelTval;

    // this declares CD...
  2. Re: having some issues displaying objects in my GUI

    You're welcome.

    Even though you say you're writing your GUI code by hand and I don't doubt you, it looks like you've studied code generated by a graphical programming tool like Netbeans' GUI...
  3. Re: having some issues displaying objects in my GUI

    I dunno. I was going to ask you the same thing. What is the get() method supposed to do?

    I'm guessing that the updateGUI() method fills the GUI with the details of the CD[] element at the index...
  4. Re: having some issues displaying objects in my GUI

    Just as it says, the source of the error is this line in method CDs.main():

    new CDs( CD ).setVisible( true ); // this should call the GUI

    And the error is caused by the parameter CD which is of...
Results 1 to 4 of 4