Results 1 to 3 of 3
  1. #1
    ravl13 is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default 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.

    -sygg13
    Last edited by ravl13; 08-09-2011 at 04:23 PM.

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,233
    Rep Power
    7

  3. #3
    ravl13 is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default

    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

  1. Replies: 2
    Last Post: 05-07-2011, 06:32 PM
  2. Need help: Populating data
    By rahul202 in forum Java Servlet
    Replies: 0
    Last Post: 10-25-2010, 07:16 PM
  3. Please help me out in finding Video Tutorials for JAVA
    By ravuri3986 in forum New To Java
    Replies: 5
    Last Post: 03-17-2010, 04:26 AM
  4. Error when populating the data
    By srinivas_k543 in forum Java Servlet
    Replies: 2
    Last Post: 07-10-2009, 08:29 AM
  5. Replies: 11
    Last Post: 02-20-2009, 02:10 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •