Hi everyone! I'm currently working on a projet where I retrieve data from my database and display it using JTable. I'm using NetBeans as IDE.
My problem is that jtable columns are not correctly adjusted to their content. I want my JTable to display horizontal scrollbar when there are too many columns. I tried some solutions found online it didn't work and i'm stuck.

if you have any idea that can help me I will apreciate it.