Vertical ScrollBar for JTable disappears when trying to scroll!

Hi!
I have 2 JTables and these are in a JScrollPane. I need to add a Vertical ScrollBar in such a way that when the number of rows increases, the scrollbar will scroll both the table's data.
I am not using the Vertical ScrollBar of the ScrollPane instead i have added a JScrollBar to the two Panes( i.e. scrollPane.setVerticalScrollBar() ). This works fine.
But when I remove the columns from the right JTable , i.e. I have only one JTable left, the Vertical scrollbar disappears inspite of the number of rows being the same.
I have tried setting ViewPortView etc. but nothing works.
Please help!

Remember that was a test. It tells us the iPhoto is essentially sound and the issue is within that main Library.
Next move is to try repair that library.
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
Regards
TD

Similar Messages

  • "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    lots of people seem to be havgin a problem sending email from iCloud webmail.
    does your email address have uppercase characters in it?
    if so, try creating an alias in lowercase (go to preferences in iCloud webmail and select 'accounts') and see if email sends okay from that

  • Vertical Scrollbar for a slide

    I'm new to captivate. Can anybody help me to get a vertical
    scrollbar for the slides?

    Hi TrioRocks,
    Thanks for your reply. It worked fine. i imported the flash
    .swf file in my application but the only problem is that i cannot
    edit the content of the slide after importing the flash file.

  • Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.

  • Getting an error message that unable to check for software update when trying to download new iOS 8.0.2 update ?? Can someone help ???

    Getting an error message of unable to
    check for software update when trying to update to
    ios 8.0.2. Can someone help ??

    Howdy there otss1979,
    It sounds like you are unable to download the iOS 8.0.2 update either, over the air, or using iTunes. If you are updating the software on your phone in Settings > General > software update I would recommend starting with this article:
    Resolve issues with an over-the-air iOS update
    If you are using iTunes, I would use this article instead:
    Resolve iOS update and restore errors in iTunes
    If you are getting a specific error number, the following article will help you get that resolved:
    Resolve iOS update and restore errors
    If this does not resolve the issue, could you please write the error message you are getting word for word for me?
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • I keep getting an error (for twelve updates), when trying to update CS5 Master Collection.  I used chat, and was told to come here.

    I keep getting an error (for twelve updates), when trying to update CS5 Master Collection.  I used chat, and was told to come here.

    update directly, http://www.adobe.com/downloads/updates/

  • My MacBook Pro is asking for a password, when trying to play DVD. Anybody experienced that before.

    One of user's MacBook Pro is asking for a password, when trying to play DVD. Anybody experienced that before?
    Maybe the DVD itself is password protected, the user is travelling abroad.
    Thank you in advance

    Hi m,
    My guess is the DVD is from another region than the one the optical drive is set to. Region changes are limited to 5 total, so it asks for the admin password to make sure you want to do it/allow it. After #5, the drive is locked to that region forever.

  • Safari for Windows crashes when trying to interact with bookmarks

    Hello, I've installed Safari for Windows but when trying to interact with bookmarks, it crashes everytime.
    Trying to view, create or import bookmarks all wield the same result: instant crash.
    Can someone help ?
    Thanks!

    Just to try, I copied the en.lproj to es.lproj in every subfolder on Program Files/Safari, this because I have a Spanish (Mexico) regional setting, and after a Safari restart, bookmarks now works and even imported my info from IE and Firefox. This also worked me for other issues. More details in:
    http://discussions.apple.com/thread.jspa?threadID=993697&tstart=0

  • Is anyone else having sensory issues since updating to the IOS 7.1.1? My phone is all over the place when trying to scroll or play a game. Know how to fix? It didn't do this till after this update.

    My phone is all over the place when trying to scroll or play a game. Know how to fix? It didn't do this till after this update.

    Do a
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data

  • Horizontal scrollbar for JTable

    Hi folks,
    I just created a JTable with 15 columns. As number of columns are more, I am not able to view all data. Probabaly I would need a Horizonatal scrollbar. I used setPreferredScrollableViewportSize(), but it doesn't help me. Can u pls any body help me to make it work out?
    Thanx in advance.
    Regards,
    Ayyappan.

    Hi chuanhaochiu,
    Thanx for immmediate reply. I have already put JTable in JScrollBar. I am comfortably getting the vertical scrollbars when more rows are added. I am not able to get only the horizontal bar.
    Ayyappan G.

  • My daughter created a movie using iMovie, which she has worked on for a month, when trying to save it on a jump drive she was asked to "finalize" the movie...now there is no record of it at all. Any ideas how I could try and retrieve the file?

    My daughter created a movie using iMovie 11, which she has worked on for a month. When trying to save it on a jump drive she was asked to "finalize" the movie, and while this was running (quoted 13 hours!) she received an error message. Now there is no record of it at all, I have looked in trash etc. Any ideas how I could try and retrieve the file?

    The file cannot be reloaded in iMovie using File > Open Recent  ??
    There is no trace of the file in a Spotlight search?
    The project files are not under <user>/Movies/iMovie Projects ??
    Finalizing creates small, medium and large version of the finished video. It does take a long time, but it should not destroy your project files.
    Oh, and you really MUST have a backup of your files. You can expect to lose files if you have no other copies of them.

  • BB for Mac freezing when trying to sync itunes to Pearl 8230

    Hi all-
    Have searched the forum to no success.  Just downloaded BB for Mac and so far so good, except for one issue.  The DM will freeze/crash when trying to sync one song or a whole playlist to my BB pearl.  I can select any playlist I want, (I've made some with various file types and sizes to see if it was a file format or size error), and still had no success.  I've ensured my media card support is on, mass storage mode is on, unencrypted,  and auto enable mass storage mode when connected is on, room on the media card, and recognized by my device.  The DM recognizes my media card, and correctly identifies the amount of free space on it, allows me to select my playlist(s) and when I click 'sync', the drop down window indicates  "the following items are being synchronized" and "music", but the progress bar and the sync circle don't move.  I've left it in this state for 4 hours to return to find out nothing has changed.  I have to force quit the DM at that point.
    My contacts and calendars sync fine, just no love when it comes to the music.
    I have a BB pearl 8230 (4.6.1.284) on the Telus network, using an iMac running snow leopard 10.6.1, running iTunes 9.01(9)
    Am I missing something?  Any suggestions would be appreciated.
    Message Edited by renov8r on 10-05-2009 09:57 PM
    Message Edited by renov8r on 10-05-2009 10:03 PM

    Are you running the Mac in 64bit mode, if so that is a known issue. Work around appears to be switch Mac to 32 bit sync and then return to 64bit till next sync or BB RIM fix is out.
    Rick 

  • File disappears when trying to export with "share" in FCP X...

    I have FCP 10.1.3 running on a macbook pro running 10.9.4; attached to an external 8 tb drive with over 6 tb of free space.
    When I try to export a project using "share," the file will start to save to my destination, but then just disappear at exactly the 50% mark. I've shared previous versions of the same file with no problem, and I have enough space to hold the file. I've tried restarting the app and the computer; I tried saving to an external drive and to my hard drive; the file will simply disappear from either destination at 50%.

    This is weird. Before we proceed with other possible tests, did you try this with just one project, or with other as well? If just this one, create a new library, a new small test project and export that. Does it work? If it does, then the problem may me in the specific project or library.
    A few other ideas:
    1) Delete application preferences (almost always the first thing to try, as corrupt preferences have been known to cause strange malfunctions). Hold down the command and option keys while starting the application and confirm the deletion of preferences when asked.
    Note: deleting preferences does not delete the application nor your media and libraries
    2) Open the Console application (it is in /Applications/Utilities) and look for messages that appear around the time the export fails.
    3) Try running the program from a pristine new user account and see if it exports correctly a small project there

  • Save As dialog window disappears when trying to save or use pdf writer

    When I try to create a pdf using a pdf writer/printer, or even when i try to save a pdf file, the dialog box showing where to save it appears then immediately disappears before i can choose a name or location to save the pdf.  i have tried reinstalling the reader, reooting, reinstalling the pdf writer, nothing seems to work.

    I have tried multiple pdf writers including cutepdf and a proprietary pdf writer so I am pretty sure the problem lies within adobe reader.  Especially since the problem occurs when I just try to save the pdf and not use the writer.

  • Extension Manager 2.1 for Mac crashes when trying to install any extension

    Hi,
    I have the Adobe Extension Manager 2.1 installed on a Mac running Mac OS X 10.5.6.  I updated all the latest Adobe and Apple software.
    I tried to install MXP files for Adobe AIR, jQuery, and Drupal, but doing so crashes the Extension Manager.  I tried uninstalling it using the Photoshop installer (which is what installed the Manager initially), but this didn't help.
    The Manager also crashes when I try to open the Help > About the dialogue, both from the main window and from the menu bar.
    Can anyone help me with this?  Thanks in advance!
    Rémi

    Reading the thread linked below resolved my problem.  I only had to uninstall Safari 4 Beta before I could use the Extension Manager.
    http://forums.adobe.com/thread/222366

Maybe you are looking for