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 javax swing joptionpane?

0 Answers  


What are the benefits of using Swing over AWT?

5 Answers  


Why does JComponent have add() and remove() methods but Component does not?

0 Answers  


What are the components of swing?

0 Answers  


Write a program to paint the off-screen buffer in swings

0 Answers  






What is the purpose of action interface in swing?

0 Answers  


Why are swing components called lightweight?

0 Answers  


How to perform action on button in java swing?

0 Answers  


What is the difference between swing and awt?

0 Answers  


What is java swing components?

0 Answers  


Default layout for a ContentPane in JFC?

8 Answers   HCL,


what are the steps required in creating an empty table drop?

0 Answers  


Categories