Method getCellBounds(int index0, int index1)
Return type:
java.awt.Rectangle
Member of:
javax.swing.JList
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
Rectangle r = _jList.getCellBounds(0, 0);
2
Dimension dim = new Dimension(ps.width + 24, lstSuggestions.getCellBounds(0, rows).height);
3
Rectangle r= getCellBounds(list.size() - 1, list.size() -1);
4
list.repaint(list.getCellBounds(lastIndex, lastIndex));
5
list.repaint(list.getCellBounds(lastIndex, lastIndex));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.