Questo il mio codice
codice:
public class TabbedPane extends JTabbedPane{
  private JPanel panelQuery;  
  private JPanel panelInfo;
  private InfoHTML infoHtml;
  private JScrollPane jScrollPane;
  private JButton closeHelp;
          
  public TabbedPane(ControllerSplash ca){
   this.infoHtml = new InfoHTML(); 
   this.panelInfo = new JPanel();   
   this.jScrollPane = new JScrollPane();
   this.closeHelp = new JButton("Close Help");
   this.closeHelp.addActionListener(ca);
   this.jScrollPane.setPreferredSize(new Dimension(1012,590));
   this.jScrollPane.getViewport().add(this.infoHtml);
   this.panelInfo.add(this.jScrollPane);
   this.addTab("Info",this.panelInfo);
   this.addTab("Audio",new JPanel());
  }
    
  public void addTabbedPane(String nameTabbed){
       this.panelQuery = new JPanel();
       this.panelQuery.setLayout(new BorderLayout());
       this.addTab(nameTabbed, this.panelQuery);      
       int indice = this.getTabCount()-1;
       this.setSelectedIndex(indice);
              
  }
 public void getTabbed(){
     int indice = this.getTabCount()-1;
     this.setSelectedIndex(indice);
 } 
  
   
 public void closeTabbedPane(){
     int indice = this.getTabCount()-1;
     this.removeTabAt(indice);
 } 
 
 public void updateInfo(URL url){
     this.panelInfo.add(this.closeHelp);
     this.infoHtml.updateInfo(url);    
    
     
 }
  
 public void putInfo(URL url){
     
     this.infoHtml.updateInfo(url);
  }
  
  
    
}
Vorrei trovare il modo di riferimi al mio tab di nome info?