8 Replies Latest reply: Apr 8, 2008 3:25 PM by 807601 RSS

    PROBLEM WITH ARRAYLIST,PLZ HELP ME OUT

    807601
      MY PROGRAM IS LIKE THIS:::::::::
      STOCKNAME-----------
      STOCKSYMBOL---------
      STOCK PRICE--------
      ENTER(BUTTON)
      WHEN USER ENTERS HIS INPUT IN THE TEXT BOX AND PRESS ENTER, THEN THE TEXT PRESENT IN THE TEXTBOX SHOULD BE ENTERED INTO AN ARRAYLIST.

      THIS IS A GUI PROGRAM......
      WHEN WE CLOSE THE FRAME ,WE HAVE TO DISPLAY THE CONTENTS PRESENT IN THE ARRAYLIST

      I HAVE CREATED THE PROGRAM LIKE THIS
      CLASS STOCKENTRYPANEL EXTENDS JPANEL
      {
      //ADDING ALL THE COMPONETNS TO THE PANEL
      }
      CLASS STOCKENTRY FRAME EXTENDS JFRAME
      {
      //ADDING PANEL TO THE FRAME
      //I NEED THE CODE HERE
      WHEN WE CLOSE THE WINDOW THE ARRAYLIST DETAILS SHOULD BE PRINTED
      }