vendredi 27 février 2015

Java - add more strings via UI and include in another string

so I am creating a java application using netbeans, I currently have a jframe with some labels and text fields in, 6 to be exact, users would fill these in and then click the create button which adds them strings to another larger string that has a lot of formatting in, the second string called endform is written in BBcode for a forum, now what I am looking to do is add a button under these textfields to create another set of these labels and textfields and then where all the strings are put together in endform I need it to read the new variables the script has created. A further break down:



  • User fills in textfields 1-6

  • User creates another set of textfields and fills them in

  • App needs to include all textfields so 1-6a and 1-6b in the endtext string, however the user can add another set as many times as they want.


Thanks for your help.


Aucun commentaire:

Enregistrer un commentaire