How to keep SCROLLING AT TOP

I have a JScrollPane in which I put JTextArea and it goes always
to the end. How can I keep scrolling at the top of the pane?
Thanks alot
Tamer

Use the "setCaretPosition(int)" method of JTextArea and set it to 0.

Similar Messages

  • How to auto scroll from top to bottom on JTable ?

    HI All.
    At the current, I use JTable is contained JScrollPane. Now, I want Jtable auto scroll from first item to bottom and when JTable scroll to bottom then Jtable will scroll bottom to top, It is loop. Who know how do this function, please help me.

    Thanks for reply
    Actually. I was code -> scroll from top to bottom on JTable. Code below But when JTable auto scroll then screen is not smooth.
    Please help How to workground for this problem
    private void scrollTopToBottom() {
                   try {
                        JViewport viewport = flexGrid.getViewport();
                        int heightViewport = viewport.getViewSize().height;
                        while(moveY < heightViewport) {
                             synchronized (this) {
                                  while (suspended)
                                       this.wait();
                                  if (stopped)
                                       break;
                             moveY += 10;
                             if(moveY > heightViewport) {
                                  moveY = heightViewport;
                             viewport.setViewPosition(new Point(0, moveY));
                             try {
                                  Thread.sleep(500);
                             } catch (InterruptedException e1) {
                                  e1.printStackTrace();
                             viewport.updateUI();
                   } catch (InterruptedException e) {
              }

  • How to keep screen on top of others

    Hi there,
    I'm not sure if this is posted already. If it is I apologise.
    I have a question which is to do with keeping one screen on top. By this I mean that I would like to watch a movie (keeping this on top)
    and at the same time I would like to maybe do my work, play another game or something that is multi-tasking.
    I can't stagger the windows around the screen because the screen sizes are locked... so is it possible if I can keep one screen locked on top of another? instead of staggering them around the screen?
    I hope my questions is easy to understand. I'm not usually good with technical terminology. Thank you in advance! 
    Kind Regards
    Anthony Reid

    Settings>General>Auto-Lock>Never.

  • How to keep the horizontal top column letters and left row numbers????

    When working on a table, there is a vertical column on the left of the row numbers and a row across the top with letters that identify columns. I would like to keep this (as in Appleworks) but whenever I click on the table, or use Print View, or Print, these two identifying features disappear! I have tried everything to keep them, but no luck. Is there any way to do this?
    thanks

    Hello
    may you take care of the existence of the Search field on the right side of this forum?
    may you also look at the already existing threads (at least in the first two pages).
    Your question is available four or five rows below yours.
    Using it with the button more options and selecting The Numbers forum
    enter the keywords lock AND title .
    You will discover that yoy may get quick respnce to a lot of questions without asking for them in the forums.
    I know that some posters dislike this kind of response.
    I think that it's more useful to teach how to fish than to give a fish
    Yvan KOENIG (from FRANCE mercredi 23 janvier 2008 15:52:01)

  • How to keep firefox on top when veiwing other web pages?

    i just installed a dish receiver with sling and would like to watch tv in the corner of the computer screen and browse with a second window. but as soon as i do anything on the second window the tv window is gone from viewing.

    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • How can I stick an accordion navigation MENU on top of a mobile scrolling page and make it work properly? As I can't pin it, I keep it on top of the page with scroll effect 0. It collapse, shows the menu buttons but doesn't close back once it reaches the

    How can I stick an accordion navigation MENU on top of a mobile scrolling page and make it work properly?
    As I can't pin it, I keep it on top of the page with scroll effect 0.
    It collapse, shows the menu buttons but doesn't close back once it reaches the anchorpoint.

    Muse won't let you, at least not that I know of. You could find the class in the code that muse gives it position: fixed…I think. You could paste it into the head area of your page properties to override the class. I believe something like this would give you persistent nav bar, pinned at the very top, on mobile:
    #youmuseclass {position: fixed;}
    I wouldn't use any parallax on mobile either, the performance is terrible.

  • How to keep a image lways on top of internal frames?

    Hello.
    I have a main frame with sevral internal frames. I need to put a image on this
    window that can move this image remotely.
    How to keep this image always on top of these internal frames?
    Is there any panel that can put on top of these internal frame?
    Many thanks.

    Thanks for you reply and sorry for my break English.
    I mean I need a image that moving on a frame which has internal Frames.
    When the image meet a internal frame while it's moving, this image will go under of the internal frame , so that we can not see the image any more.
    What i want to do is that let the image always keep on top of the window,
    even if it meet a internal frame.
    Just imagine the windows cursor. A cursor is always visible no matter where is it.

  • How to keep OI window in background with message box/pop up boxes on top.

    Hi
    I have a new requirement to add in OI .How to keep OI main window fixed in the background with message pop ups atop OI window.
    Even  with message box pop ups , i should not have the access to OI main window.To  make it more clear,when i change to some other application in my PC task bar (for eg:-MSWord) and then click back to OI main window ,i should see the message box on the top of OI main window . I should not  have the access to click OI main window and OI message box as two separate operation in the task bar.
    Please let me know where i need to make changes in my OI  codeset.
    Regards,
    Nand

    Hi Nand,
    In the Message Popup step settings, check Make Modal under Layout >> Dialog Options.  
    I hope this helps.
    Cheers,
    David Goldberg
    National Instruments
    Software R&D

  • How do I get the top banner to always be viewed while scrolling? (fixed header)

    How do I get the top banner to always be viewed while scrolling? (fixed header)

    Have you tried pinning the banner as an element?
    http://tv.adobe.com/watch/muse-feature-tour/muse-pin-objects-to-the-browser-window/

  • Just got my MacBook Pro....having trouble opening up certain web pages...just keeps scrolling and scrolling, my 7 year old desk top that is on the same wireless network for internet opened up the same web page right away, so I think the Internet is OK

    just got my MacBook Pro and I'm having trouble opening up certain websites, it just keeps scrolling and scrolling and never opens up the page....this is not the case with all websites, however my 7 year old desk top - which is connected to the same wireless Internet connection opened up the same page right away, so I don't think it's the Internet, any suggestions?

    Use Software Update to update your os and anything else that needs to be updated.   Repair permissions and restart your computer when done.
    Not sure if your new Mac came with 10.7.2 pre-installed as you make no mention of your os system.

  • I started downloading an App last night and it seems to have jamed my Pad it just keeps scrolling, how do I stop this.

    I started downloading an App last night and it appears to have jammed up in the process and it just keeps scrolling, how can I stop this?

    Did you try to reboot the iPad?
    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 - let go of the buttons.

  • How do you scroll up and down on the library and playlists? I can only see an up arrow at the top of the first column on the left and it only switches between the top 28 songs and the bottom 28.

    How do I scroll up and down playlists and library on the new iTunes format.? When I ckick on the arrow in the box at the top of the far left column it only switches between the top and bottom 28 songs.

     Hi
     I looked at the specs for your laptop and there is no HDMI out port for this model but RGB & Headphones out jack should work. Here is the link for closeup views of the ports.
    http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/modelContent.jsp?modelFilter=L555D-S7005&rpn=PSL...
    Click on product tour.
    Qosmio X505-890=i7-740QM-6GB DDR3-64 GB SSD-500 GB SATA-
    BR-Rom-DVD Burner-HD 18"Display-GTS360M-1GB-GDDR5
    HP 17 Envy 3wks Returned
    DIY Desktop Builds

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • When texting with more than one person at a time the incoming text scrolls to top of the conversation. anyone out there with the same issue?

    while texting with more than one person at a time the incoming texts scrolls to top of conversation. anyone having this issue?

    I've heard claims it can be done, claims some have done it, and claims that it didn't work for them. This thread is interesting, some indications it should be possible, complaints that it didn't, and also an interesting work-around:
    "How do I text message multiple people at once?"
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=4822260
    You can ask Apple for iPhone changes via this link:
    http://www.apple.com/feedback/iphone.html
    Though if you're requesting hardware changes for iPhone v2 you may want to wait a week (or a month?)...they're probably going to be inundated right now by requests for software changes to the current iPhone.
    (If this has answered your question, please mark your original post as answered)

  • HT2509 Despite what this article states, Apple support told me not to try to remove any fonts as it could cause other possibly serious problems.  Is there a program which can be safely installed which will keep at the top of the font list those fonts whic

    An article in the New York Times yesterday told how to remove unwanted fonts from the Font Book.  I followed its instructions (the same as those on the webpage "support.apple.com/kb/ht2509") and was NOT successful in removing fonts.  Despite what the newspaper article and the web page stated, my attempts to remove fonts were unsuccessful.  I use perhaps 15-20 of the hundreds and hundreds of fonts, and deleting those I don't use would make choosing a font a lot faster.  I called support and was told not to try to remove any fonts which I myself had not added to the list(I have not added any) as doing so could cause significant problems elsewhere.  The support tech suggested that there might be independent software programs which would keep at the top of the list those fonts I have used, which sure would speed up the process of selecting a font.  Anyone know of such a program, or how to safely alter the font list Thanks.

    I just spoke again to tech support and this time an answer was provided that works!  Choose the font you want to use, drag it to the left, and a new "unnamed" folder will appear.  Continue to drag into that folder fonts you want to use.  You can click onto that folder to change its name.  Then when using font book merely click on that folder to open it and select the font wanted.  This tech rep also confirmed that you should NOT try to delete individual fonts as they are part of the basic operating system; he did confirm that the apple web page in parentheses above says otherwise, and will refer that to higher ups to see about removing or modifying that page.

Maybe you are looking for

  • Text wrap dialogue box is blank in CS3

    I am not able to view the options in the text wrap dialogue box - why? I have restarted InDesign and my computer but there are no options showing in the dialogue box. I use text wrap all the time so this is a major problem for me. Thanks for your hel

  • How To Count Filtered Records

    Hi We have a report, which has a couple of sections in it, and are trying to include a count in the summary section, which should correspond to the number of records shown in the detailed section. The detailed section has a filter applied, and that f

  • How to update UDF from marketing documents to Journal Entry UDF

    Hi Experts, I have a UDF in the marketing documents and I want to save the value to Journal Entry UDF. Regards, Jummie

  • Handling events in c#

    hello, Im getting started in SAP business one , and i have to program an add_on using c# and the API of business one... I created a form vi the UI API and i put some items ... my probleme is that im getting started with c# too , and i would like to h

  • Using DataServices and Assemblers with Strings

    I have a Java Assembler which obtains a list of strings, on Flex it throws a run-time error saying that i am not using the IManaged interface. When you use custom AS classes you use the [Managed] metadata and that solves it but like i said, i am not