JTable not scrolling to end of data - Help!

I have a jtable within a scrollpane. About 5 rows of the table are visible within the scrollpane at any given time. I add 80 records to the table, the scrollbar appears but I can only scroll to about the 15th row.
My scrollpane is 468 x 250
My table is 664 x 251
My viewport is 450 x 249.
Is my problem related to the size relationships above or something else?
The table seems to work ok for the rows I can scroll to, including being able to edit one of the columns.
Thanks!

By setPosition, do you mean
myScrollPane.getViewport().setViewPosition(point); ?

Similar Messages

  • Still can not get apps to up date help.

    Apps still won't update don't know what to do. I really don't want to take it in. Someone told me to hook to my computer and try that it didn't work.

    Do you have a wifi connection and to the iTunes App store?
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Repeat event option -- end 'on date' not functional

    I don't know if anyone else is having this problem
    I've selected the "end 'on date'" feature for repeating...
    and nothing shows up to type in a date...

    I had the exact same problem. The first few events I made on my exchange account were repeating ones with an end date. As soon as I refreshed in iCal all of my events disappeared. Since I didn't have any non-end dated events I did not suspect the "end on" date to be the problem. I then stumbled onto your thread, replaced the "end on" date with a certain amount of weeks in outlook live, refreshed my exchange account in ical, and the lost events finally appeared again. It is a very annoying bug, but I am glad that you posted a work around! Hopefully Apple can fix this on the next update??

  • Mo28uo mouse wheel will not scroll in firefox

    I have an IBM model MO28UO mouse. The mouse is unable to scroll up and down pages in Firefox using the wheel. It is able to do this in all other programs I have tried. I have downloaded the latest drivers for the mouse and I have changed the settings on the Firefox about:config page as Firefox advises. However, my mouse will still not scroll in Firefox. Any help is appreciated.

    A known problem.  Do a search for this.

  • JScrollPane not scrolling to the end of JTable

    Hello,
    I put a table in a scroll pane, and add the scroll pane to a panel. The problem is the scroll pane does not scroll to the end of the table, it always lets me view only the first 37 rows of the table, regardless of how many rows the table actually has. Basically, the scroll pane thinks the table has exactly the same height, no matter how many lines it has. Why is this happening?
    The code is something like
    model = new SearchResultTableModel(false, null, null);
    table = new ResultTable(model);
    scrollPane = new JScrollPane(table);
    mainBox.add(scrollPane);
    If this is important, the table is a bit more complicated, I subclass JTable, use a custom TableModel, several types of cell renderers / editors, so maybe this is why it behaves so strange. How could I tell the scroll pane the table is actually larger?
    Thank you very much, any ideas are highly appreciated,
    Regards from Romania,
    Adi

    Hi,
    fireTableDataChanged() is the easiest way to do it, but also that one, that forces JTable to rerender all visible cells, regardless the fact, that they are already displayed and would not need rerendering - if you add a row - for example row 7 - do fireTableRowsInserted(7,7); instead - so JTable will only render this single row if it is visible in the viewport. If you add a couple of rows, for example row 7 to 227, do fireTableRowsInserted(7,227); - always fire only the correct notifications accordingly to the changes you make, in order to keep the performance of JTable high.
    greetings Marsian

  • After I updated to ios5 my calendar did not bring in dates and when I began re-entering dates after one or two it froze up and after I got it going again it will not populate an end time on the same date and will not save the appointment as a consequence.

    After I updated my Ipad2 to IOS5 my calendar lost all appointments.  After re-entering a couple of appointments it froze.  After getting it going again, the calendar will not populate an end date for the current day and consequently I can't save the appointment.  Is this a common problem as I have just purchased this ipad and the calendar function is very important to me.

    Hmm... It looks like they are gone forever now then. I can't think of any other way of getting them back apart from restoring from an iTunes or iCloud backup. Somebody else might be able to help but I think they're gone forever. I don't know why they were wiped from your iPod but it could be something to do with security. In the future I would recommend syncing to iTunes or iCloud to prevent it from happening again. You can always make a reservation at the Genius Bar and see what those guys can do because it seems that they are still there, they are just 'hidden' from view. http://concierge.apple.com/reservation/gb/en/techsupport/
    Cheers,
    Khal
    P.S I'm sorry for the late reply

  • HT201270 I connected the ipad to itunes...and the iphone...phone is OK..ipad isn't..I get a message saying I don't have a Data Plan..but when I try to rectify that..the message says I'm not connected to the server..help.

    I connected my ipad and iphone to itunes this morning and downloaded updates...the iphone is fine..but my ipad is giving me the message...you have not signed up for a data plan..but, when it asks me to sign up..the message says Safari can't open the page because it isn't connected to the server...Mail isn't working either...help.

    Try this:
    1. Turn off iPad. Press and hold the Sleep/Wake button for a few seconds until the red slider appears, slide to turn off.
    2. Connect USB cable to computer
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune (make sure you have the newest version of iTune)
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times to recover your iPad

  • Canot send email Error SMTP: [554] 5.7.1 END-OF-MESSAGE : End-of-data rejected: user not permitted to relay

    please help me with this error

    Experiencing same event "<END-OF-MESSAGE>: End-of-data rejected: user not permitted to relay" on newest email account. Had not seen for first 3 days, now suddenly, every attempt. Account has sent less than 30 emails total in it's lifetime.
    Account is [email protected]
    Please advise, and thank you.

  • Error: offline approval not possible Server refused mail at END OF DATA

    HI SRM Gurus,
    Need your help again. I cannot approved via email. I received this email.
    Could not be delivered because of
    Server refused mail at END OF DATA - 554 Cannot process message in SAP System

    Hi Muthmu,
    Thanks for your help.
    here's my so50 screen:
    1st row
    Communication type: Internet mail
    recipient address: *
    document class: ics
    exit name: CL_APPOINTMENT_REPLY
    call sequence: 1
    2nd row
    Communication type: Internet mail
    recipient address: srm.notification(at sigh)QA2.company.COM.PH
    document class: *
    exit name: CL_BBP_SMTP_INBOUND_OFFAPP
    call sequence: 2
    Thanks!
    Edited by: chrisell agoot on Jul 9, 2009 1:15 PM

  • HT4847 How can I change my iCloud email address without losing all my data and what not???? Please help...

    How can I change my iCloud email address without losing all my data and what not???? Please help...

    Welcome to the Apple Community.
    You can't change it but you can create an alias to use.

  • My ipod touch is in DFU mode 5g I need help, do not want to lose my data, please help in Spanish

    I need help, do not want to lose my data, PLEASE HELP IN SPANISH

    Una vez que el dispositivo está pidiendo ser restaurado con iTunes ... ya es demasiado tarde para salvar nada ... y usted debe continuar con la recuperación de ...
    Vea aquí> http://support.apple.com/kb/HT1808
    Es posible que tenga que probar más de una vez ... Asegúrese de seguir todos los pasos ...
    Tómese su tiempo ... Preste especial atención a los pasos 3 y 4.
    Para minimizar la pérdida ...
    Después de haber recuperado su dispositivo ...
    Re-sincronizar su contenido o restauración de la última copia de seguridad ...
    Restaurar desde copia de seguridad> http://support.apple.com/kb/ht1766
    Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    To minimise loss...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • I try to backup my Macbook with Time machine, it goes fine and at the end it says that it could not be completed because "/Volumes/Data-2/ MacBook.sparsebundle is already in use".. What is that?!

    I try to backup my Macbook with Time machine, it goes fine and at the end it says that it could not be completed because "/Volumes/Data-2/ MacBook.sparsebundle is already in use".. What is that?!

    See #C12 in Time Machine - Troubleshooting

  • JTable: having first N columns not scroll with the rest of columns

    Hi All,
    I'm having trouble wording this properly (hence my inability to google for the solution)...
    What I am trying to do is:
    * Have a table with N number of columns (for example 100 columns).
    * The table is enclosed by scroll pane, so scrolling left and right will show different columns
    * I want first X number of columns (say 2 columns) to be always visible (i.e. they should not scroll with the rest of the columns)
    Is there a way to accomplish this with one JTable?
    Thanks and best regards,
    -Pavel

    I found the answer here:
    http://forum.java.sun.com/thread.jspa?threadID=665435&messageID=3951902
    Edited by: ptxyz on Jan 25, 2008 8:06 AM

  • I have problem with Cellular data network it is not apearing in iphone setting so help me how to bring this option in iphone

    i have problem with Cellular data network it is not apearing in iphone setting so help me how to bring this option in iphone

    What brand/model USB drive? Is it bus or AC powered?
    On Mail...
    First Quit Mail, then I'd backup these two Mail folders, by right clicking on them in the Finder, then choose Archive/Compress.
    Users/YourUserName/Library/Mail
    Users/YourUserName/Library/Mail Downloads
    (Could be a different folder here if you chose such in Mail Prefs)
    Right click on that Mail folder, choose archive, you'll get everything in the folder, and the folder itself in a file called Mail.zip, move it to a safe place, same for the Mail Downloads folder... only the plist is separate.
    /Users/YourUserName/Library/Preferences/com.apple.mail.plist

  • Trying to unblock iPhone 4s.  made all the steps, at the end of restoring i get an error no. 9, and does not finish the restoring, who can help me?

    trying to unblock my iphone 4s, because i moved to another country and need to use another carrier.  followed all the steps to restore but at the end i received an error no. 9 and can not finish the restoring.  i asked my older carrier for the unblock permission, it should not be a problem. can someone help me?

    Read here:
    http://support.apple.com/kb/TS3694#error9

Maybe you are looking for