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
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