...内容的对话框,按确定按钮后弹出一个新的对话框,并显示你所输入的内容...答:import javax.swing.JOptionPane;public class ShowText {public static void main(String[] args) {String str = (String) JOptionPane.showInputDialog(null, "请输入你大名:\n", "输入ID", JOptionPane.PLAIN_MESSAGE, null, null,"请输入ID");JOptionPane.showMessageDialog(null, str, "显示ID"...