How to merging the particular cells in JTable



How to merging the particular cells in JTable..

Answer / chaitanya

TableCellRenderer renderer = aColumn.getHeaderRenderer();
or u can modify the code
TableCellRenderer renderer = header.getDefaultRenderer();

Is This Answer Correct ?    4 Yes 24 No

Post New Answer

More Swing Interview Questions

What is the use of jfc in java swing?

0 Answers  


How is multi-threading gets implemented using swing?

0 Answers  


how to give transparency to JComboBox,JList and JTable

5 Answers   Ness Technologies,


What is the difference between applications and applets?

0 Answers  


Which package is needed for swing components?

0 Answers  






In what context should the value of swing components be updated directly?

0 Answers  


what is difference between checked and unchecked exception plz explain examples ?

5 Answers   Fujitsu,


Which types of components are used in designing swing based gui?

0 Answers  


Name the method, to expand & collapse nodes in a Jtree?

1 Answers   Wipro,


What is the use of swing in java?

0 Answers  


What is import javax swing in java?

0 Answers  


Why swing is used in java?

0 Answers  


Categories