扫码下载编程狮APP
import javax.swing.JDialog; import javax.swing.JFrame; public class Main { public static void main(String[] args) { JFrame frame = new JFrame(); JDialog dialog = new JDialog(frame, "Dialog"); dialog.pack(); dialog.setVisible(true); } }
联系方式:
扫描二维码
下载编程狮App
扫码关注 领资料包