Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    How would that change the contents of the array that you created and use?

    Try debugging the code to see what happens by adding some println statements to different methods in the model class so...
  2. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    You need to have code there to remove the deleted row so that what is displayed in the JTable matches what is in the DB.
  3. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    Sorry, I don't know anything about visual basic.

    From post #8
    Where does the code remove elements from the array in the model class?
  4. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    Is that what you want to happen?
    If not, where is the code to change the JTable that I asked about in posts #6 and #8
  5. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    Should what is seen in the JTable be the same as what is in the DB? If a row is deleted, should it be deleted from the DB and from the GUI?
  6. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    That's for the DB. Does it work? Is the row removed from the DB?
    What about the display of the row in the JTable?
  7. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    Where does the code remove elements from the array in the model class?
  8. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    Where is the logic for deleting a row from the table that is being displayed?
  9. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    There is no code in the listener for the add button.
  10. Replies
    19
    Views
    1,930

    Re: [HELP] Refreshing JTable connected to database

    Can you explain? What does the program do when it starts? What do you do next?
    What does the program then do in response?
Results 1 to 10 of 10