当我运行带有打印线的调试器时,它运行正常,但是一旦我将joptionpane方法放入其中就崩溃了。我导入了javax.swing.joptionpane。
Integer.parseInt(String, int) line: 470
Integer.parseInt(String, int) line: 470
Integer.parseInt(String) line: 499
AquaOptionPaneUI(BasicOptionPaneUI).getMnemonic(String, Locale) line: 806
AquaOptionPaneUI(BasicOptionPaneUI).getButtons() line: 773 [local variables unavailable]
AquaOptionPaneUI(BasicOptionPaneUI).createButtonArea() line: 613 [local variables unavailable]
AquaOptionPaneUI.createButtonArea() line: 33 [local variables unavailable]
AquaOptionPaneUI(BasicOptionPaneUI).installComponents() line: 161 [local variables unavailable]
AquaOptionPaneUI(BasicOptionPaneUI).installUI(JComponent) line: 124
JOptionPane(JComponent).setUI(ComponentUI) line: 662
JOptionPane.setUI(OptionPaneUI) line: 1837
JOptionPane.updateUI() line: 1859 [local variables unavailable]
JOptionPane.<init>(Object, int, int, Icon, Object[], Object) line: 1822
JOptionPane.showInputDialog(Component, Object, String, int, Icon, Object[], Object) line: 552
JOptionPane.showInputDialog(Component, Object, String, int) line: 508
JOptionPane.showInputDialog(Component, Object) line: 458
JOptionPane.showInputDialog(Object) line: 424
debugtest.main(String[]) line: 15
答案 0 :(得分:0)
64位eclipse是问题,一旦我下载了32位版本的Mac,它就像蛇的魅力