call to super first line
<p>I am a newbee so advise and help is always greatly appreciated.</p>

<p>Cannot seem to get my container contentPane to display the title.</p>

<p>My code:</p>

<pre><code>class CreateStockCodeDetails extends JFrame implements ActionListener 
{ 

     OptraderSA parent; 


     OptraderGlobalParameters GV = new OptraderGlobalParameters(); 
     private boolean DEBUG = true; //Set DEBUG = true for Debugging 

JButton SAVE_BUTTON     = new JButton("SAVE"); 
JButton CANCEL_BUTTON   = new JButton("CANCEL"); 

Font MyFont         = new Font("Helvetica",Font.BOLD,24); 

JLabel PriceBidLabel           = new JLabel("  Bid Price",JLabel.LEFT); 
JLabel PriceAskLabel           = new JLabel("  Ask Price",JLabel.LEFT); 
JLabel PriceMidLabel           = new JLabel("  Mid Price",JLabel.LEFT); 
JLabel DividendLabel           = new JLabel("  Dividend",JLabel.LEFT); 

JTextField PriceBid    = new JTextField(5); 
JTextField PriceAsk    = new JTextField(5); 
JTextField PriceMid    = new JTextField(5); 
JTextField Dividend           = new JTextField(5); 

JTextField NewUnderlyingCode  = new JTextField(10); 

String NewCode; 

 public void CreateStockDetails(String StockCode) 
 { 
       **super("Hallo All");** 

       Container contentPane = getContentPane(); 
       setSize(400,500); 
       setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); 

       //Centre Screen To Right Of Main 
  Dimension sd=Toolkit.getDefaultToolkit().getScreenSize(); 
  super.setLocation(sd.width/2-100/2, sd.height/2-300/2); 
</code></pre>

<p>Thanks</p>

<p>Kind Regards Stephen </p>
