I want to remove a Jtable which is painted on a frame. What problem i am facing is that when first time user selects a text file data of that file get populated into jtable. if user now again selects one file a new Jtable get opened and get populated. What I want is to remove that first one jtable.
posted 12 years ago
If you don't want to have to throw the old JTable away you can update it's model with your new data. If you do want to swap them you can treat your JTables like any components and