如何让我的图像背景更大,以填满JFrame的空间。
private static void gamePanel() {
JFrame frame = new JFrame("Mascot Fight Game");
frame.setContentPane(new JLabel(new ImageIcon(System
.getProperty("user.dir") + "/image/big10_legends_leaders.gif")));
Container panel = frame.getContentPane();
panel.setLayout(null);
String[] iconString = new String[3];
int[] boundInt = new int[3];