no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@212 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 20 years ago
parent 266d051876
commit b9fff4aa99

@ -61,7 +61,7 @@ public class DataChooserWindow extends CustomJDialog
private void setupComponents()
{
setTitle( "Escolha os campos correspondentes:" );
setSize(450, 100 + 25 * labels.length );
setSize(450, 120 + 25 * labels.length );
GridBagLayout gbl = new GridBagLayout();
GridBagConstraints gbc = new GridBagConstraints();
gbc.insets = new Insets( 2, 2, 2, 2 );

@ -101,12 +101,12 @@ public class Importer extends CustomJDialog
{
centerSuper();
}
show();
setVisible( true );
}
private void setupComponents( String filename )
{
setSize( 600, 500 );
setSize( 800, 500 );
GridBagLayout gblGridBag = new GridBagLayout();
GridBagConstraints gbcConstraints = new GridBagConstraints();
@ -125,16 +125,18 @@ public class Importer extends CustomJDialog
Virtual2DTableModel tm = new Virtual2DTableModel( colNames, null );
tm.setValues( e2da );
table = new BaseTable( tm );
int col = 0;
switch( type )
{
case TYPE_ADMISSAO:
table.fixColumnWidth( DEFAULT_SELECTION[ 0 ], 120 );
col = DEFAULT_SELECTION[ 0 ];
break;
case TYPE_DEMISSAO:
table.fixColumnWidth( DEFAULT_SELECTION_DEMISSAO[ 0 ], 120 );
col = DEFAULT_SELECTION_DEMISSAO[ 0 ];
break;
}
table.getColumn( col ).setWidth( 200 );
if( !multipleSelection )
{
table.getSelectionModel().setSelectionMode( ListSelectionModel.SINGLE_SELECTION );

Loading…
Cancel
Save