我正在创建一个简单的MPG应用程序。它开始出现错误,我加入后: String strGallons = gallons1.getText();
int gal = Integer.parseInt(strGallons);
String strMiles = miles1.getText();
int mil = Integer.parseInt(strMiles);
int mpg =
是否可以组织我的JTextArea上的文本。 JTextArea information = new JTextArea("User1Click: \nUser2Click");
JButton button = new JButton();
JButton button1 = new JButton();
JButton button2 = new JButton();
JButton