|
That won't compile as it doesn't match the expected input for the signature showMessageDialog (showMessageDialog(Component, Object, String, int) is what you want to give it).
Separate the two input messages with a +, not a comma. Then add \n to the start of the Class Average string, and it will add the linefeed.
|