private void createSettingsView()
{
float f1;
float[] warpTable;
final ToolBar vtb = new VectorEditorToolBar();
warpTable = new float[ 1024 ];
f1 = 1.0f / 1023;
for( int i = 0; i < 1024; i++ ) {
warpTable[i] = i * f1;
}
warpEditor = new VectorEditor( warpTable );
warpEditor.setSpace( null, VectorSpace.createLinSpace( 0.0, 1.0, 0.0, 1.0, null, null, null, null ));
warpEditor.setPreferredSize( new Dimension( 320, 320 ));
warpEditor.addTopPainter( this );
warpEditor.addMouseListener( new PopupListener( VectorTransformer.createPopupMenu( warpEditor )));
vtb.setBorder( BorderFactory.createMatteBorder( 0, 0, 2, 0, Color.white ));
this.setLayout( new BorderLayout() );
this.add( vtb, BorderLayout.NORTH );
this.add( warpEditor, BorderLayout.CENTER );
vtb.addToolActionListener( warpEditor );
// HelpGlassPane.setHelp( this, "FilterTimeWarp" ); // EEE
}