Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable related questions

 
Andy Jung
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

For flexibility reasons of my JTable displaying Room records I use an own model, column-model and cell-renderer.

I didn't figure out yet,

  • how to align the JLabel in the cells, being created by the cell-renderer
  • how to fit the column width to the width of its corresponding column title dynamically



  • Kind regards,
    Andy
     
    Roel De Nijs
    Sheriff
    Posts: 10662
    144
    AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Andy,

    That are a lot of questions

    I don't think anyone is capable to help you, unless some JTable/Swing expert is monitoring this forum. What you are trying to do is far beyond the scope of this assignment (and you'll be the only guy implementing all these fancy trimmings). I just used my own table model and that's it. So if you want your questions being answered: start a new topic with these questions in the Swing-forum

    Kind regards,
    Roel
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic