From dbd4f8becc34ade8dc68d129565837e0e0132dcc Mon Sep 17 00:00:00 2001 From: Frederico Palma Date: Tue, 17 Jan 2006 16:44:27 +0000 Subject: [PATCH] column width git-svn-id: https://svn.coded.pt/svn/SIPRP@205 bb69d46d-e84e-40c8-a05a-06db0d633741 --- trunk/siprp/importer/Importer.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/trunk/siprp/importer/Importer.java b/trunk/siprp/importer/Importer.java index 3c446715..e725452e 100644 --- a/trunk/siprp/importer/Importer.java +++ b/trunk/siprp/importer/Importer.java @@ -125,6 +125,16 @@ public class Importer extends CustomJDialog Virtual2DTableModel tm = new Virtual2DTableModel( colNames, null ); tm.setValues( e2da ); table = new BaseTable( tm ); + switch( type ) + { + case TYPE_ADMISSAO: + table.fixColumnWidth( DEFAULT_SELECTION[ 0 ], 120 ); + break; + + case TYPE_DEMISSAO: + table.fixColumnWidth( DEFAULT_SELECTION_DEMISSAO[ 0 ], 120 ); + break; + } if( !multipleSelection ) { table.getSelectionModel().setSelectionMode( ListSelectionModel.SINGLE_SELECTION );