When I set my Game to ContentPane, it creates a thin, black boundary (border) around the inside of the JFrame. How do you make it fill up the entire JFrame (without the borders)?
Or just set JFrame.setResizable() to false, then set JFrame.setVisible() to true?
Looks like I should just use the bugginess as a feature, instead of complaining about it.
Show differencesHistory of post edits
#1tom_mai78101
Posted 18 February 2012 - 12:35 PM
When I set my Game to ContentPane, it creates a thin, black boundary (border) around the inside of the JFrame. How do you make it fill up the entire JFrame (without the borders)?
Or just use pack() after setting JFrame.setResizable() to false?
Looks like I should just use the bugginess as a feature, instead of complaining about it.
Or just use pack() after setting JFrame.setResizable() to false?
Looks like I should just use the bugginess as a feature, instead of complaining about it.