×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Himesh Sharma
Added: Feb 5, 2021 8:02 AM
Views: 4736
Tags: col jtable width
  1. stringTable.getColumnModel().getColumn(0).setMinWidth(30);
  2. stringTable.getColumnModel().getColumn(0).setMaxWidth(50);
  3. stringTable.getColumnModel().getColumn(0).setPreferredWidth(36);