e831. 从JTabbedPane中删除一个卡片

 // To create a tabbed pane, see e828 创建JTabbedPane
    
    // Remove the last tab
    pane.remove(pane.getTabCount()-1);
    
    // Remove the tab with the specified child component
    pane.remove(component);
    
    // Remove all the tabs
    pane.removeAll();
Related Examples
原文地址:https://www.cnblogs.com/borter/p/9596316.html