Results 1 to 5 of 5
  1. #1
    ahmed88 is offline Member
    Join Date
    Apr 2009
    Posts
    3
    Rep Power
    0

    Default how to populate large record in jTable

    Hi
    i want to add (eg 100000) rows in jTable but it display only 1000 rows so plz tell what the solution thanks in advance

  2. #2
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    6

    Default

    you cant just do new JTable(100000,2) ?

    Is it throwing any errors or anything?
    Liberty has never come from the government.
    Liberty has always come from the subjects of government.
    The history of liberty is the history of resistance.
    The history of liberty is a history of the limitation of governmental power, not the increase of it.

  3. #3
    ahmed88 is offline Member
    Join Date
    Apr 2009
    Posts
    3
    Rep Power
    0

    Default

    yes it is throwing an exception if i give greater than 1000 in number of rows it give exception.

  4. #4
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    6

    Default

    What exception? copy the stack trace so we can see what's happening.
    Liberty has never come from the government.
    Liberty has always come from the subjects of government.
    The history of liberty is the history of resistance.
    The history of liberty is a history of the limitation of governmental power, not the increase of it.

  5. #5
    ahmed88 is offline Member
    Join Date
    Apr 2009
    Posts
    3
    Rep Power
    0

    Default

    I am using netbeans 6.5 when i set the properties of the jtable and set the field of number of rows above 1000 it doesnot compiled andgive message
    "file size too large or unsafe operration ......"

Similar Threads

  1. populate jCombobox with database data
    By joeyxaza in forum JDBC
    Replies: 2
    Last Post: 01-06-2014, 10:09 AM
  2. populate jtable from jtextboxes and jcombo
    By purejoker in forum AWT / Swing
    Replies: 4
    Last Post: 12-02-2010, 09:29 AM
  3. Help Pls!! Jcombobox populate with mysql
    By kwink in forum AWT / Swing
    Replies: 1
    Last Post: 03-23-2009, 04:11 AM
  4. how to populate data in drop-down box
    By ma-la in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-01-2008, 11:24 AM
  5. Replies: 1
    Last Post: 07-26-2007, 07:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •