• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

JAVA question

joe678

Platinum Member
does anyone know know how to make a JTable dynamic? Example, if in the constructor it is initiated with 3 columns, and somewhere in my prorgram i decide it should be 4 columns.

i tried altering the defaulttablemodel inside the method im changing the number of columns in but it doesnt seem to work. i also tried creating a new method to update the defaulttablemodel, but then it seems to not load the info i want in the jtable....

i know this description is vague at best, but appreciate it if anyone has any ideas off the top of their headds...btw..its a jdbc program...

thanks
joe
 
thanks ufs, i was actually looking on that site, but i must have overlooked the FIRST method 🙂

 
Back
Top