| setFixedCellHeight() | ใช้กำหนด ความสูง ของแต่ละรายการ ใน Object JList |
|---|
method:setFixedCellHeight ( int_height );
return type:void
content:ใช้กำหนด ความสูง ของแต่ละรายการ ใน Object JList
example:Vector vector = new Vector (); vector.addElement ( "bamboo" ); vector.addElement ( "labcode" ); JList list = new JList ( vector ); list.setFixedCellHeight ( 24 );