ScrollPane can not scroll to the bottom

Help wanted:
I am using a scrollPane to display difference colored text which I used canvas to paint the text each time new text appended to it.
The problem is the scrollbar can never scoll to the bottom of the ScrollPane's viewport even though I set the scroll position to the bottom of text height.
I used:
Adjustable v = scrollpane.getVAdjustable();
System.out.println("get value:"+ v.getValue() );
The value I got is not the value I set, If I set the scrollpostion y to 300, the value I get will be 285, always, 15 difference(the font I use is 11). the maximum and minimum are always same. So the vertical scrolbar is not scroll all the way to the bottom end, actully a little apart from the bottom end. so the last line of text is not showing.
I tried everything, no use, I can not change ScrollPane....
Any solutions here??? or anyone write their own ScrollPane, I 'd appreciated for anything....
Thanks ahead!

I have the same problem. I'm able to work around it if I select another message and then go back to the one that's not loading properly. So far, it always loads properly the second time. It's frustrating that I have to do that, but it works for me.

Similar Messages

  • Can't Scroll To The Bottom Of The Page

    I’ve had an issue pop up that I need help with in trying to remedy. I have developed the following page to work on IE 7 & 8, Safari, Chrome, Opera, and Firefox.......
    Totten Insurance Group Products Page
    ...... it was discussed, critiqued, and developed over several months by an entire team of people who saw several different designs and concepts that I presented to them and it works fine on all browsers, unless you make a menu selection and navigate away from this page, and then go back to this page.
    Give it a try, you'll see what I mean. For example, if you scroll over "Commercial Casualty" and selection "Airside Liability" from the list, and then go back, you won't be able to scroll to the bottom of the Commercial Casualty menu. It keeps jumping up and won't allow you to see the bottom of the menu(s), unless you refresh the page.
    Any suggestions on how to remedy this so users don't have to refresh the page?
    Aaryn

    Try hitting '''F7'''. You probably inadvertently activated Caret browsing. <br />
    http://kb.mozillazine.org/Accessibility.browsewithcaret

  • Can not view all the thumbnails in version 9 adobe standard

    Hello,
    I recently installed adobe standard 9 running parallel with adobe standard 5.
    My end user is claiming of the view setting for patient data. She can not scroll all the way to the bottom
    as she could in adobe 5. She can see all the thumbnails minus the last row. I have changed the prefereces to show the same
    as adobe 5. However I can not get the correct settting to make it right for her.
    Any adivse or trouble shoot steps would be appreciated. Adobe said to update the product, I have done that last night.

    How do I do that?
    Date: Tue, 14 Dec 2010 10:10:01 -0700
    From: [email protected]
    To: [email address deleted by host]
    Subject: Acrobat Windows Can not view all the thumbnails in version 9 adobe standard
    Change the size of the thumbnails, change the size of the thumbnails window, or upgrade Acrobat X.
    >

  • In safari a lot web pages will not scroll all the way down

    a lot of web pages in safari will not scoll all the way to the bottom what do I do

    You can try to resetting Safari. Tap Settings, then tap Safari on the left side. Then on the right side - tap clear history, clear cookies, clear cache. Clear all three. Reboot your iPad. Hold down on the sleep button at the top until the red slider appears and slide to power off. Then hold down on the sleep button until the Apple logo appears and the iPad will restart. Launch Safari and see if helped.
    If you are trying to scroll through an area of text and can't scroll to the bottom try a two finger scroll.

  • I turn on speech to text but Ayer I can not scroll down in general setting to turn it off. How can I scroll down

    I can not scroll down to turn of the speech to text. How can I turn it off when I can not scroll down the menu in general setting. It seem everything is locked. Thank you.

    If you are referring to VoiceOver, you need to scroll using three fingers.

  • When you scroll to the bottom of the list of files in Finder, the left to right scrollbar doesn't let you click the last file and it covers the file for a while until it disappears. Is this a bug? How do I not make that happen?

    When you scroll to the bottom of the list of files in Finder, the left to right scrollbar doesn't let you click the last file and it covers the file for a while until it disappears. Is this a bug? How do I not make that happen?

    An odd workaround: click "Always" in System Preferences/General/Show scroll bars. The scroll bars will always show, but they won't cover your last file.
    See this other post: https://discussions.apple.com/message/20572471#20572471

  • I have a version 7.0.4.  I can't connect to the server.  My capacity is 13.5  with 10.4 GB available.  Diagnostics and usage data, when scrolled to the bottom, tells me I have low memory.

    I have a version 7.0.4.  I can't connect to the server.  My capacity is 13.5  with 10.4 GB available.  Diagnostics and usage data, when scrolled to the bottom, tells me I have low memory.How cani fix this?

    Clear Safari, close all apps on the iPad and reboot. Then see if you can connect.
    Go to Settings>Safari>Clear Cookies and Data.
    Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to each app then swipe "up" on the app preview thumbnail to close it.
    Reboot 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 if it appears on the screen - let go of the buttons. Let the iPad start up.
    If you still can't connect to the internet, you need to do some more troubleshooting with the network connection, but report back with more details if that doesn't work and don't just repeat the question in the text box are that you have to describe the problem. That serves no purpose at all.

  • When i slid my finger nothing happens. i have to tap somthing once and then the phone reads whatever button i tap and if i tap 2 times real fast it will open whatever i clicked on. i can not scroll the screen up or down.  can any one please help me?

    i have the tap every thing twice to activate it and i can not scroll .

    Quickly, triple tap the Home button to turn off accessibility features.

  • Can not sign in the operation couldnot be completed

    Can not sign in the operation couldnot be completed

    Try this...
    Go to Settings>icloud, scroll to bottom of screen and tap Delete Account.  Then log in again.

  • Space appears after text when you scroll to the bottom

    i am a newbie flash designer. a client has asked me to make modifications in a flash file used on his website. it is flash 8 actionscript. i am currently working on the same and would appreciate your help. the client has given me 'divisions.swf' file which i decompiled using sothink decompiler 4.5 build 90120 to '~divisions original.fla'. the xml folder resides in the same folder as ~divisions original.fla. it contains divisions.xml. you can download these files at http://rapidshare.com/files/257100523/space_after_text_when_scroll_to_bottom.zip
    i discovered a problem - if you view 'divisions.swf' - when you click on 'retail visual solutions'and scroll to the bottom, you can see that there is no space after the text. the end of the text aligns with the end of the scrollbar. but when you click on eyesite, and scroll to the bottom, you can see that there is space after the text. the end of the text does not align with the end of the scrollbar.
    please help me to resolve this problem.
    my additional questions are:
    has the creator of the swf file used some unique scrollbar code or is this scrollbar provided in flash itself. in this case, i can read a tutorial to understand it better.
    i have given 'is correct - no space at bottom of text.jpg' and 'is incorrect - space at bottom of text.jpg' to further explain my query.
    please tell me if i have explained my problem properly or further clarifications are needed.

    Try changing the code in frame 16 to be:
    stop ();
    var tString = xmlObj.Options.Option[2]._value;
    tString = tString.split("\r\n").join("\r").split("\n\r").join("\r");
    txt3.htmlText = tString;
    The scrollbar is a component that may or may not have been concocted by the original designer.  In any case it does utilize the FScrollbar feature of Flash.  You can read about it via the link below:
    http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dic tionary303.html.

  • Scrolling To The Bottom of a WebView

    I'm trying to figure out how to determine when the user has either scrolled to the bottom or the top of a web view. There doesn't seem to be a way to get the current scroll position within the webview. The ScrollEvent only shows the current delta, and there doesn't seem to be a way to determine how much of the document is not visible (clipped).
    Mark

    OK. My hack for this is ugly but it works:
    WebView view...
    Set<Node> nodes = view.lookupAll(".scroll-bar");
                    for (Node node : nodes) {
                        if (ScrollBar.class.isInstance(node)) {
                            ScrollBar scroll = (ScrollBar) node;
                            scrollPos = scroll.getValue();The view.lookupAll call is the only way to actually get a handle on the webview's scrollbars. Since there are a couple of components that actually use the scroll-bar style, you have to make sure that the node is a ScrollBar before you do anything with it.
    This shouldn't be necessary. Ideally the ScrollEvent class should give you handle on the ScrollBar, or give you the current scrolling position in relation to the max and min values. However, that doesn't seem to be the case. Prior to this, I tried putting the WebView in a ScrollPane, and a variety of other hacks, but every time I debugged through it, I would never get the right scroll position.

  • List box is not scrolling to the last item

    Hello all,
    I am developing a Windows Phone 8 application, in that I am using List box to display the data. I have requirement like once the page is launched user should navigate to the last item of the list box. For this requirement used scroolintoview method like LsbSample.ScrollIntoView(LsbSample.LastOrDefault).
    It is moving to the last item but not fully. It is showing last item around 60% but for remaining 40% I need to manually scroll the list box.
    Can any one help me to resolve this issue.
    Thanks in advance.
    Santosh Kumar Kotta

    It's likely a small bug. Can you try scrolling to the bottom of the scrollviewer's height instead?
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Why the vertical scrollbar bar is automatically scrolled to the bottom pos.

    I created a JScrollpane to contain a JTabbedPane. The JTabbedPane has two JPanel and each of them has a number of GUI components such as JCheckbox and JTextField. They have different size because their GUI components are different. The 2nd panel is about twice the size of the first panel.
    When the JScrollpane is shown, its vertical scroll bar is automatically scrolled to the bottom position. However, it is the first panel that is initially visible to the user. So, the user will see no GUI components of the first panel because the auto scrolling of the vertical scroll bar.
    Can anyone tell me how to disable the auto scrolling?
    I just want to let the scrollbar knob stay at the top so that the GUI components of the first panel (the smaller one) can be seen initially!

    Works fine for me:
    import javax.swing.*;
    import java.awt.*;
    public class TabbedPaneScroll extends JFrame
         private JTabbedPane tabbedPane;
         public TabbedPaneScroll()
              tabbedPane = new JTabbedPane();
              tabbedPane.setPreferredSize( new Dimension(300, 200) );
              getContentPane().add(tabbedPane);
              addNewTab( 10 );
              addNewTab( 5 );
              addNewTab( 20 );
         private void addNewTab(int fields)
              JPanel panel = new JPanel();
              panel.setLayout( new GridLayout(0, 1) );
              for (int i = 0; i < fields; i++)
                   panel.add( new JTextField("" + i) );
              JScrollPane scrollPane = new JScrollPane( panel );
              tabbedPane.add(scrollPane, "" + fields);
         public static void main(String args[])
              TabbedPaneScroll frame = new TabbedPaneScroll();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }If you need further help then you need to create a [url http://www.physci.org/codes/sscce.jsp]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • Force a string indicator to scroll to the bottom

    In LV Web UI Builder is there a way to force or programmatically scroll a string indicator to the bottom? 
    I am building a virtual hyperterminal and I am writting a very large amount of data into a string control.  I have the vertical scroll bars turned on, but by default it just shows the information at the top.  I want to include all of the data so that the user can scroll back to see the history, but it would be nice if by default the scroll bar would stay at the bottom.

    I just wanted to confirm there is no way currently to force a string indicator to scroll to the bottom. I will note this down as a product suggestion for the Web UI Builder team.
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • Since I installed IOS 8.0.2 (was ok on IOS7),on my iPad 4 "photos" don't scroll properly, it freezes and staggers, it's really slow to scroll to the bottom of the page (in Album, Events From My IMac) it's very annoying!

    Since I installed IOS 8.0.2 (was ok on IOS7),on my iPad 4 "photos" don't scroll properly, it freezes and staggers, it's really slow to scroll to the bottom of the page (in Album, Events From My IMac) it's very annoying!

    I'm not sure, but I know it's not recommended to upgrade to iOS 8 on anything older than an iPhone 5. I only lost my music playlists and music that was on my phone, but that music is also on my iTunes, not the playlists though, and I don't want to go through ALL my iTunes library to fix it either... But it seems I don't have a choice right now.
    Whatever you do, do NOT upgrade to iCloud Drive, keep iCloud till OS X Yosemite comes out, if your computer is a Mac. I also just noticed that all my documents on my phone are gone from Pages, BUT if I go on the iCloud website they are still there. Hopefully it will all work itself out when I can update my macbook pro to OS X Yosemite.
    If you backed up your phone and all your purchases off your iPhone prior to trying to upgrade you should be fine... But I'm not even remotely sure.

Maybe you are looking for

  • Report on Excise Part 2 details

    Hello friends, I want following report on excise to be extrated from SAP 1.GR No.& date 2.Part II number 3. Excise invoice no. & date 4. Vendor name 5. Duty amount The details are available in foll tables J_1IPART2 - all details available except Exci

  • Tutorial won't display my Biz Objects

    I'm go through the first Business Objects tutorial trying to master the EJB and BC4J thing. I'm connecting up to an Oracle Applications master schema and creating biz objects from two synonyms. When I get to the 12th or so step, using the business co

  • Why is the spreadsheet empty when users download to Excel from ALV grid?

    Users are seeing SAP GUI transaction results display in the ALV Grid when running an SAP Report; however, when they click the Download to Excel icon the spreadsheet is empty.  When they use List...Export...Spreadsheet, the spreadsheet is filled. This

  • BAPI for customer group wise sales

    Hello Experts, I m developing one report,in which i want customer group wise sales , collection & outstanding as on date. Is there any BAPI which helps. Please suggest. Ravi

  • Customer contact. email

    Hi gurus, I want get a list of all customer master data with customer contact. I have gone to table: KNVK, but I can't get see if they have an email or not. How could I get a list with email? Thanks a lot.