Results 1 to 3 of 3
- 08-09-2011, 04:20 PM #1
Member
- Join Date
- Aug 2011
- Posts
- 4
- Rep Power
- 0
Need help finding tutorials on populating GUI with SQL resultset data
Greetings,
I am looking for suggestions on tutorials/easy-to-understand information on taking a jdbc result set (data type ResultSet), and populating elements in a javaframe with the result set (while allowing the displayed data to be modified by the user).
Here are two links to a Jframe screenshot (they both show the same image) which conceptually illustrate what I'd like to achieve:
flickr image
Imageshack image
In the resultset, the rows have information on transactions for certain accounts, and there will be a total of 3 distinct account names. I'd like to make a JCombobox which allows the user to select one of those 3 accounts, and then an area below would show all the various transactions for that account. That data would show in comboboxes/textfields that could be altered by the user and saved to the database when a Save button is pressed.
I do not need information on actually getting the resultset. It's just doing useful things with the resultset that I cannot do :(
A lot of other answers to posts suggest looking at Sun Swing tutorials, but I can't seem to find anything applicable to me. Perhaps I don't know what I'm looking for, or don't know what words to search for in google. So, any direct links to resources on this topic (Sun tutorials or otherwise) would be greatly appreciated.
-sygg13Last edited by ravl13; 08-09-2011 at 04:23 PM.
- 08-09-2011, 05:03 PM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
- 08-09-2011, 07:52 PM #3
Member
- Join Date
- Aug 2011
- Posts
- 4
- Rep Power
- 0
Ok, thanks camickr. That's one part of the problem down, but there is still the matter of being able to take that displayed data, change some values if desired, and then save the changes back to the database. That article seems to have read-only functionality. I'm also looking to have database writing capability as well on the displayed data.
Further suggestions on that area from anyone is desired.
Similar Threads
-
populating jtable with resultSet - help needed
By smallmos1 in forum JDBCReplies: 2Last Post: 05-07-2011, 06:32 PM -
Need help: Populating data
By rahul202 in forum Java ServletReplies: 0Last Post: 10-25-2010, 07:16 PM -
Please help me out in finding Video Tutorials for JAVA
By ravuri3986 in forum New To JavaReplies: 5Last Post: 03-17-2010, 04:26 AM -
Error when populating the data
By srinivas_k543 in forum Java ServletReplies: 2Last Post: 07-10-2009, 08:29 AM -
Populating a combo-box in a JFrame with resultset from database
By matpj in forum AWT / SwingReplies: 11Last Post: 02-20-2009, 02:10 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks