public class GSplitFrame extends JInternalFrame
{
- private static final int DIVIDER_SIZE = 5;
+ protected static final int DIVIDER_SIZE = 5;
private static final long serialVersionUID = 1L;
return false;
}
Point p = comp.getLocationOnScreen();
- Rectangle r = new Rectangle(p.x, p.y, comp.getWidth(), comp.getHeight());
+ Rectangle r = new Rectangle(p.x, p.y, comp.getWidth(),
+ comp.getHeight());
return r.contains(loc);
}
else
{
this.dividerRatio = splitPane.getDividerLocation()
- / (double) (splitPane.getHeight() - splitPane
- .getDividerSize());
+ / (double) (splitPane.getHeight()
+ - splitPane.getDividerSize());
}
if (alignFrame == this.topFrame)