This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm very new to Java. Actually I just started 3 days ago. My only other programming experience is with excel vba. I'm trying to write a small program but don't know where to start. I want to run an sql query, create a JTable (within a large JFrame) that's sized correctly to represent the data found, and then put the results into that table. Would it be best to import the SQL query data into an array and then into the table?? What I have achieved so far is a small gui which has a few buttons that run queries and post the data into a textarea, but not a table. Is there any good documentation for working with JTables? What would you guys recommend I read? I know some of this is vague, so sorry about that. I can go more into detail if necessary!!