jf.show( );
jf.setVisible( true );
	public static void main( String[] args )	{		FormatChartsViewer fcv = new FormatChartsViewer( );		JFrame jf = new JFrame( );		jf.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );		jf.addComponentListener( fcv );		Container co = jf.getContentPane( );		co.setLayout( new BorderLayout( ) );		co.add( fcv, BorderLayout.CENTER );		Dimension dScreen = Toolkit.getDefaultToolkit( ).getScreenSize( );		Dimension dApp = new Dimension( 600, 400 );		jf.setSize( dApp );		jf.setLocation( ( dScreen.width - dApp.width ) / 2,				( dScreen.height - dApp.height ) / 2 );		jf.setTitle( fcv.getClass( ).getName( ) + " [device=" //$NON-NLS-1$				+ fcv.idr.getClass( ).getName( ) + "]" );//$NON-NLS-1$		ControlPanel cp = fcv.new ControlPanel( fcv );		co.add( cp, BorderLayout.SOUTH );		jf.show( );	}