frame.show( );
frame.setVisible( true );
	public static void main( String[] args )	{		SwingLiveChartViewer lcViewer = new SwingLiveChartViewer( );		JFrame frame = new JFrame( );		frame.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );		Container container = frame.getContentPane( );		container.setLayout( new BorderLayout( ) );		container.add( lcViewer, BorderLayout.CENTER );		// Center window on the screen		Dimension dScreen = Toolkit.getDefaultToolkit( ).getScreenSize( );		Dimension dApp = new Dimension( 600, 400 );		frame.setSize( dApp );		frame.setLocation( ( dScreen.width - dApp.width ) / 2,				( dScreen.height - dApp.height ) / 2 );		frame.setTitle( lcViewer.getClass( ).getName( )				+ " [device=" + lcViewer.dRenderer.getClass( ).getName( ) + "]" );//$NON-NLS-1$//$NON-NLS-2$		frame.show( );	}