This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable columns aren't set to preferred size  RSS feed

 
Sayeed Mahmud
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, this is my first post, i am trying to draw a JTable on a JFrame using absolute layout (setLayout(null)), every thing is ok, except the columns aren't set to my preferred size, but if i move my mouse on a button in another class the columns get the preferred size in a blink of an eye, whats the problem ?? here is the class that contain jtable and trust me the other class contain nothing about the table, somebody help please.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!