JPanel is your superclass, in this case, so you need to insert the code...
super(String title)
//title is what the dialog box will be named in its title bar
...before your other code.
...
Type: Posts; User: snowguy13
JPanel is your superclass, in this case, so you need to insert the code...
super(String title)
//title is what the dialog box will be named in its title bar
...before your other code.
...