Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: Adding a new row automatically with jTable(maybe?) (WindowBuilder)

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Adding a new row automatically with jTable(maybe?) (WindowBuilder)

    I just started to learn java and right now I'm working on my final project for the course I'm taking. I decided to make a standalone Budget program. We are required to use window builder in eclipse.

    Anyways, its a simple program, main page displays some info, then there is a tab for adding a new transaction(date, category, item, type, amount) with a button that will add that info as a transaction. The last tab will display all the transactions in a list or table(will be hoping to find a way so the user can sort the info as well by column) The display would be something like.... (the ---------- represents a row of info)

    Date Category item type amount
    -----------------------------------


    So when the user adds a transaction, I want it to add a new row to display that info in the GUI. Its very simple display that I want, I just don't know if I should use jTable or another way so that the user can't edit the info when they are viewing all the transaction history, but they can delete it. Any help would be very appreciated!
    Last edited by freefora11; March 15th, 2014 at 06:20 PM.


Similar Threads

  1. Replies: 1
    Last Post: February 5th, 2014, 09:22 AM
  2. Replies: 2
    Last Post: December 13th, 2013, 12:01 AM
  3. Replies: 21
    Last Post: November 27th, 2012, 10:58 PM