I am not able to get the Column names on the JTable. I am creating a JTable at runtime. The sample snippet is given below.
import javax.swing.*;
I am not able to get the Column Name on the top of each column. I am just getting the data values entered to the Table.
Also Added the screen shot of t he output