label = new JLabel( " Input File Spec. : " );
label.setToolTipText(
"File Specification of the Input Trace File." );
Routines.setShortJComponentSizes( label, lbl_pref_sz );
cmd_infile_panel.add( label );
cmd_infile = new ActableTextField();
cmd_infile_panel.add( cmd_infile );
icon_URL = getURL( Const.IMG_PATH + "Open24.gif" );
infile_btn = null;
if ( icon_URL != null )
infile_btn = new JButton( new ImageIcon( icon_URL ) );
else
infile_btn = new JButton( "Browse" );
infile_btn.setToolTipText( "Select a new Input Logfile" );
infile_btn.setMargin( btn_insets );
cmd_infile_panel.add( infile_btn );
Routines.setShortJComponentSizes( cmd_infile_panel,
row_pref_sz );
upper_panel.add( cmd_infile_panel );
upper_panel.add( Box.createVerticalStrut( 4 ) );
JPanel cmd_outfile_panel = new JPanel();
cmd_outfile_panel.setAlignmentX( Component.CENTER_ALIGNMENT );
cmd_outfile_panel.setLayout( new BoxLayout( cmd_outfile_panel,
BoxLayout.X_AXIS ) );
label = new JLabel( " Output File Name : " );
label.setToolTipText( "File Name of the SLOG-2 File" );
Routines.setShortJComponentSizes( label, lbl_pref_sz );
cmd_outfile_panel.add( label );
cmd_outfile = new JTextField();
cmd_outfile_panel.add( cmd_outfile );
icon_URL = getURL( Const.IMG_PATH + "Open24.gif" );
outfile_btn = null;
if ( icon_URL != null )
outfile_btn = new JButton( new ImageIcon( icon_URL ) );
else
outfile_btn = new JButton( "Browse" );
outfile_btn.setToolTipText( "Select a new Output Logfile" );
outfile_btn.setMargin( btn_insets );
cmd_outfile_panel.add( outfile_btn );
Routines.setShortJComponentSizes( cmd_outfile_panel,
row_pref_sz );
upper_panel.add( cmd_outfile_panel );
upper_panel.add( Box.createVerticalStrut( 4 ) );
cmd_textarea = new AdvancingTextArea();
cmd_textarea.setColumns( 50 );
cmd_textarea.setRows( 5 );
cmd_textarea.setEditable( false );
cmd_textarea.setLineWrap( false );
JScrollPane scroller = new JScrollPane( cmd_textarea );
scroller.setAlignmentX( Component.CENTER_ALIGNMENT );
upper_panel.add( scroller );
upper_panel.add( Box.createVerticalStrut( 4 ) );
JPanel cmd_outfile_status_panel = new JPanel();
cmd_outfile_status_panel.setAlignmentX(
Component.CENTER_ALIGNMENT );
cmd_outfile_status_panel.setLayout(
new BoxLayout( cmd_outfile_status_panel,
BoxLayout.X_AXIS ) );
JPanel cmd_outfile_size_panel = new JPanel();
cmd_outfile_size_panel.setAlignmentY(
Component.CENTER_ALIGNMENT );
cmd_outfile_size_panel.setLayout(
new BoxLayout( cmd_outfile_size_panel,
BoxLayout.X_AXIS ) );
cmd_outfile_size_panel.setBorder(
new TitledBorder( etched_border,
" Output File Size ") );
cmd_outfile_size = new JTextField();
cmd_outfile_size.setEditable( false );
cmd_outfile_size_panel.add( cmd_outfile_size );
Routines.setShortJComponentSizes( cmd_outfile_size_panel,
pfld_pref_sz );
cmd_outfile_status_panel.add( cmd_outfile_size_panel );
JPanel cmd_progress_panel = new JPanel();
cmd_progress_panel.setAlignmentY(
Component.CENTER_ALIGNMENT );
cmd_progress_panel.setLayout(
new BoxLayout( cmd_progress_panel,
BoxLayout.X_AXIS ) );
cmd_progress_panel.setBorder(
new TitledBorder( etched_border,
" Output to Input Logfile Size Ratio " ) );
cmd_progress = new JProgressBar();
cmd_progress.setStringPainted( true );
cmd_progress_panel.add( cmd_progress );
Routines.setShortJComponentSizes( cmd_progress_panel,
pbar_pref_sz );
cmd_outfile_status_panel.add( cmd_progress_panel );
upper_panel.add( cmd_outfile_status_panel );
row_pref_sz = new Dimension( 410, 27 );
lbl_pref_sz = new Dimension( 130, 25 );
// fld_pref_sz = new Dimension( row_pref_sz.width - lbl_pref_sz.width,
// lbl_pref_sz.height );
JPanel lower_panel = new JPanel();
lower_panel.setAlignmentX( Component.CENTER_ALIGNMENT );
lower_panel.setLayout( new BoxLayout( lower_panel,
BoxLayout.Y_AXIS ) );
lower_panel.add( Box.createVerticalStrut( 4 ) );
JPanel cmd_path2jvm_panel = new JPanel();
cmd_path2jvm_panel.setAlignmentX(
Component.CENTER_ALIGNMENT );
cmd_path2jvm_panel.setLayout(
new BoxLayout( cmd_path2jvm_panel,
BoxLayout.X_AXIS ) );
label = new JLabel( " JVM Path : " );
label.setToolTipText(
"Full Pathname of the Java Virtual Machine." );
Routines.setShortJComponentSizes( label, lbl_pref_sz );
cmd_path2jvm_panel.add( label );
cmd_path2jvm = new JTextField();
// Routines.setShortJComponentSizes( cmd_path2jvm,
// fld_pref_sz );
cmd_path2jvm_panel.add( cmd_path2jvm );
Routines.setShortJComponentSizes( cmd_path2jvm_panel,
row_pref_sz );
lower_panel.add( cmd_path2jvm_panel );
lower_panel.add( Box.createVerticalGlue() );
lower_panel.add( Box.createVerticalStrut( 4 ) );
JPanel cmd_option4jvm_panel = new JPanel();
cmd_option4jvm_panel.setAlignmentX(
Component.CENTER_ALIGNMENT );
cmd_option4jvm_panel.setLayout(
new BoxLayout( cmd_option4jvm_panel,
BoxLayout.X_AXIS ) );
label = new JLabel( " JVM Option : " );
label.setToolTipText(
"Option to the Java Virtual Machine." );
Routines.setShortJComponentSizes( label, lbl_pref_sz );
cmd_option4jvm_panel.add( label );
cmd_option4jvm = new JTextField();
// Routines.setShortJComponentSizes( cmd_option4jvm,
// fld_pref_sz );
cmd_option4jvm_panel.add( cmd_option4jvm );
Routines.setShortJComponentSizes( cmd_option4jvm_panel,
row_pref_sz );
lower_panel.add( cmd_option4jvm_panel );
lower_panel.add( Box.createVerticalGlue() );
lower_panel.add( Box.createVerticalStrut( 4 ) );
JPanel cmd_path2jardir_panel = new JPanel();
cmd_path2jardir_panel.setAlignmentX(
Component.CENTER_ALIGNMENT );
cmd_path2jardir_panel.setLayout(
new BoxLayout( cmd_path2jardir_panel,
BoxLayout.X_AXIS ) );
label = new JLabel( " JAR Directory : " );
label.setToolTipText( "Directory of the .jar files." );
Routines.setShortJComponentSizes( label, lbl_pref_sz );
cmd_path2jardir_panel.add( label );
cmd_path2jardir = new ActableTextField();
// Routines.setShortJComponentSizes( cmd_path2jardir,
// fld_pref_sz );
cmd_path2jardir_panel.add( cmd_path2jardir );
Routines.setShortJComponentSizes( cmd_path2jardir_panel,
row_pref_sz );