Set Button of JScrollPane

I have my table in a JScrollPane.
I changed the selected row as follows:
datesTable.setRowSelectionInterval(max, max);
Now I don�t see the records. I first have to scroll
the bar down with my mouse.
I want that the scroll bar gets dwon automaticly.
Is there a Method for that operatin ?
Thanx
Stephan

see this:
http://forum.java.sun.com/thread.jsp?forum=57&thread=304606

Similar Messages

  • Next Set / Prev Set buttons

    HI,
    I have a concert that I've set up in which each set has a patch with a Playback plugin that plays my backing trax. The next set button is configured at the concert level. but it doesn't work. I have my Playback plugin instituted at the Set level, so my footpedal on my line 6 Toneport will start/stop playback. If I put in even just an empty patch in a set, playback doesn't work, but then the next set/prev set buttons will. I've got about 50 songs in my Concert.
    Thanks,
    St Mix

    To the Oracle Reports Team,
    Could you or anyone else send me, a sample code of a jsp report that uses startRow and endRow attributes in rw:for each JSP tag. I couldn't find out how to include and use these attributes in the example mentioned in reports9i online help.
    Any help in terms of a sample report will be greatly appreciated. My mail id: [email protected]
    Thanks,
    Bharat

  • Allow SET button on 6D to change White Balance Preset

    On the EOS 6D right now, there is no fast/easy way to change/set the White Balance. Even my old 30D camera has a WB button where you press it, then rotate the main dial to change the WB presets.
    On the 6D right now, you can customize the SET button to change IMAGE QUALITY, PICTURE STYLE, MENU, ISO (hold the set button and rotate the main dial), FLASH COMPENSATION. 
    I wish Canon could include White Balance as one of the options. There are already a button for ISO and MENU, yet they're included in the option. I bet everyone who is using the 6D miss the WB button. That's the first one I notice when using the 6D.
    Just my wishful thinking, but I doubt that anyone from Canon will read this one.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

    hsbn wrote:
    On the EOS 6D right now, there is no fast/easy way to change/set the White Balance. Even my old 30D camera has a WB button where you press it, then rotate the main dial to change the WB presets.
    On the 6D right now, you can customize the SET button to change IMAGE QUALITY, PICTURE STYLE, MENU, ISO (hold the set button and rotate the main dial), FLASH COMPENSATION. 
    I wish Canon could include White Balance as one of the options. There are already a button for ISO and MENU, yet they're included in the option. I bet everyone who is using the 6D miss the WB button. That's the first one I notice when using the 6D.
    Just my wishful thinking, but I doubt that anyone from Canon will read this one.
    Hi,
    The missing WB button is something we noticed right after the announcement and we also don't understand why Canon removed it, since it so important for Photography and Video.
    Your request is completely logical and fair, and can be implemented via Firmware.
    - I suggest you to contact Canon and let them know your request, all EOS 6D users should do the same indeed.:
    Canon Customer Support Center:
    Phone: 1-800-OK-CANON / 1-800-652-2666
    TDD: 1-866-251-3752
    Email: carecenter (at) cits (dot) canon (dot) com
    - Maybe there is a section on this forum to report issues and request improvements?
    Please post here the reply from Canon and let us know the progress.
    Regards
    HD Cam Team
    Group of photographers and filmmakers using Canon cameras for serious purposes.
    www.hdcamteam.com | www.twitter.com/HDCamTeam | www.facebook.com/HDCamTeam

  • Is it possible we can to set button cornor link text?

    is it possible we can to set button cornor link text?

    @welcomecan,
    Your question is not clear to me ...Will you please elaborate..??
    Thanks,
    Bhasker

  • How to disable Setting button in Tools - Options - Advanced - Network from windows registry?

    Dear support,
    Now, my office use Firefox as default browser to access WebServer. And there are some policy that users must use ProxyServer. I do not want user change proxy setting in Firefox. How to disable Setting button in Tools - Options - Advanced - Network from windows registry?
    Thank you.
    Treky

    You can not use the Windows registry to disable items in Firefox. This link shows how to lock down Firefox proxy settings, change the values to suit your needs:
    http://www.stbernard.com/ip5kb/iPrism/WhatsNew/50SupportFiles/SupportFiles/IP0460.htm
    One minor variation, in step 4 instead of adding that line to all-js, you can create a file called ''local-settings.js'' containing the line shown and save the file in the same folder as all.js

  • How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution??? thanks before best regard

    How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution???
    thanks before
    best regard
    -ariansyah-

    You can disable or remove that button, but that won't prevent users from making the changes on the about:config page directly.<br />
    You can lock the related network.proxy prefs if you do not want users to change the connection settings.
    See:
    *http://kb.mozillazine.org/Locking_preferences
    * http://kb.mozillazine.org/network.proxy.type
    * http://kb.mozillazine.org/network.proxy.%28protocol%29
    * http://kb.mozillazine.org/network.proxy.%28protocol%29_port

  • Creating buttons on the fly and setting button properties

    If I have a view and want to add buttons to it "on the fly" from values in an array, is that something straightforward to do?
    I have an array of UIImageVIew objects and would like to create buttons from them (showing the image on the buttons) and associate those buttons with a method in my implementation file. That would be a lot more general and flexible than creating the buttons in the Interface Builder I would imagine.
    And one more question - can I freely set button properties while doing that? Or in Objective-C can I only set properties that are already pre-defined for that class?
    Thanks!
    doug

    Thanks for your reply.
    That.... works! Thanks!
    And I can generate the button and click on it and it calls my other method and that works too. Cool!
    The syntax is still very mysterious to me, but I suppose eventually I'll understand what it all means.
    Breaking it down to see what it means:
    [button1 addTarget:self action:@selector(selectedHandler1:) forControlEvents:UIControlEventTouchUpInside];
    * button1 is the object I created (I'm going to try to do this in a loop next.)
    * addTarget is a message I am sending to button1 and the content of the message is "self", which refers to - this button? I'm not sure why such a message would be necessary.
    * action is another message sent to button1 and the contents of that message are a little harder to parse. I see the result, and can mimic the syntax now that I've seen it, but I don't really understand what the @ is for, or the : after the method name or why this wouldn't just be "action: selectedHandler". I'm sure the language designers have a logical reason for all that, but I don't quite "grok" those extra symbols yet.
    * forControlEvents is another message sent to button1 and the event message itself is clear in its meaning.
    Anyway, that is working and I can refer more to the UIButton class reference now and try to set more stuff, like position it better, etc.
    Thanks very much!
    doug

  • How to set button INVISIBLE in standard component FITV_POWL_ASSISTANT

    Hi Team,
    My requirement is to set buttons INVISIBLE of standard component. I have enhanced component and view. But i am not able to set the button to invisible. properties of the UI elements are in read only mode.
    Can some one suggest me.
    Thanks & Regards,
    Sankar Gelivi

    Hi Sankar,
    You can do it as below
    Approach1:
         Enhance the view , use, post exit of WDDOMODIFYVIEW( ) and set the visible property of button as below
                   lo_btn->set_visible( cl_wd_button=>e_visible-none ).
    Aproach2:
    Enhance the view
    Go to the button ( ui element tree )  and right click and chose the "Remove Element" as below
    Note: you can undo the element deletion if required
    Approach3:
    use the personalization/customization either by using admin mode or application configuration.
    Hope this helps you.
    Regards,
    Rama

  • No Print Setting Button

    I am running LR2.5 on a 64 bit PC with Vista.  In all of my manuals and the Adobe online help they show a "Print Settings' button on the lower left side of the screen right next to the "Page Setup" button.  I only have the page setup button and no print setting button.  is there some way to get this button to show or is this button now gone?  Thanks, Richard

    Thank you for posting the screen shot.
    Sorry, I see that this button has changed in CS5; it was labeled the "Page Setup" button in CS4.
    That only allowed you to choose printer and paper size in CS4.  In order to get to the Epson printer driver, which is where you choose the media (paper) type, color settings, etc, you had to click in the larger (blue in your screen shot) "Print…" button, which then brought up the Epson driver dialog panel.
    If this is no longer the case, then hopefully others will jump in.  My profound apologies for causing you further confusion. 
    Wo Tai Lao Le
    我太老了

  • Applescript bug in setting button positions in iDVD6

    I took the liberty of downloading the project files for Apple's iDVD Companion (http://www.apple.com/applescript/idvd/companion.html) to remove the annoying limitations on setting button positions (the original app would allow a maximum horizontal offset of 512 and vertical offset of 384, which is too constraining in widescreen projects)
    After updating the project in Xcode and fixing some Applescript bugs, I modified the code to allow button positions up to (936, 484) which is the lower right corner in a widescreen project.
    But it turns out Apple hasn't modified iDVD's scripting to allow button positions in excess of (620, 480). No doubt this was set when iDVD was first made scriptable - BEFORE the advent of widescreen projects!
    So in iDVD Companion now, if I set a button position to be (936, 484), the button only moves to (620, 480) and stops. No errors are generated.
    The other curiosity is that in a widescreen project the left hand edge of the screen is not offset 0 but an offset of 80. Explain that!
    I'll report this to Apple.

    Yes, you are right!
    If you write an Applescript to directly address iDVD6 using its Dictionary commands, you can indeed read button positions greater than (620, 480) (eg, if you manually drag a button to the extreme right hand side of a widescreen project) but you can't write button positions greater than (620, 480) - anything over that is truncated.
    Well spotted... definitely a bug.

  • How to set buttons to be visible on initial load of slideshow?

    I'm using ImageSlideShow.  I'd like to set the previous, play and next buttons to be unconditionally visible on the intial load of the page.  Currently one has
    to hover over the appropriate region to see a button, and I'm trying to make it obvious that the controls are there.  Can anyone help?
    Thanks,
    Rich

    Could someone help with this please?  I'm a newbie and it's probably straightforward, but I haven't been able to figure it out.  It seems like it ought to be a publically accessable parameter in a future release.
    Thanks for any help!

  • Set size for JScrollPane

    I have a JLabel that I am using to display images thri ImageIcon. i want to wrap the jlabel in a JScrollpane so that i can view the entire image by scrolling. i did this part but the scroll pane is extremely small to begin with. how can set the size of the Jlabel initially ??

    You don't set the size of the Label, you set the size of the
    ScrollPanel. Also you don't add/place the Label on the Frame/Panel,
    you add the ScrollPanel to the Frame/Panel.
    The Label will take on the size of the Image you load into it.

  • Setting button property after selecting data from list

    I am not able to set the button property after selecting data from list.
    I would like to say that
    * If a user select an item from list, then user is only allowed to update or delete the data. The update and delete button should be enabled and save button should be disabled.
    * If the users types data manually, then user is allowed only to save this as new entry. The update or delete button at this time should be disabled and only save button should be enabled.
    I want to say that
    In both case, value will be there
    In one case, value will be from list and that is available for update or delete
    in another case, value will be typed from keyboard that is available for save(new entry).
    I do not want to use separate form for update/delete/save new record. I want to use single form for all these operations.
    I am using Form 6i and oracle 8
    Please guide me, I am trying to find this answer for last four days, but could not find the answer. Please help me. Waiting for you reply...

    Thanks Mr. fdellipriscoli,
    But where should this code be written and
    Where the parameter be set to 'YES'
    I think this code should be written somewhere when calling list.
    But bydefault list is called by pressing F9 key. Then where the parameter be set to 'YES' .
    Please help Mr. fdellipriscoli. Waiting for your reply...

  • Set button to accept key input

    Hello,
    I wrote this JSP page that has 4 choices presenting in the button style (A,B,C,D). How do I set its property (or whatever code) so that when a user pressed the letter 'a' on the keyboard it will invoke the same method as when a user click on the A button. I am awared of the AccessKey property, but it requires Alt-A, and I don't want any Alt or Ctrl keys. Please help.

    Hi,
    the answer is that you can't unless you want to put JavaScript on the page that intercepts all keyboard input, calling doClick on the button for every A-D being clicked
    Frank

  • How to set button which is not in my application?

    hi all,
    i m new to web dynpro.i have to set the radiobutton like this my button ll be not visible if one other application through i m calling.if directly i am calling it should be visible.
    can u help me how to proceed?
    thanks,
    tania

    Hi...
    If I am getting your problem right then your requirement is ...
    1)     It should be visible if it call from your application
    2)     It should not visible if it call from different application.
    There is two different way to do this.
    a)     you can have a flag.
    b)     Change the flag true or false ( or value 01 or 02)id its call from different application
    c)     Attached that context attributes with the visible property of the radio button.
    2nd way
    i)     You can have a flag to identify, where from it is calling
    ii)     Now depending upon the flag dynamically you set the visible property of the radio button.
    iii)     Write the code at WDDOMODIFYVIEW method
    iv)     Here is some code for example
        data: rb1 TYPE REF TO CL_WD_RADIOBUTTON,
              rb2 TYPE REF TO CL_WD_RADIOBUTTON.
      rb1 ?= view->get_element( 'RADIOBUTTON' ).
      rb2 ?= view->get_element( 'RADIOBUTTON_1' ).
      get single attribute
        lo_el_fg->get_attribute(
          EXPORTING
            name =  `FLAG`
          IMPORTING
            value = lv_flag ).
      IF lv_flag eq 'TRUE'.
        rb1->set_visible( 02 ).
        rb2->set_visible( 02 ).
      ELSEIF lv_flag eq 'FALSE'.
        rb1->set_visible( 01 ).
        rb2->set_visible( 01 ).
      ENDIF.
    Please let me know if you need any help on this..
    Regards
    Satrajit

Maybe you are looking for