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.


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

Results 1 to 2 of 2

Thread: JTable

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Thanked 0 Times in 0 Posts

    Default JTable


    I would like to ask about the best solution.

    I have two JTable, the first record of the arrival of my students (who lists me in what came to school), the second I have listed all the students who are in the class (the class teacher selects and lists him in the first table, and who when he came in the other lists who is absent) tz. I thought to compare these two tables ->

    If a record exists from the bottom and top of the table (same name, surname, etc.) and delete it (since it arrived and I miss).

    I wonder how to do it ... Do you need to compare all rows ...

    thank you in advance for your advice.

  2. #2
    Join Date
    Oct 2011
    Thanked 3 Times in 3 Posts

    Default Re: JTable

    Do you mean database table instead of Swing's JTable? Do you need to build a SQL query to accomplish your task?

    java exception
    Last edited by hns1984; January 11th, 2012 at 05:51 PM.

Similar Threads

  1. Data from .txt to JTable?
    By skywire_ in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: September 19th, 2011, 04:00 AM
  2. JTable
    By adra in forum Java Theory & Questions
    Replies: 5
    Last Post: August 30th, 2011, 07:05 AM
  3. JTable
    By timmin in forum AWT / Java Swing
    Replies: 3
    Last Post: April 3rd, 2011, 12:10 PM
  4. Hello everyone! I need help with JTable
    By hektor in forum AWT / Java Swing
    Replies: 6
    Last Post: October 11th, 2010, 10:11 AM
  5. JTable CheckBoxes
    By aussiemcgr in forum AWT / Java Swing
    Replies: 1
    Last Post: August 9th, 2010, 01:04 PM