lundi 22 août 2016

Generate a file while starting Jfram,and show his values as jCheckbox(s)

I used Apache Poi to generate an Excel file, and i want to display his values in checkbox, so the user can choose the values that he want to see, by checking them, the result will be an other file generated, based on the choice of the user.

i want to know how to:

  • Generate the excel file while starting Jfram, and display his values dynamically as checkbox(s).
  • add dynamically actionListener of each checkbox.

Ex: File.xls contain:

 code  designation    Sold
   1       test1        10
   2       test2        20

The JFram Should :

  • Generate the File.xls and display designation values, to let the user choose from them, and finally generate a new file "Generated.xls" that contain the selected checkbox(s) only.

Thank you.




Aucun commentaire:

Enregistrer un commentaire