Hi everybody,
I am developing a desktop application which evaluates an excel file. In the excel file there are Course Titles, Course Codes etc. and my program has to list these cells with radiobuttons for selecting a course. The excel part has no problem, the program reads the data and put them in a string arrays.It puts every column into a different String array, so i have 6 string arrays (every one has about 600 records) . I pass them to GUI for printing, selecting etc.
My problem starts here: I thought a solution like; Create jradiobuttons and jlabels with using index numbers of arrays, list them like an excel appearance. i need to create labels and radio buttons dynamically, because the excel file is not static, the information in it can change in time. I tried some ways to create Radiobuttons and Labels dynamically but i can't ! I used GroupLayout for creation. As a result, i need a solution or a new idea. Maybe i am thinking in a hard way, because i am a little newbie.
I thought using tables but it seems very amateur to me.