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 function of abstractaction class?

0 Answers  


Why do we use swing in java?

0 Answers  


What are the swing components?

0 Answers  


How to link two forms in java swing?

0 Answers  


What is java swing application?

0 Answers  






how can u handle runtime exceptions in java plz explain with examples briefly?

3 Answers   Fujitsu, IBM,


I want to change the appearance of Frame in Runtime, what class can be used to do this?

2 Answers   TCS, Wipro,


How to add calendar in java swing using eclipse?

0 Answers  


Is swing an adjective?

0 Answers  


What are swing components?

0 Answers  


am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career.

0 Answers   eClinicalWorks,


What is the difference between swing and applet?

0 Answers  


Categories