Java Button Width
问题 I've tried to use this and it doesn't work singleplayerButton.setBounds(20, 20, 200, 100); I dont know why though, can anybody help me out with this? My full page code is here package gmine; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class gmine implements ActionListener { JFrame interfaceFrame; JButton singleplayerButton, multiplayerButton, optionsButton, quitButton; public gmine() { JFrame.setDefaultLookAndFeelDecorated(false); interfaceFrame = new JFrame("G