Currently I have a standard SQL query in a String. I know exactly which column name fields to select to output into my JTable.
This should be easy.
But this is my question. For example, like on TOAD or SQLTools or Oracle Developer, when a user runs their SQL code (e.g. a select statement like SELECT * FROM tablename), how can I make sure whatever field columns are queried that it populates those names to my JTable?
At least a simple example to illustrate this would assist?
Thanks