JOptionPane Spacing
Im fairly new to programming and am experimenting with a JOptionPane in my game, and Im trying to work how to have spacing between the text, so I could theoretically have the games introduction in the message window- such as;
message part1
message part2
the current code im using is;
JOptionPane.showMessageDialog(null, "This is the game", "game", JOptionPane.PLAIN_MESSAGE);
but i want to display something like;
This is the game
The controls for the game are....
blah blah more text
on more than one line- how would I go about this? I know its probably a really basic error, but I honestly cant find where to find the information!
cheers people
Javagamer

