《Java 2 图形设计卷Ⅱ- SWING》第12章 轻量容器
}
}
private int getIndexOf(Component button) {
int ncomponents = cp.getComponentCount();
replacement += " Index: " + lp.getIndexOf(button);
replacement += " Index: " + lp.getIndexOf(button);
replacement += " Position: " +
lp.getPosition(button);
replacement += " Index: " + lp.getIndexOf(button);
replacement += " Position: " +
lp.getPosition(button);
t += " Index: " + getIndexOf(label);
}
});
}
}
left.getMinimumSize());
System.out.println("right button minimum size: " +
right.getMinimumSize());
lb.getText() + ": " + lb.getSize() + " / " +
rb.getText() + ": " + rb.getSize());
}
}
});
}
}
12.5.3 JSplitPane类总结
?略
12.5.4 AWT兼容
?略
?
?
?
?