Search:

Type: Posts; User: copeg

Search: Search took 0.08 seconds.

  1. Thread: component

    by copeg
    Replies
    4
    Views
    1,650

    Re: component

    The code creates an array, but doesn't instantiate the objects of that array



    JPanel[] panels = new JPanel[1];
    panels[0].add(new JComponent());//throws a null pointer exception because...
  2. Thread: component

    by copeg
    Replies
    4
    Views
    1,650

    Re: component

    What is the question?
Results 1 to 2 of 2