JTree scrollbar problem - can't scroll back to top when some nodes hidden

I have a problem which I cannot resolve: I have a JTree which has had 88 rows added to it, and which then has 15 or so rows set to be not visible; when I then scroll to the bottom of the pane I am unable to scroll all the way back to the top using either the scroll button at the top of the bar or the mouse scroll wheel although I can drag the knob to get to the top; using the button or wheel, the scrolling stops somewhat short of the top; via testing I've found that the AdjustmentEvent is not fired when it reaches that point. Anyone seen this before and/or know a way around it?
Thanks in advance,
Mike

MikeAuerbach267 wrote:
It turns out that my problem was due to the fact that I am using my own TreeCellRenderer which makes invisible some nodes via user option but doesn't reload the tree; hence the confusion as to the scrollbar size. I now correctly reload after user option has changed rather than render nodes invisible and all is fine. Which reinforces Andrew's view in reply #1 that a 'vague waving about of hands' does not allow the forum members to help.

Similar Messages

  • After updating to ios5 the shortcut 'tapping top of screen' to scroll back to top does not work! Is there a way to get that back?

    Since updating my ipad2 to iOS 5 the shortcut 'tap top of screen to quickly scroll back to top' no longer functions! How can I get this back?

    It still works on my iPad - is it working on any of your apps e.g. Safari, Mail, Notes, and are you touching right at the top of the screen (I've seen a few other posts implying that the area of the screen that you need to touch isn't quite as deep as it used to be) ? Have you tried a reset to see if it works after the iPad has restarted ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • HT201317 If I lost my Iphone 5 with I cloud can I get back my photo when I buy another iPhone 5

    If I lost my Iphone 5 with I cloud can I get back my photo when I buy another new iPhone 5?

    Welcome to the Apple Support Communities
    Only if you made a backup of the old iPhone which includes the photos you had stored in Camera Roll (if the photo you want to restore is there) or if the photo was stored in Photo Stream. In both of the cases, you will be able to get back the photo, but note that Photo Stream deletes photos 30 days after adding them

  • Just moved to version 3.6.2.1 and having problems , can I go back for awhile until I am ready to go forward

    Cannot remember the version I just had but it worked just great, now that I have moved to 3.6.2.1, having all sorts of problems, mainly pages just freezing. For now, can I drop back to what I had. Realize that you want me to move forward but in the middle of a medical problem and do not have time to fool around, as it is, I am spending more time at the library because my PC browser not working

    Try a new Profile.
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows

  • I have not deleted ANY texts since I got my phone and Ihave not synched.  I just can't scroll back in a thread to older texts.  How can I get back to read those?

    I have not deleted ANY texts since i got my phone 10 weeks ago.   Nor have I syched.  How can I go back to earlier texts in a thread to see them again?

    I've found that the easiest way to view old texts is by archiving them to my computer using a program such as PhoneView (Mac) or TouchCopy (Mac or PC). I generally save important threads to a .pdf for future reference.

  • To Do List Automatically Scrolls to the Top when I make any date change

    I'm using Palm 6.2.2 at the moment, and I'm finding that Whenever I change the date on any of my To Do List tasks in the desktop software the list automatically jumps/scrolls to the top of the list and it is driving me INSANE. I have a LOT of dated tasks and on a daily basis have to push them forward to other dates. Doing this now takes me forever as I have to rescroll down to the area of tasks I was working on, change the date on the next one then start all over again.
    For what it's worth, I just upgraded from a Treo 700p w/Palm 4.something - that version of the Desktop Software did NOT do this.
    Anyone else encounter this and know how to fix/avoid it?
    Post relates to: Centro (Verizon)

    I can confirm this function. Also I wasn't able to find anyway for it to not do this. 
    Post relates to: None

  • HT1473 Im having a problem with adding cds to my library when some of the discs in a set have Gracenote information and other discs don't. iTunes in this situation puts the css that are part of a set into different albums, and I don't know how to combine

    I'm having trouble adding "spoken word" CDs that are in a set to my library. When some of the discs have "gracenotes" info the album gets broken up as if each cd was a separate album. I haven't been able to figure out how to have all the cds in the set appear as one album. I have entered each one in the "get info" page as "1 of 7" and "2 of 7" etc, but the ones with gracenote info get put into a separate album. It's frustrating so far! Also, when I want copy an album to the burn folder so i can share it with a friend, it moves the songs as songs, not as albums. Any way around this? Thanks very much!

    See Grouping tracks into albums.
    PS, you don't have the right to burn copies of the songs you've bought/ripped to give away to your fiends...
    tt2
    Message was edited by: turingtest2

  • N86 Web problems can't scroll down

    I am hoping someone might be able to help me. I have an N86 and just upgraded the firmware to the newest release. I am having a problem with the web. It will not allow me to scroll down past a text input box. For example I tried to go to T-mobile.com and I can scroll down to the search box part of the page but can not get past that part whether or not I enter a search word. The cursor gets stuck in the search box even though I did not click on it to enter a search word. It was the same before updating the firmware. Anyone have any ideas? Does anyone also know if it's possible for me to get the web program from my N96 and install it on my N86? The N96 web is so much better than the N86's. The N96's web browser gives you the option to shrink the entire page or to zoom in on the page. It also has autofind for phone numbers, email addresses etc. The N86's web doesn't have anything like that, it's horrible.

    Here's an option before taking your bb apart.  Squirt some Windex on a paper towel. Not much, say less than your thumbprint. Wrap it around your thumb.  Scroll left, right, up and down for 30 seconds or so each direction.  The cleaner coats the trackball .... the friction cleans the underlying elements.  Hey, I'm not joking. Worked for me.  Patent pending.  (NOW, I'm joking!)  Hope this helps someone.

  • Java problem; can I go back to old version? Thread.run; red x

    Hi
    I have a Minolta 2001 - copymachine which I can handle over Browser and java.
    I can see the copymachine and theDetails; i cannot use the Java based WebTools
    I have 2 mac iMac G5 with 10.4.8 and MacBook intel 10.4.8
    till 10.3.x on my iMac G5 everything is fine
    later - in the Tigerversion - or 10.3.9 ?
    I got following messages in the log - Macbook never worked
    basic: Ausnahme: java.lang.NoClassDefFoundError: com/efi/utils/chooser/ChooserHolder
    java.lang.NoClassDefFoundError: com/efi/utils/chooser/ChooserHolder
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:163)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
    at java.lang.Class.getConstructor0(Class.java:2640)
    at java.lang.Class.newInstance0(Class.java:321)
    at java.lang.Class.newInstance(Class.java:303)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
    at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1807)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
    at sun.applet.AppletPanel.run(AppletPanel.java:324)
    at java.lang.Thread.run(Thread.java:613)
    the panell have a red X and do not bring the menu für the webtools
    I can see the copymachine, and see how are the details;
    but I cannot use the javadriven WebTools
    everything is fine working with OS 10.3.x
    I had the same troubles with my PC XP Laptop.
    There I can solve the problem:
    I delete Java, InternetExplorer
    install InternetExplorer new -
    and with the explorer th old Java
    BINGO all things are working!
    Perhaps anyone of you can help me ?
    I checked
    Version of Java - I have the latest
    I reset Java
    I reset Safari
    I also change my network - I put the router away - only switch in the network - did not work
    nothing worked
    hope any of you have a solution.
    THNX in advance for every answer
    even if you think its stupid
    MacBook, iMac 20   Mac OS X (10.4.8)  

    I'm sorry, but Apple does not provide a downgrade path for iOS. Because downgrading is unsupported by Apple we cannot discuss it on these forums, but you can use Google to find information on how to install an older version of iOS on any iDevice.

  • 2.3.340 Problems, can you go back to 2.3.15?

    I am one of the few who got the 2.2.340 update the other night.  I see why it shouldn't have been made available, or pushed to some handsets.  I am having issues with the update, big time, and am wishing I had never pulled it.  So basically I would love to know if there is anyway to revert back to 2.3.15?  And would I just be wasting my time calling Verizon Tech Support?  And just as a side note, no I don't want to root my phone.  Thanks for any help and insight on this issue.

    nolafire wrote:
    All my problems seem to revolve around the phone being plugged in.  Everything works fairly well when not plugged in,  But the phone does not respond properly to touch actions when plugged in.  Examples are, screen freezes, will not respond to keyboard, and last night phone crashed and rebooted after plugging in.  As well as Madden, that was a big part of this update, freezes every time it is opened.  The phone works well enough to continue using it until gingerbread, but I was just curious if there was a way to just go back to 2.3.15 and go from there.  And from what I am gathering, there is no way to do that. 
    Try checking for any possible incompatible apps installed that may be causeing your issues, also I also thought I would also point out the update just realease (2.3.340) is a bugfix version on Froyo not Gingerbread, Droid X has not recieved this update as of yet.

  • How can I scroll down the top menu list and then the sub-menu lists when the iPod click wheel is broken?

    I have an iPod Classic 4th Generation and my click wheel connection is broken and so does not work. I can still play music on my Bose dock station but I cannot choose which album I want to play because I cannot scroll down the playlists.  I can just play the first tune in the list or from where I last paused a tune. Is there a way to scroill down the list, including the top menu list, without using the click wheel?

    Index Values, I think, is the property you are looking for.  Set the index to 0 to be at the top.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can i get back my contacts when they have been deleted?

    I tried putting music on my iPhone 5 for the first time and after doing it I realized all my contacts, messages, and photos were replaced with my moms contacts, messages, and photos that she had backed up on to the same computer. How can I retrieve all of the things i had lost?

    What address book or cloud service were you syncing them with? Are they still there?

  • Carbon Copy Cloner Problem: Can't see my Macs HD when selecting Target Disk

    I cannot find an answer anywhere on the net, so I'm trying the trusty Apple Discussions forums. Using Carbon Copy Cloner, I backed up everything onto an external HD and I erased everything from my G5 and reinstalled the software it came with. I then also reinstalled Tiger OS X and now, using CCC, I chose all the original backed up volume from my external HD as my Source Disk, but when I try to save them back onto my G5's HD, I cannot see my Macintosh HD under CCC's Target Disk options. (Note: I recently did exactly the same thing with my iBook using CCC and I was able to see the iBook's HD under CCC's Target Disk options without any problems).
    More info: I'm trying to do an Incremental backup, though I tried the "Backup everything" option too (which, incidentally, would defeat the purpose of erasing and reinstalling) just to see if my Macintosh HD would show up under the Target Disk, but it still didn't.
    I would really appreciate it if someone could tell me how to get my Macintosh HD to appear under my Target Disk options on CCC. Thx.

    I was able to figure out what I was doing wrong on my own
    Well done! but you don't need to be "on your own" - you would do well to:
    •  use the link that 'baltwo' gave you and at the very least look at Announcements and Stickies
    •  use CCC Help available online here or (same docs) from the CCC Help menu.
    Andreas   Bombich Forums Moderator

  • Can't Go Back a Slide When Exported to DVD Format

    I'm having a difficult time trying to get what I want done through Keynote.
    I have a slideshow that I want to export to a DVD so I can run a slideshow through a DVD player where it plays a slide then stops then I click the next button and it plays and stops. This seems to work EXCEPT... I can't go backwards it will only allow me to go forwards.
    Now to clarify I'm testing this before I burn it to disk through the iDVD player. Has anyone else ran into this problem?

    In itunes a dir is called a folder

  • Safari on iOS7 scroll back to top?

    Hi Everyone,
    Any help would be much appreciated. Usually when you are reading a webpage in safari on the iphone, and leave that page in the middle of reading to go use a different app or function on the phone (meaning you go back to your home screen), and then you come back to what you were reading a little while later (i'm thinking there is a time limit on this), the webpage may need to reload. Before it iOS update, safari would hold your place and you could continue reading where you left off, wherever that might be. Now with the new iOS7, when you return to reading, if safari does need to reload the page, it reloads back to the top of the page.
    I guess I am wondering if anyone else has noticed this? This can be extremely annoying when I constantly lose my place. New crap feature of iOS7, my personal preference for a webpage to stay in place, or something that can be changed in the Settings I haven't found yet?
    Many many thanks in advance for any thoughts you might have!

    I have this same issue. It also happens when you try to go back a page. There have been times when I'm browsing a rather large, long site that loads more stuff as you reach the bottom. In the old ios if you accidentally clicked on something you could just click the back button and it would  go back to where you were. Now when you try to go back a page even after only a second, it reloads the entire page (and thus going back to the top and undoing all the stuff you loaded). It also does this for me if you switch between tabs in safari. Switching to another tab for even a few seconds will reload the old tab once you go back to it. Very annoying!

Maybe you are looking for