d1=new JDialog();
d1.setSize(200, 100);
t1=new JTextField();
t1.setBounds(10,10,40,20);
d1.add(t1);
I want to add components in JDialog such as TextField, Button...
See Question&Answers more detail:os d1=new JDialog();
d1.setSize(200, 100);
t1=new JTextField();
t1.setBounds(10,10,40,20);
d1.add(t1);
I want to add components in JDialog such as TextField, Button...
See Question&Answers more detail:os