/[classpath]/classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by rveldema, Mon Mar 11 15:48:06 2002 UTC revision 1.2 by rveldema, Tue Mar 12 11:36:23 2002 UTC
# Line 28  public class BasicTabbedPaneUI  extends Line 28  public class BasicTabbedPaneUI  extends
28                                    
29                  Dimension pr = comp.getPreferredSize();                  Dimension pr = comp.getPreferredSize();
30    
31                  d.width = Math.max(d.width, comp.width);                  d.width = Math.max(d.width, comp.getWidth());
32                  d.height = Math.max(d.height, comp.height);                  d.height = Math.max(d.height, comp.getHeight());
33              }              }
34                    
35          Insets i = p.getInsets();          Insets i = p.getInsets();
# Line 46  public class BasicTabbedPaneUI  extends Line 46  public class BasicTabbedPaneUI  extends
46      }      }
47            
48    
49      Rectangle getTabBounds(JTabbedPane pane, int index)      public Rectangle getTabBounds(JTabbedPane pane, int index)
50      {      {
51          return null;          return null;
52      }      }
53    
54      int getTabRunCount(JTabbedPane pane)      public int getTabRunCount(JTabbedPane pane)
55      {      {
56          return 0;          return 0;
57      }      }
58    
59      int tabForCoordinate(JTabbedPane pane, int x, int y)      public int tabForCoordinate(JTabbedPane pane, int x, int y)
60      {      {
61          return 0;          return 0;
62      }      }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26