Search:

Type: Posts; User: Fermen

Search: Search took 0.18 seconds.

  1. Replies
    5
    Views
    2,079

    Re: Showing JPanel error

    Oh, I think I found out the error now. I should have extended my VisaStapel - class with JPanel instead of JFrame...

    Thanks for the help everyone :)
  2. Replies
    5
    Views
    2,079

    Re: Showing JPanel error

    Yes, this change make it work. But it should, according to my instructions work the way I wrote it to. This is the error:

    Exception in thread "main" java.lang.IllegalArgumentException: adding a...
  3. Replies
    5
    Views
    2,079

    Showing JPanel error

    Why do I get this error? --> Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container

    It's ridiculous... I'm just adding a JPanel to a JFrame..or?

    Class...
Results 1 to 3 of 3