Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
private Rectangle getMinRect(int idx1, int idx2) { if (!isDisplayable()) { return null; } Rectangle r1 = getItemBounds(idx1); Rectangle r2 = getItemBounds(idx2); Rectangle minRect = r1.union(r2); minRect.width = getClient().width - minRect.x + 1; minRect.grow(1, 1); return minRect; }