This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting Column Headers in a JTable outside of constructor

 
Gabriel O'braiden
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'm trying to create a Panel that queries a database and updates a JTable. The table headers need to be capable of changing text whenever the language of the application changes (done in a separate dialog).
Right now the table is not being shown in the frame. I'm using tableModel.setIdentifiers to update the text in the header.

If anyone knows what I'm doing wrong here please let me know.

Thanks

Code follows and has been modified so that no database queries are done.

UpdateablePanel.java



ModifiableTableModel.java
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic