Skip to content
Advertisement

Java Radio Button Variable Errors

So this works now, and i fixed the variable calling errors. but I get :

JavaScript

My GUI Pops up but is blank, what is it now? I cannot figure out what the problem is at this time.

JavaScript

This is very important to get resolved, thank you in advance.

Advertisement

Answer

the first error means when you call buildPanel(String, String) you need to use 2 string parameters to pass to the function. At the moment you are not passing the parameters. Second error means the variables you attempt to use are undefined, because of scope issues meaning they are not defined when you try to use them inside a method.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement