Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    14
    Views
    1,187

    Re: GUI part in lines of action

    The code would give errors because this statement was missing:

    board[i][j] = new JPanel();
    It would cause a NullPointerException
  2. Replies
    14
    Views
    1,187

    Re: GUI part in lines of action

    Do you get errors when executing the code? Copy the full text and pasted it here.
  3. Replies
    14
    Views
    1,187

    Re: GUI part in lines of action

    Both classes have a main() method. Which class do you use with the java command to execute the program?
  4. Replies
    14
    Views
    1,187

    Re: GUI part in lines of action

    Please post any code you have questions about in the thread. No links.
  5. Replies
    14
    Views
    1,187

    Re: GUI part in lines of action

    Take a look at the tutorial:
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
  6. Replies
    14
    Views
    1,187

    Re: GUI part in lines of action

    Do you have any specific questions about your assignment?
    Please post your code and any questions about problems you are having.
Results 1 to 6 of 6