Scrollbar "bubble" moves back to top of bar

Hi..
I have an applet which has it's content switched between a number of panels using add() and remove(). One particular panel contains some other panels with a scrollpane, which in turn contains a larger panel. If I scroll to the bottom of the scrollpane and choose an option to go to a different section of my applet (add()/remove() executed) when I come back to the scrollpane, the content area is still scrolled down to where I was before, but the scroll bar has moved all the way to the top. If I do anything with the scrollbar, it moves down to where it should be.
Thanks,
Dean

Hi,
Instead of calling add() and remove(), please try setVisible(true) or setVisible(false) for your panels.
Berk Can Celebisoy

Similar Messages

  • I got my screen fixed and the day i got my ipod touch 4th gen back the wifi doesnt work unless i hold it right up to my router. Roughly every foot I move back it loses a bar and if i leave the room it doesn't even have a signal completely.

    I got my screen fixed and the day i got my ipod touch 4th gen back the wifi doesnt work unless i hold it right up to my router. Roughly every foot I move back it loses a bar and if i leave the room it doesn't even have a signal completely. Could the screen replacement have tampered with the wifi capability? Also if it helps I switched internet providers and during the time when my ipod was being fixed a new router was installed and it doesnt seem to work unless directly infront of my ipod.

    Take it back to where you had the screen replaced. They messed up the connection to the wifi antenna
    Installing iPod Touch 4th Generation Wi-Fi Antenna - iFixit

  • Placing ScrollBar Back On Top Of The JScrollPane

    Hi....
    Just a tiny problem......I have a problem placing the scrollbar back on top of the JScrollPane after few sentences of words are placed into the JTextArea at once. The JTextArea is within the JScrollPane.
    Does anyone has any idea on how I can position the scrollbar back on top of the JScrollPane after the words are placed into the JTextArea.....???
    Britney

    Just some additional comments for anyone who is searching for this solution in the future (as I was today)...
    Neither of these two lines of code did anything by itself. The scrollbar was left at the bottom of the text area.
    myScrollPane.getVerticalScrollBar().setValue(0);
    myScrollPane.scrollRectToVisible(new Rectangle(0,0,1,1));This line by itself basically worked - the scroll pane was reset to the top so that you could see the top line of text. However, if I had previously scrolled down, the scroll bar was not reset all the way to the top (it was just a tad below the top).
    myTextArea.setCaretPosition(0);To get the scroll pane AND scroll bar to reset to the top, I used BOTH of the following lines of code. This is definitely the best solution I have found:
    myTextArea.setCaretPosition(0);
    myScrollPane.getVerticalScrollBar().setValue(0);Something else I had tried in the past was this:
    SwingUtilities.invokeLater(new Runnable() {
        public void run() {
            myScrollPane.getViewport().setViewPosition(new Point(0, 0));
    });This worked in that it reset the scroll pane to the top, but you could see it scroll down to the bottom as text was added, and THEN it reset to the top, causing a "flashing" effect.
    Hope this helps anyone struggling with this issue in the future.
    Barb

  • I can no longer see the top menu bar in itunes.  where you see the status of syncing.  where you have the option to click and move a song you are playing to the middle of the song, etc.

    I can no longer see the top menu bar in itunes.  where you see the status of syncing.  where you have the option to click and move a song you are playing to the middle of the song, etc.

    It's iTunes screen menubar:

  • I clicked on the angled arrows in upper right corner and lost my top menu bar, the one with the apple.  How do I get it back?

    I clicked on the angled arrows in the upper right corner of my screen in Safari and then lost my top menu bar, the one with the apple.  How do I get it back?

    Restart your computer.

  • I have moved mt PS CC to other screen and can't move back to previous as the top area is hidden how do i get it back?

    I have moved mt PS CC to other screen and can't move back to previous as the top area is hidden how do i get it back?@

    Thanks for reply i have fixed it now, but its doing the same in illustrator and can't get it to go back how i did it in photoshop do you know how to fix that one?
    (See screen shot for example) The Layers window i can only see bottom and need to see all and can't drag down

  • After  watch a video in "full screen mode" and the video shrinks back into the eBook view, HALF of the TOP Title Bar DISAPPEARS, But it does not happen with ios 6.1

    After  watch a video in "full screen mode" and the video shrinks back into the eBook view, HALF of the TOP Title Bar DISAPPEARS, But it does not happen with ios 6.1

    The Mac has never needed "Full Screen". It has done multiple screen Extended Desktop since 1987.
    Full screen is an iPhone feature, carried into this verion with the mult-touch gestures and other so-called "unifying" features.

  • In Yosemite, How can I get the "READER" button back in the Tool Bar at the top of the screen

    In OS X Yosemite,
    How can I get the "READER" button back in the Tool Bar for Safari at the top of the screen ?
    Thanks,

    I don't see the "READER button".
    I see "READ LATER" but not the "READER" function.
    Maybe I'm doing it wrong.
    Please continue to HELP ME with this question.
    In the previous version of Safari, there was a "READER Button" on the right side of the tool bar. This brings up the selected web page in a READER mode all by itself, without the ads, etc.
    Are you saying that I can get this function by clicking on the Left side of the Address bar?
    When I do that, I get lots of icons, but NOT the READER button.
    Thanks

  • My screen moves around and I can't see the dock and the top use bar at the same time.  Help, please.

    I have an iBook G4.  The images on the screen "fall off" the top and/or bottom.  That is, I can't see the dock and top user bar at the same time.
    The computer seems to automatically move the screen around as I use the cursor.  I don't know how to fix the image so it just fits the boundaries of the screen.  OS10.4.11.  Thanks for any help you can give.

    It sounds like maybe you've unintentionally activated the Zoom feature.
    Try going to System Preferences > Universal Access > Seeing, and make sure that Zoom is turned off.
    Does that help?

  • How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19

    How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19.
    URL Eaddress: [email protected]

    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden, so you need to hide the Menu bar to get the new appearance.<br />
    If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.<br />
    You can place the Tab Bar on top.
    * View > Toolbars : [ ] Menu Bar
    * View > Toolbars : [X] Tabs on Top
    The Tab bar only appears on the title bar if the Firefox window is maximized.

  • Move rectangle to top (startpage to navigation bar)

    Hello.
    I am a new user of Adobe Muse and have not found any answers yet, probably due to a lack of me knowing the correct terms for what I want to do.
    I want to create a website with a start site looking like this:
    Upon clicking on one of the links (link1, link2, link3) I want to switch to one of those sites, but for a more modern experience, want to have the white rectangle move to the top of the site and if possible rearrange the sitename to the left top and maybe let it scale a bit down and have the link1 to link3 move to the top right and scale to 50%.
    Is such thing possible, even without scaling, within muse or a code I can paste into it?
    Many thanks in advance for any pointers, even if only how such thing is called and for me to go hunt some more.

    In this case where you want to link up 3 different sites with text or image with a primary site , you would need to hyperlink site with text on page.
    Talking about the plan, it would be :
    - Create a rectangle with text or image for 3 different sites and hyperlink them with respective urls.
    - Once user clicks on the text or image , he would land to another site.
    - For other site , you can create a header section which would be on top of the page with site name and other site links.
    If you are referring to scroll function, such as on click to link white bar would scroll , you can create this but it wont be a different site but on the same page.
    With compositions you can use the label area for adding links or anchor points on page , but again this wont change site url in browser as it would be same page not a different site.
    Thanks,
    Sanjit

  • Top Menu Bar Freezing

    Hey, I just noticed this today, I'm not sure how long it's been going on though. On my Powerbook G4, certain top menu bar items, all that have to do with OS X, including the TIME, SPOTLIGHT, AIRPORT MONITOR, as well as SOUND CONTROL freeze temporarily. Thus, the time freezes and does not display the correct time. Instead it displays the time at which the freeze occured. When you mouseover any of these items, the rainbow wheel appears. Has anyone had this problem? Possible fix? Thanks a lot!

    Hi, Spencer and Inspired, et.al. —
    Edit: Inspired's post appeared while I was editing what's below. We clearly agree on potential solutions. Since I've listed a few additional suggestions, I'll post this as a complement to Inspired's excellent response . . .
    Some background and a few ideas for you to try —
    The items on the right side of the menu bar are called "menu extras," and are managed by a process named SystemUIServer. When the behavior you've described is occurring, you may want to open Activity Monitor and check whether SystemUIServer is "hanging." If so, this may be a temporary situation. Your logs may provide an indication of what's causing the problem (I'd check system.log and console.log first). Please post back if you'd like help doing this.
    From various readers' reports and solutions, this kind of problem can be caused by a number of things — including Spotlight activity, corrupted .plist files, incompatible 3rd-party "menu extras," etc.
    For now, you may want to try these ideas (one at a time):
      (1) Check that it's not simply an issue with Spotlight activity &/or indexing. If it is, waiting a little should do the trick.
      (2) Locate these two files, move them to the trash, and restart:
         ~/Library/Preferences/ com.apple.systemuiserver.plist
         ~/Library/Preferences/ByHost/ com.apple.systemuiserver.xxxxxxxxxxxx.plist.
    After restarting, these preference files will be regenerated. But please note that you may have to reset all of your preferences involving menu extras — or launch them from the "Menu Extras" folder, as described above.
      (3) Identify any 3rd-party "menu extras" you have installed, and disable them — then check to see the impact of this change. If you have unsanity's Application Enhancer system (APE) installed, you may have to use its preference panel and uninstall it.
      (4) Try locating and re-enabling menu extras — either from their respective System Preferences or (not all have prefs) from their path: Go to /System/Library/CoreServices/Menu Extras. All of the menu extras are located here. (SystemUIServer is also located in the CoreServices folder.) Double-click to re-enable any of the menu extras that are currently disabled. Note that, if you make a mistake, you can click on any menu extra and ⌘-drag it to a diffferent location or off the menu bar entirely. You may want to restart (some would say to also repair permissions) after doing this — but I can't confirm this is necessary.
      (5) In several situations (that I mention only as a ~"last resort"), users have used Pacifist to extract a "fresh" copy of SystemUIserver from their Install Disc or, e.g., from the 10.4.3 Combo Update Package and replacing the existing copy of SystemUIServer. Note that there are supporting files — so please post back to discuss this if you eventually decide it's warranted.
    I hope one of these solutions that have worked for others is helpful.
    Please feel free to post back and discuss things further . . .
    Good luck!
    Dean
    Message was edited by: Dean Pahl

  • Top menu bar not permanently visible. HELP

    a friend borrowed my laptop and when it got back to me, the top menu bar is invisible whenever i'm browsing or opening application. it only appears if i move my mouse over to the top... i want it to be permanently visible all the time so i don't have to move my mouse over all the time. HELP! thanks.

    Your friend must have installed some third-party hack to make that happen.
    There appears to be a lot of Google hits on the subject.

  • Photoshop Elements 9 - Organize - I have lost the top task bar that shows "File, Edit, Image etc".

    Using Photosho Eleements 9, I have just had to install the prgroamme changuing my computers to Windows 7.
    After installing this oprogramme, I am unable to see the top Task Bar which shows "Files, Edit, Image etc..
    This is OK in the Edit programme.
    How do I get this taskbar back again as I am unable to import items?

    Hope that the link above has helped you.
    As your question concerns Photoshop Elements, I will Move it to that very helpful and active forum.
    Good luck,
    Hunt
    [Moved to Photoshop Elements Forum]

  • TS3297 iTunes top menu bar incomplete - Win7

    Hi, i'm running win7, and have iTunes v11.0.2 downloaded (today), but the top menu bar does not have music, movies or TV shows listed.
    I have tried uninstalling and reinstalling, ive tried msconfig.... nothing seems to work.

    It sounds as if your iTunes window got moved up until it is off of the screen. Change your display resolution until you can see all of it and move it. Then change the resolution back to the preferred setting.

Maybe you are looking for