View RSS Feed

Java Swing

Java Swing tutorials.

  1. Setting and Changing Column Widths of JTable

    by , 04-26-2012 at 09:44 PM
    All tables which are there in a table by default start with equivalent width and columns are automatically filling up the whole table’s width. When table has become narrow or wide, all widths of column would be changed appropriately.

    When a column is resized by dragging the right border then size of the table or the size of the column must change. Size of the table remains similar by default & all columns which are right to the drag point would be resized so that space ...