jTable


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: jTable

  1. #1
    alex Guest

    jTable


    If a "JTable" and I'm adding data to the jTable. Question: How can I add the
    data on top of the jTable. I do not want to append the data at the end of
    the table.

  2. #2
    Paul Clapham Guest

    Re: jTable

    I suppose that "on top" means you want to add the data at the beginning
    instead of at the end. How you do that depends on how you have your data
    model set up. It's fairly common for people to use a vector as the data
    model for a JTable, and in that case you would just add your data at the
    beginning of the vector.

    PC2

    "alex" <cad1374@yahoo.com> wrote in message news:3bb0876b@news.devx.com...
    >
    > If a "JTable" and I'm adding data to the jTable. Question: How can I add

    the
    > data on top of the jTable. I do not want to append the data at the end of
    > the table.




  3. #3
    Ajnabi Guest

    Re: jTable


    "alex" <cad1374@yahoo.com> wrote:
    >
    >If a "JTable" and I'm adding data to the jTable. Question: How can I add

    the
    >data on top of the jTable. I do not want to append the data at the end of
    >the table.

    Hi,
    If u see the API for java on JTable, then there u will find a method which
    ask u the index where u want to add a row(data).
    good luck.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center