I have jtable with rows added dynamicly by vectors. In netbeans its working when I add new row to my jtable, but when I compile my program and run the jar file it doesnt work, its show up only when I hold down the left mouse button and moving over the jtable then the new rows are drawned. What's wrong? what am I missing?
to add a new row to my jtable by a Jbutton that has actionlistener for it. in netbeans when I run it its working. How come in netbeans its working then when I compile it ,its not?
its still not working even I've changed it to vector, the jtable rows arent drawned after compiling it and running the jar file. Altough in netbeans its working. How come? I found it out!
My table column adjuster caused the problem, can somebody check for me why isnt working with it?
Joined: Jul 11, 2012
I resolved it. I copied TableColumnAdjuster java content to my main java file, and its working now, although I dont know why It cant access to it if its in another class file. Thank you all.
Joined: Aug 07, 2007
If the problem was it couldn't find the class then a exception should have been thrown which would have dumped the stack trace to the console (unless you are catching and ignoring exceptions in your code).