java - How to add text from one JTextField to another by pressing a JButton -


i creating applet in java user enters data 4 different 4 different text fields, clicks button, , data taken fields , stored in text field next it.

i have button made, , implements actionlistener, not sure how text 4 fields 1 field together.

just not sure how text 4 fields 1 field together.

jtextfield has gettext() method. invoke method on 4 different text field string value each text field.

jtextfield has settext() method. combine 4 strings 1 , set text of 5th text field.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -