Parent Directory | Revision Log | Patch
revision 1.19 by rabbit78, Tue Sep 13 10:20:57 2005 UTC | revision 1.20 by rabbit78, Wed Sep 14 09:34:42 2005 UTC | |
---|---|---|
# | Line 888 public class JTabbedPane extends JCompon | Line 888 public class JTabbedPane extends JCompon |
888 | public void insertTab(String title, Icon icon, Component component, | public void insertTab(String title, Icon icon, Component component, |
889 | String tip, int index) | String tip, int index) |
890 | { | { |
891 | if (title == null) | |
892 | title = ""; | |
893 | Page p = new Page(title, icon, component, tip); | Page p = new Page(title, icon, component, tip); |
894 | tabs.insertElementAt(p, index); | tabs.insertElementAt(p, index); |
895 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |