I have displayed a JTable in my JPanel.The JTable is inside a scrollpane. The only problem is the gridlines are not showing up.I tried to use this line of code but it didn't work.
table.setShowGrid(true);
Below is a picture: Note there are no gridlines
Thank you in advance.