Java弹出框
JOptionPane.showMessageDialog(null, ""+str, str, JOptionPane.PLAIN_MESSAGE);
str里是要輸出的內容
導入的import javax.swing.JOptionPane;可通過快捷糾錯快速插入
總結
- 上一篇: The type List is not
- 下一篇: Java小游戏 —— 德州扑克