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(); |
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 |
} |
} |