I'm New to Java please help to solve this problem.
I need to fill JTable with a Select Query results.
I can get coded data into a JTable like this from an Array.
Also I can Print the Select Query result (But not in a Jtable) like this
But I need to get the Query results to appear in the JTable instead of
Currently I have both parts in together.
No errors, Please help me to Display this Select Query ("SELECT VID,Name From Main")
in JTable. Whole code looks like this. I know this is simple, But I'm new to Java.
I know this is crazy , But I'm struggling to do this
please help. Thank you very much for reading!