View Single Post
Old 10-10-2012, 06:43 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,658
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
BillyPerron (10-10-2012)