Am trying to implement a jframe with the following components:
Jtextarea, Jtextfield1, Jtextfield2, Jtextfield3 and three grouped JRadio buttons namely (continuee, save, cancel) and a “Submit” button.
I have this code that is meant to store a list of sales items in an array, then displays them in Jtextarea and then continues to update the items if the “continue” button is selected, or displays array items in Jtextarea and save the items in the database if “save” button is selected, or deletes/refreshes the array items if “cancel” button is selected.
So far I have this code, but still have some issues to fix… like, 1) each item is displayed twice per entry. 2) the items are not stored as array. 3) cant get items displayed in jtextarea. 4) how can I really refresh an array?
These are my codes so far. Please any help would be much appreciated…..
I came up with the following codes with JFrame and swing control.. everything seems to work fine but the items are not arrayed and it only displays the current text on the jtextfield... please any good suggestions will be appreciated: below are the codes for the jframe and swing ....