+ 3
Hi, I Have a question. How can i save the JTextField content in ArrayList using a JButton?
5 Respuestas
+ 10
arrylist.add (idOftextfield.getText().toString());
it's like that
+ 10
This would help you out ( if you meant about transferring the JTextField content into an ArrayList ) :
https://stackoverflow.com/questions/13743652/put-data-from-jtextfields-into-arraylist-on-jbutton-click-actionlistener
+ 8
@Saeid
I'm not a Java GUI developer so I'm unaware of all these stuff. Therefore, I provided you the most better link. Understanding depends on your knowledge, I think you should see what @said has to say about your issue :]
+ 2
thank you! i have seen more than 10 posts in "stackoverflow" since yesterday but all of them were unrelated to my Q.
+ 1
@Dayve
it's really hard to understand that code! for example
alleVareList = kaldSQL.alleVarer(connectDB);