Title: Help simple scroll pane problem
private JPanel getWordDecodePanel()
  {
    JPanel panel = new JPanel(new BorderLayout()); 
    wordDecodeTable = new JTable(); 
    JScrollPane scroll = new JScrollPane(wordDecodeTable);
    panel.add(scroll, BorderLayout.CENTER);
    return panel;
  } 
 
this will not scroll
 
private JPanel getWordDecodePanel()
  {
    JPanel panel = new JPanel(new BorderLayout()); 
    wordDecodeTable = new JTable(); 
    panel.add(new JScrollPane(wordDecodeTable)l, BorderLayout.CENTER);
    return panel;
  }  
 
this will....
no explination...
Dones anyone know why?
aaron

Reply via email to