1.顯示一個(gè)錯(cuò)誤對(duì)話框,該對(duì)話框顯示的 message 為 'alert': 1 JOptionPane.showMessageDialog(null,"alert","alert", JOptionPane.ERROR_MESSAGE); 2.顯示一個(gè)內(nèi)部信息對(duì)話框,其 message 為 'information': 1 JOptionPane.showInternalMessageDialog(frame,"information","information", JOptionPane.INFORMATION_MESSAGE...
www.dbjr.com.cn/article/947...htm 2025-5-25