Scroll bar remains up

hi all
i have developed a lan messenger to be installed in an organization.
it works fine except for the fact that when u start chating and the display area gets full the scroll bar remains up and u have to pull it down every time u want to see the new lines entered, although it should be the reverse. please suggest me how can i make the scroll bar slide down as more text is entered.

Simple :p
use a function like this every time that the pane is increased
public void actualizaBarra(){
outputPane.getVerticalScrollBar().setValue(outputPane.getVerticalScrollBar().getMaximum());
}This function set the scrollBar at the max value.
In my case the scrollPane is called outputPane.

Similar Messages

  • IE Scroll Bars remain after resize

    I have received several complaints from the users in my company that the scroll bars that appear if you open the portal in a non-maximized browser window remain after the user resizes the window.  These will 'dis-appear' if the user presses the Browser Refresh key (F5). 
    We have build navigation target links in other environments that point to specific Portal content.  When executing these links, a new window opens up which is sized to a non-maximized size.  This window retains the necessary scroll bars when re-sized.
    Any ideas on how to correct this?
    We are using EP6 SPS 14.
    Best regards,
    Bryan

    I managed to fix this issue on my own. Had to do with display settings and specifically with font size .

  • Vertical scroll bars remain the older OSX pill type (pre 10.8) in Firefox on OSX 10.9. How can I fix this?

    The Firefox installation on my iMac (2009) spans at least 3 operating systems. I recently updated to OS X 10.9 from 10.6.x but the scroll bars in Firefox are not the default OSX 10.9 but the older 10.6 ones. There are 4 other users on this computer and their scroll bars are the correct ones. Resetting my profile and full re-install has not corrected this problem. I have used Firefox since OSX 10.2 and transferred my profile from an older Mac to this iMac some time ago. This is probably some bit of code or style or something from some theme that was installed under 10.6 or earlier that needs to be removed. I have not tried the nuclear option of completely deleting my profile and hunting down every preference related to Firefox or Mozilla in my account. This is not so much a problem as an irritation.

    Thanks for the suggestion, but no go. Some bit of an old Mozilla/Firefox theme or some other 3rd party OSX utility is stuck somewhere. Like I said, more an irritation than a problem, doesn't effect the performance of the browser--its just weird.

  • My scroll bar keeps freezing when a open a second PDF in a session.

    When I open the first PDF, it works just fine, but when I open a second PDF, either in a second tab or just later on in the same session, the scroll bar remains locked at the top.

    try doing a SMC RESET if you've tried repair permissions...

  • Additional Data B Tab; screen#8309 scroll bar problem

    Hi
    I created additional fields to capture Quotation related information.  There are about 43 custom fields added to VBAK using append structure.
    These have modified the Screen#8309 to include all those fields.  Looking at attributes of the screen#8309, it says Occupied 31 lines and 121 columns.
    When I execute transaction VA21 and my display is average screen size, I see about 21 lines and scroll bar to see the rest of the screen.  When I click on the scroll bar, the rest of previously hidden section of the screen shows blank.
    If I maximize my screen, all the fields show up correctly.  When the screen is in a reduced size and section that become visible when we use the scroll bar remain blank.
    I compared the attributes of screen#8309 and fields I have added with other SAP Screens which are long and run into multiple screens, I don't see anything specific parameter or flag that will initialize the hidden section of the screen.
    Question is how to get the hidden section of screen to populate automatically!?
    Any help is appreciated.
    Thanks,
    Vasava Krishnamoorthy

    Found the answer ...
    OSS Note# 302497,
    There is field "Scrollable" in the field attributes of the subscreen 8309 when you edit screen 4312; this field needs to be turned on ...

  • How to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot controlled with mouse, returns auto to top of scroll slide, never remaining at bottom

    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.

    cjuan1morb4ulv wrote:
    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.
    The first two problems (box cycling from element to element on page, scroll bar returning to top) can be caused by a stuck (or defective) Tab key on the keyboard. Such damage can be caused by a liquid spill; just one tiny droplet is enough to short a wafer switch under one key.
    The last issue (black box, white text - sounds sorta like a debugger window) I haven't seen, but could be caused by something similar.
    To check for that, try using a different keyboard. If you're using a wireless keyboard, turn it off and see if the oddities stop.

  • How to activate the Vertival Scroll Bar to Table control

    Hi All,
    I Have created a Module pool table control(Wizard) with Input control,where user can enter the values in the screen.
    In my screen 15 lines are visible,once i enter all 15 rows,vertical scroll bar is active,but rest of all lines are in deactivate mode.
    My requirement is:Once i enter all the visible lines,the remaining lines should be in activ mode(In put control).
    I appreciate your response.
    Best Regards,
    Seshadri

    DATA : BEGIN OF IT_MARA OCCURS 1,
           MATNR LIKE MARA-MATNR,
           ERSDA LIKE MARA-ERSDA,
           ERNAM LIKE MARA-ERNAM,
           MTART LIKE MARA-MTART,
           MBRSH LIKE MARA-MBRSH,
           V_FLAG TYPE C,
           END OF IT_MARA.
    DATA :  WA_MARA LIKE it_MARA .
    CONTROLS TABLE TYPE TABLEVIEW USING SCREEN 100.
    MODULE POPULATE_100 INPUT.
      CASE SY-UCOMM.
        WHEN 'DISP'.
          SELECT MATNR
                 ERSDA
                 ERNAM
                 MTART
                 MBRSH FROM MARA INTO WA_MARA .
            APPEND WA_MARA TO IT_MARA.
          ENDSELECT.
          DESCRIBE TABLE IT_MARA LINES V_TEXT.
          TABLE-LINES = V_TEXT.
          CLEAR IT_MARA.
    Regards..
    Balaji  ( assign if this helps u ..)

  • Auto generated scroll bars won't go away

    I used the following sample script provided by macromedia to
    create a scrolling text area powered from a text file and css file,
    but when I move on to another part of the FLA., the scroll bars
    generated by this script remain - on top of other layers. How can I
    tell the scroll bars to go away?
    //Copyright (C) 2005 Macromedia, Inc. All Rights Reserved.
    //The following is Sample Code and is subject to all
    restrictions on
    //such code as contained in the End User License Agreement
    accompanying
    //this product.
    //Handle the UIScrollBar - instance in library
    this.createClassObject(mx.controls.UIScrollBar, "my_sb", 20);
    // Set the target text field for the scroll bar.
    my_sb.setScrollTarget(my_txt);
    // Size it to match the text field.
    my_sb.setSize(16, my_txt._height);
    // Move it next to the text field.
    my_sb.move(my_txt._x + my_txt._width, my_txt._y);
    //Note: Download the TXT and CSS files to look at their
    structure. Use the URLs below.
    //load text
    function loadMyText(evt) {
    var loadit_lv:LoadVars = new LoadVars();
    loadit_lv.load("projects.txt");
    loadit_lv.onLoad = function(success:Boolean) {
    if (success) {
    my_txt.text = this.content;
    } else {
    trace("Could not load text file.");
    loadMyText();
    //apply stylesheet
    var flash_css = new TextField.StyleSheet();
    flash_css.load("levi.css");
    flash_css.onLoad = function(success:Boolean) {
    if (success) {
    my_txt.styleSheet = flash_css;
    } else {
    trace("Could not load CSS file.");
    };

    try:

  • Dictionary App will not scroll or display scroll bars.

    This usually happens when I have Wikipedia search enabled because there is more text but not always.
    Scroll bars do not show. When I resize the window the scroll bars will sometimes show but I cannot scroll DOWN. Whatever type existed in the window at the original search remains and will not let me see the remaining text. Clicking on "A"/"a" changes font size but does not load the remaining type.
    when I search for "W. C. Fields" I have much more content to view but cannot.
    How can I get Dictionary to display working scroll bars?
    Is there a dictionary update available? What is the last version compatible with 10.5?
    This is what I have:
    *Dictionary Version 2.0.2 (51.4)*
    *© Copyright 2005-2007 Apple Inc., All rights reserved.*

    Known issue. Search these forums for *dictionary scrollbars* and read the gory details. Alternatively, see http://www.macosxhints.com/article.php?story=20100525215150144

  • Horizontal scroll bar moves with page up/down

    I'm new at this and apologize if I don't have the right forum, but can't find any reference to my problem anywhere. A month or so ago the horizontal scroll bar at the bottom of the screen started moving up or down with the page as I used the vertical scroll bar to page up or down. The bar partly disintegrates if I click on it, but mostly remains in place and obscures text on that line. If there is more than one page I can make the bar disappear by scrolling the to the next page, and then back. This happens only when I'm on the internet, and appears in news pages ( e.g. NY Times, BBC) and on my e-mails (I use Hotmail). I have a Mac mini, 1.66 GHz, OS 10.4.11, all other updates offered by Apple. I'm sure this is not a Safari problem, and my searches for Apple viruses, Trojans, Worms, has found nothing about this (there are discussions about vertical scrolling, but these don't seem to relate to my problem). So can anyone tell me what this is and how to get rid of it? Thanks for any help. TJ Wont

    I've got the same problem. It started when the BBC introduced adverts onto their News website. As the page loads an advert (or sometimes whitespace) appears between the tab and the BBC News banner. This is then shifted to the right hand side when the page fully loads.
    I suspect that there's some fancy DHTML going on that Safari isn't rendering properly.
    Problem doesn't occur if the Safari window is maximised to full screen width.

  • Scroll bar in jsp

    Hi all,
    I am having a table in jsp.
    It contains four columns. 1 st and 2 nd row gives the table headings.
    In first row, i have applied rowspan=2 to first two columns.then for 3rd and 4th column there is no rowspan.
    in second row, I have given heading for 3rd and 4th column.
    Now i need to add scroll bar for the table. It should scroll only the content of table but the heading of table should remain constant.
    so can u help me with samplecode.....I m new to scrolling .....

    Hi Lakshman,
    You can include it in stylsheet and then use that class in your <body> or "div"  tag.
    the CSS command is
    overflow:auto;
    you can use like
    <body style="overflow: auto;"> or -- div style="overflow: auto;" 
    You can declare class in ".css" file
    #c1
    .c1
    <body id="c1>> or <div id="c1">
    <body class="c1>> or <div class="c1">
    You can use either "class" or "id" by adding it to "CSS" file and the use it to any JSP file or by direct aditing "Style" attirbute in tag.
    so when your content is longer then your screen browser will display scroll bar automatically.
    I hope this will help you.
    Thanks and Regards.
    eCommerce Developer
    Edited by: Ecommerce Developer on Jul 9, 2009 5:58 PM
    Edited by: Ecommerce Developer on Jul 9, 2009 5:59 PM

  • Scroll Bar in Table

    h3. {color:#800000}*Hiii all,*{color}
    h3. {color:#800000}*i notice that if i have a table with some rows, more than the height a scroll bar showed up, but if you use next button the scroll remain in the top but the selected row is next, until you go more than the height and the scroll remain at the top??*{color}
    h3. {color:#800000}*how can this be fixed ????? any help in this ??*{color}
    h3. {color:#800000}*Thanks every one* {color}:8}

    In this case you should wait for net next release.
    We had this discussion here before Re: how to get a pagination dropdown inside an ADF Faces Rich Client Table and there are more discussion I'm sure.
    I remember that there is an ER filed which should make it the developers choice how to work with tables.
    Timo
    Edited by: Timo Hahn on 17.09.2008 11:41

  • JScrollPane scroll bar trouble on rebuild

    I've been working on this for hours (about 4 hours now) without finding the right solution, so maybe someone can help. I searched through a few pages of the forum but didn't see this exact issue. And the tutorial online doesn't help much.
    I have a JPanel in a JScrollPane in a JFrame. The JFrame has it's height reduced if its over a particular size (in the test case, it gets reduced). When it first loads, it's fine. However, if I rebuild the whole JFrame (some event causes the JPanel content to change, and refresh() is called again), the window remains the same size but the vertical scroll bar extends off the bottom of the frame. If I manually resize the frame with the mouse (even by 1 pixel), the scroll bar updates and looks correct again. What is the correct way to do this? Calling revalidate() on the JScrollPane after doing the setSize() doesn't do anything. And why does it work the first time when the JFrame is first built through the Constructor?
    example code:
    public class MyFrame extends JFrame {
        public MyFrame() {
            super();
            refresh();
        private void refresh() {
            JPanel jp = new JPanel();
            jp.setLayout(new SpringLayout());
            // add some stuff to jp
            JScrollPane scrollPane = new JScrollPane(
                JScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
                JScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED
            scrollPane.getViewport().add(jp);
            setContentPane(scrollPane);
            pack();
            if (getHeight() > MAX_HEIGHT) {
                setSize(getWidth(),MAX_HEIGHT);
    }

    When you have changed the content, call getRootPane().validate(); instead of pack(), as in this slightly modified version of your sample program:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MyFrame extends JFrame implements ActionListener {
        private static final int MAX_HEIGHT = 100;
        public MyFrame() {
            super();
            refresh(true);
        public static void main(String[] args) {
            MyFrame myFrame = new MyFrame();
            myFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            myFrame.setVisible(true);
        private void refresh(boolean pack) {
            JPanel jp = new JPanel();
            jp.setLayout(new BoxLayout(jp,BoxLayout.Y_AXIS));
            JButton refreshButton = new JButton("Refresh");
            refreshButton.setActionCommand("refresh");
            refreshButton.addActionListener(this);
            jp.add(refreshButton);
            jp.add(new JLabel("Hello"));
            jp.add(new JLabel("There"));
            jp.add(new JLabel("Why"));
            jp.add(new JLabel("Doesn't"));
            jp.add(new JLabel("Refresh"));
            jp.add(new JLabel("Work"));
            JScrollPane scrollPane = new JScrollPane(
                ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
                ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED
            scrollPane.getViewport().add(jp);
            setContentPane(scrollPane);
            if (pack) {
                pack();
            else {
                getRootPane().validate();
            if (getHeight() > MAX_HEIGHT) {
                setSize(getWidth(),MAX_HEIGHT);
        public void actionPerformed(ActionEvent ae) {
            refresh(false);
    }

  • How do I get scroll bars to work

    I get a vertical scroll bar where I don't want one.  The horizontal one (see attachment) is needed as the form gets quite wide when it is in Spanish.  But despite turning off verticalScrollPolicy everywhere, one of them still appears.
    <mx:AddChild relativeTo="{bodyFormHolder}" position="firstChild">
    <mx:VBox id="resultsPageBox"
    backgroundColor="#dedacf"
    width="100%"
    height="100%"
    verticalScrollPolicy="off" horizontalScrollPolicy="off">
    <mx:HBox id="rAccessHBox"
        minWidth="640" width="100%"
        x="0" y="0">
    </mx:HBox>
    <!-- across top *********************************************** -->
    <!-- ********************************************************** -->
    <mx:VBox id="topResultBox"
        verticalScrollPolicy="off" horizontalScrollPolicy="off"
        width="100%"
        styleName="backColor" >
    </mx:VBox>
    <mx:HBox id="bothSides"
        verticalScrollPolicy="off"
        width="100%"
        height="100%">
        <!-- first column ***************************************** -->
        <!-- ****************************************************** -->
        <mx:VBox id="leftSideCanvas"
            verticalScrollPolicy="off"
            width="50%"
            height="100%"
            focusEnabled="false"
            styleName="backColor">
        </mx:VBox>
        <!-- second column **************************************** -->
        <!-- ****************************************************** -->
        <mx:VBox id="rightSideCanvas"
            verticalScrollPolicy="off"
            backgroundColor="#dedacf"
            y="0"
            width="50%"
            height="100%">
        </mx:VBox>

    A bigger question is how to get the scroll bars to work from the keyboard.  The problem is to be accessible, the application must be available to blind or physically handicapped people that can't use a mouse.
    To get the entire form read requires horizonal scrolling in some cases such as when it is in Spanish or the font size it increased a lot.  Now, a horizontal scroll bar appears and is easily movable via the mouse, but we have to have it move without a mouse.
    I found the vertical bar came from the form object and I eliminated that, but the bigger issue still remains.

  • WebView  scroll-bar width  – touch screen friendly

    How can I change the width of a WebView’s scroll-bar?
    I tried to change the padding and font size as suggested at
    [ https://forums.oracle.com/forums/thread.jspa?messageID=10409262 ]
    Although it works fine with TableView, it does not work for the WebView.
    Adjusting padding and font size only increases the height of scroll-bars increment/decrement buttons but the width remains default.
    The core problem is that I have a touch-screen driver with insufficient support for JavaFX TouchEvents (no SWIPE, SCROLL etc). It means that I received only mouse pressed/released and mouse move events. For that reason, I need to make my GUI (WebView, TableView,..) more user friendly.

    Where is there a scrollbar that's related to a menu ring? I can't find it.
    One way to get a larger scrollbar:
      place a horizontal progress bar:
      change to control
      change to "no fill"
      edit it (STD if you want slider width changes to stick, TD if you're ok with copy/paste)
      show parts window
      select "Slider, Needle or Thumb"
      Make it as wide as you like
      Color it
    Oh, cool! If you find a nice picture the size you want, make the Slider that size then right click it and "import picture from clipboard".
    Are you talking about the scrollbars for the whole window?

Maybe you are looking for

  • Issues: extremely slow start up, occasional green fuzzy screen, doesn't always hibernate and overheats

    First off, I should say that I'm not the type of person to shutdown my computer. If anything, I shut it to hiberate. I'm not sure if that's bad pratice or if that's what lead to this over time.. So here's what happens.. Today, I was working away and

  • Variable not working?

    Hi, I defined an array and function on the main layer: apple=["a","b","c"]; function displayFruit(fruit){ trace(fruit); On a movieclip, I've got this function: on (release) { _parent.displayFruit("apple"); Upon execution, the output shows "apple". Ho

  • Starting Server with SSL Enabled

    I want to start iplanet directory server 5.1 with SSL Enabled, but It always ask me PIN Token. I write slapd-test-pin.txt file as following : slapd-test-pin.txt -------begin----------- Token:test123456 -------end ------------ I put the slapd-test-pin

  • Music videos with no audio?

    Well i downloaded a video and converted it on itunes for it to be compatable with the ipod, but when i watch it on my ipod it has no audio. What can I do to fix this problem?

  • ITunes freezes mid-burn

    Until recently my iTunes has been able to burn CDs without any problems. However, now whenever I attempt to burn something iTunes freezes and stops responding as soon as it finishes checking the playlist. I've been able to burn CDs using other progra