0
GUI building in JAVA ....adding components on click
swing library has been added (working in Netbeans) JButton btn=new JButton(b); JTextFeild txt=new JTextFeild("textfeild"); txt.setbounds(10,50,100,20); btn.addActionListener(new ActionListener(ActionPerformed{btn.add(txt)})); I can't share whole code because it's too lengthy and also I don't know how to import codes thanks
1 Resposta
0
I think most people have moved away from swing, take a look at JavaFX