Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Tanasoiu Alexandru

Greenhorn
+ Follow
since Mar 27, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tanasoiu Alexandru

mmmm... okay but what about the part where i have to know witch ones were checked...
And if I use just one panel... how can I do this then... ??
I have to go now, I'll read about GridLayouts when I get home and post some code and see what I am able to do.
thanks
9 years ago
Hello there.
I want to create some dynamic checkboxes based on the content of two tables from my DB that looks like a pivot.

I was thinking before I red this topic about using a Vector<JPanel> for each line and one more for the labels above.
Each JPanel offcourse will have a Vector of components like described in the recent posts.
I am new to java swing and i don't know very good the layouts and how can I use them just in a single Panel in witout using the Vector of JPanels

Or I was thinking maybe to use a JTable but i'm not so good with them so i'll better stick with the panels
I will post some code to do this tonight.
What do you guys think?
Is there a better way to do this without using the Vector of JPanels?
If you can do this into a single panel and if that isn't to complicated to work with then please help

Cheers!
9 years ago