Search:

Type: Posts; User: mr.nacho

Search: Search took 0.32 seconds.

  1. Replies
    8
    Views
    291

    Re: [HELP] Automatic sorting of data

    It's ok. Thanks anyway.
  2. Replies
    8
    Views
    291

    Re: [HELP] Automatic sorting of data

    You mean? I just want to add/insert the at the end of the recordset displayed on JTable.
  3. Replies
    8
    Views
    291

    Re: [HELP] Automatic sorting of data

    When I insert new data, it will automatically sort the data displayed on JTable.
  4. Replies
    8
    Views
    291

    [HELP] Automatic sorting of data

    Why does tablemodel automatically sort the data in database? I want to insert a data at the end of the resultset/table. How can I do it? THanks!!!
  5. Re: [HELP] Refreshing JTable connected to database

    I thought firing events from the table model can do it alone.
  6. Re: [HELP] Refreshing JTable connected to database

    I don't have any remove command in there, I just used direct deletion from database. Is that wrong? Also, I didn't use vectors. Sorry if I'm confusing you.
  7. Re: [HELP] Refreshing JTable connected to database

    Yeah. That's what I want. Just like in visual basic 6's adodc/datagrid. Immediate response to change with ".refresh".
  8. Re: [HELP] Refreshing JTable connected to database

    It is exactly what I choose to delete. The record from database is what I always successfully deleted and JTable is not even responding immediately to the change.. #:-s
  9. Re: [HELP] Refreshing JTable connected to database

    It works but won't take effect until I delete it again or delete some other record. I don't use any method to delete record from JTable. Just the database. Do you get me?

    --- Update ---

    It...
  10. Re: [HELP] Refreshing JTable connected to database

    Sir, I used rs.deleteRow() to remove a row..
  11. Re: [HELP] Refreshing JTable connected to database

    What do you mean? It is stated in the code above in "btnDelete".
  12. Re: [HELP] Refreshing JTable connected to database

    I'm sorry. I forgot. :o



    model.connectDB();

    if(e.getSource()==btnAdd)
    {
    String name = JOptionPane.showInputDialog(null,"Enter here: ");
    sql = "Insert into friends...
  13. Re: [HELP] Refreshing JTable connected to database

    The problem that I am now facing with that program is when I add/delete, the refresh/update of the JTable comes late. I need to do it two or more times for the model to apply the changes. Seems like...
  14. [HELP] Refreshing JTable connected to database

    What can be the problem with my code here? I'm trying to refresh/update the table connected to database.




    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import...
Results 1 to 14 of 14