How to set position of scrollbar

Hi,
I need to set a scrollbar at specific position depending on buttons a user would click. Does anyone has an idea on how to do this. Thanks
Nessen

Hi,
sorry I did not express my question properly. I've got a JscrollPane that I want to make scroll to a specific position when a button is pressed. I'm initiallising Jscrollpane like this:
JScrollPane scrollPane = new JScrollPane(disp,
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
is there a way to do this,
thanks
Nessen

Similar Messages

  • How to Set Position Cursor Option to Non key fields in Table Maintenance .

    Hi,
    I have created a Ztable and i am using table maintenance for that table. In TMG ,by default  we have position cursor option to key fields only . User wants that position cursor option for non key fields also. Please help me out of this issue .
    How to provide Position Cursor option to Non key fields.
    Thanks & Regards,
    Prasad.

    Hi Nabheet,
    I tried using TYPE S DISPLAY LIKE E and am setting vim_abort_saving as X and sy-subrc as 4. However, this is also not enabling the fields. In this case, the first 2 fields - key fields are getting enabled but not the required ones. The above snapshot is for the same.
    lv_date1 = table1-date1.
       lv_date2 = table1-date2.
       lv_diff = lv_date2 - lv_date1.
       IF lv_diff LT 0.
         CLEAR: lv_err_msg.
         lv_err_msg = text-005.
         MESSAGE lv_err_msg TYPE 'S' DISPLAY LIKE  lc_e.
         vim_abort_saving = lc_x.
         sy-subrc = 4.

  • How to remove the arrow on the splitter and how to set position at 30%

    (1) The splitter with the arrow is a collapsible splitter, when you move mouse on the arrow it shows "Collapse Pane".
    But I want an uncollapsible splitter, like most splitters (e.g., in Jdev IDE) which do not show the arrow key on the splitter. Can I do that?
    (2) how to set the position of a splitter at 20%?

    Hi,
    Create a application skin, if you do not have one and use following in the skin.
    af|panelSplitter::horizontal-collapse-icon
      display: none;
    }You will be able to resize panel and collapse icon will not be displayed so the panel will not collapse.
    You can set the initial splitter position as required.
    Regards,
    Lalit

  • How to set position of iChat window

    Every time I begin a chat, the chat window opens in the middle of the screen and I move it to the corner where I like to put it so I can have others windows open and not block each other. How can I get the iChat program to remember the position of the chat window so that when I open it each time it goes to my preferred position on the screen? Thanks.

    Hi
    You need Chax http://www.macupdate.com/info.php/id/20056
    Tony

  • How to SET positions for Boxes

    Hi
    I have to put some Box on my Applet, at different positions (coordinates).
    Is it possible to set the positions, without having as many Transform3d as Box?
    Thanks ...
    Bertrand

    maybe i'm wrong
    but you need a transform3d for every boxes
    if you want them to be in different location
    sorry
    cyril

  • How to set position of a PDEPath object

    Hi,
    I am a beginer in plug-in development in Acrobat SDK.
    I was trying to reflow contents inside pdf. I was able to reflow most  of the content except PDEPath object.as
    For PDEPath object re-flow I was using  function PDEElementSetMatrix (PDEElement pdeElement, ASFixedMatrixP matrixP);
    and the path object was not getting positioned at given place. Rather it was getting placed outside page margin very far above the page.
    Another issue is that when ever I was trying to get position co-ordinates of any PDEPath object, using PDEElementGetMatrix function.
    It was coming 0,0 as co-ordinate.
    Can anyone help me to know what could be the problem here.
    Thanks
    Saffiuddin Shekh

    my values for are as follows:
    matrix.h is 520544 whose co-ordinate value is 7
    matrix.v is 30517256 whose co-ordinate value is 465
    matrix.a is 65545 whose int value is 1
    matrix.b is 0
    matrix.c is 0
    matrix.d is 65538  whose int value is 1.
    The object is getting placed outside the page, where page size is 510x585.
    Kindly suggest me what should I do if anybody can.
    Saffiuddin

  • How to set the extra component to horizontal scrollbar position

    How to set the component to position of horizontal scrollbar , that position contain two component horizontal scrollbar and any component (JButton , JLabel ) like that.. Ms-Word scrollbar ,
    Like that bellow fig.
    <!--[if !mso]>
    <style>
    v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style>
    <![endif]--><!--[if gte mso 9]><xml>
    <w:WordDocument>
    <w:View>Normal</w:View>
    <w:Zoom>0</w:Zoom>
    <w:PunctuationKerning/>
    <w:ValidateAgainstSchemas/>
    <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
    <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
    <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
    <w:Compatibility>
    <w:BreakWrappedTables/>
    <w:SnapToGridInCell/>
    <w:WrapTextWithPunct/>
    <w:UseAsianBreakRules/>
    <w:DontGrowAutofit/>
    </w:Compatibility>
    <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
    </w:WordDocument>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
    </w:LatentStyles>
    </xml><![endif]-->
    <!--
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
    @page Section1
    {size:8.5in 11.0in;
    margin:1.0in 1.25in 1.0in 1.25in;
    mso-header-margin:.5in;
    mso-footer-margin:.5in;
    mso-paper-source:0;}
    div.Section1
    {page:Section1;}
    -->
    <!--[if gte mso 10]>
    <style>
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    </style>
    <![endif]-->{font:'Times New Roman'}{size:12pt}<!--[if gte vml 1]><v:shapetype id="_x0000_t75"
    coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
    filled="f" stroked="f">
    <v:stroke joinstyle="miter"/>
    <v:formulas>
    <v:f eqn="if lineDrawn pixelLineWidth 0"/>
    <v:f eqn="sum @0 1 0"/>
    <v:f eqn="sum 0 0 @1"/>
    <v:f eqn="prod @2 1 2"/>
    <v:f eqn="prod @3 21600 pixelWidth"/>
    <v:f eqn="prod @3 21600 pixelHeight"/>
    <v:f eqn="sum @0 0 1"/>
    <v:f eqn="prod @6 1 2"/>
    <v:f eqn="prod @7 21600 pixelWidth"/>
    <v:f eqn="sum @8 21600 0"/>
    <v:f eqn="prod @7 21600 pixelHeight"/>
    <v:f eqn="sum @10 21600 0"/>
    </v:formulas>
    <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
    <o:lock v:ext="edit" aspectratio="t"/>
    </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:453pt;
    height:26.25pt'>
    <v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\04\clip_image001.png"
    o:title=""/>
    </v:shape><![endif]--><!--[if !vml]--><img src="file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/msohtml1/04/clip_image002.jpg" alt="" width="485" height="27" /><!--[endif]-->{size}{font}
    How to design ?

    pradeep.rajadurai wrote:
    I want set the JTable as a background of jframe or jinternalframe , how it is possible One way that may work, you can always extract the image from a rendered JTable and then paint the same image into the JPanel that holds your components via it's paintComponent method, then added the JPanel to the app's contentPane.
    give me simple pgmIs English your second language? Because if so, please understand that this demand can be taken by some as rude.

  • How to set width of a vertical scrollbar (such as in a combobox)

    I have a combox. I have successfully figured out how to set the font name and font size for each time, however as I have increased the normal very tiny size of the combobox items (now more legible), the remaining last problem is the measly 16 pixels for the scrollbar. This might be acceptable on a desktop with a precise cursor positioning system, but for mobile apps I need a way larger scrollbar thickness, perhaps 30 pixels. How does one set the scrollbar thickness for a combobox? I am willing to stick with scaled up icons from whatever is being drawn as a default, so if possible I would just like to set some style number. But can't find any documentation on this. The Apple system has a nasty fixed width scrollbar (20 pixels), and so far it seems Adobe Flash is using only 16. Great for when you are cramped but I am trying to UN-CRAMP the user interface!
    any help is greatly appreciated.  A free copy of Discus ($40 value) for whomever helps me solve this vexing problem with the least amount of effort!
    edj

    Edit the item and in the HTML Form Elements Attributes field type the following:
    style="width:120px";adjust the 120 to whatever width you like
    Shunt

  • How to set remembering playback position as default

    Hi everyone,
    I know how to manually set the "Remember Playback Position", however it doesn't remain set and keeps on dropping off.
    does anyone know how to set it as a default value? or is there a bug effecting this functionality?

    Hi Alessanrdo,
    Thanks for your reply.
    Actually the motive behing this option is to cover the "loop hole" of ARQ application. If you notice, we can "keep" adding the same role which is already assigned with different validity dates. ARQ does not control this!
    Eventually, what happens that in the back end system, the user master record is overwhelmed with the same role entry with different validity dates!
    Unfortunately, application does not have any control over this. Therefore, at least making "RETAIN" as the default provisioning action, we can have a "sort" of control over this. What happens is, if I add a role which is already assigned to a user and change the validity dates, there will not be any new entry in the back end system with the same role.
    Hope this will help you understand the requirement and advise me.
    Regards,
    Faisal

  • How to set master cost center to required input in the maintaining position

    Dear experts,
             I have two questions in the HCM module,could you please tell me?
    Issue 1: How to set the column of master cost center to required input in the maintaining position screen?
    Issue 2: some of position has two cost center, i have maintained two cost center(cost center 1:90%,cost center 2:10%) percentage in the tab of cost distribution with trasaction code ppome.when i post to accounting,it only post to master cost center 100%,it can not distribute two cost center, Could you please tell me the reason?
    Looking forward to your reply.
    Best regards,
    Merry

    HI,
    Plz check with ur FICO Consultants as master Cost Center r desgined by them
    They will Loop group of Cost Centers to Master Cost Center.
    This concept has started in ECC 6.0 Version 
    Regards,
    Kiran

  • How to set scrollbar to visible or invisible?

    Dear all,
    How to set scrollbar to visible or invisible?
    Thanks

    Duncan's answer will solve your problem
    but how will you display scrollbar thru stacked canvas if your block is already in one stacked or tab page canvas
    so better to create an item set its background color exactly same as your canvas and make bevel property to null and keep that item where you are displaying scrollbar
    and set its visible property to true or false based on your requirement

  • How to set default file extension in the FileChooser?

    We are trying to use the FileChooser but for some reason, it doesn't have any file extensions in the drop down menu (like in windows). Does anyone know how to put this in?
    Also, how do we set the file name for the saving file, rather than typing the name in ourself?
    Also, how do we position the file chooser dialog in the middle of the screen? Right now, it's in the top left corner of the screen.
    Here's our piece of code, used for saving file.
    FileChooser fileChooser = new FileChooser();
            File file = fileChooser.showSaveDialog(stage);
            /*User might clicked on the cancel button*/
            if (file != null) {
                try {
                    Writer output = new BufferedWriter(new FileWriter(file));
                    output.write(text);
                    output.close();
                } catch (IOException ex) {
                    logger.error("save file error", ex);
            }Any help would be appreciated! Thanks!

    867511 wrote:
    We are trying to use the FileChooser but for some reason, it doesn't have any file extensions in the drop down menu (like in windows). Does anyone know how to put this in?Have you read the API? What's the nested class of FileChooser that's listed immediately after it in the classes list?
    Also, how do we set the file name for the saving file, rather than typing the name in ourself?I don't see any API for that. You could file a RFE on kenai.
    Also, how do we position the file chooser dialog in the middle of the screen? Right now, it's in the top left corner of the screen.I don't see any API for that either.
    db

  • How to set min-password length on ASR1002?

    How to set min-password length on ASR1002?

    Try:
    security passwords min-length
    I'm not positive if it's supported in your version of IOS-XE but it is in some.

  • How to set different renderers to different cells in same column of JTable?

    Hello Friends,
    I need your help again...
    Does any body knows, how to set different renderer's for different cells of same column in JTable..??
    For ex.
    Col1 Col2 Col3 Col4
    A       A       A      A
    A       A       A      B
    A       A       A      C
    A       A      A       D
    Where A B C D would be different Renderers.  I want set exactly same ,,, ie. one column with different renderer at different cell positions..
    Right now i m setting renderer using statement bellow :
    table.getColumnModel().getColumn(int).setCellRenderer(rederer_Instance);But with this, effect in the last renderer is applicable whole column....
    Can any body help me out ?????????
    please refer this thread for similar kind of discussion...
    http://forums.sun.com/thread.jspa?forumID=57&threadID=571445Thanks
    Suyog

    Please refer to the first reply of [this thread|http://forums.sun.com/thread.jspa?forumID=57&threadID=571445] for the answer. If you have a specific problem implementing it, post you code with a specific question.

  • How To Set Up An It Company, How To Set Up An Offshore Company

    Even though design video provides Ultra-violet security, it can be designed to end up being creatively desirable at the same time. Autos aren't the top parent receiving motion picture because home and How To Set Up An Offshore Company office proprietors be a little more alert to the numerous rewards it may look after these people in addition to their atmosphere.
    As well as these types of many positive aspects, you will find equally as several choices within design video to select from. Because reputation with this eye-port masking expands, the majority are understanding how they may end up being ecologically mindful although increasing the significance as well as appearance they need to obtain.
    Setting up motion picture content on the commercial or residential composition provides a number of satisfying elements. The vitality conserving rewards on your own part with their money on this content really worth the preliminary fiscal expenditure.
    When used design video filtration systems the sun sun rays radiated through the sunshine. This particular unsafe the radiation not just boosts the inside temperatures from a creating, it can injury to household furniture, floors along with other goods in the house.
    Sunlight publicity may cause great, falling as well as tinting to the telltale items that might preferably be longer lasting rather than usually exchanged. Furthermore, the particular Ultra violet rays could be unhealthy on the pores and skin of these in the enterprise as well as property by means of melanoma.
    Possessing film content in home windows may slow up the odds of this kind of harm. It might deflect the particular glare in personal computers and also tv set displays, which makes it a lot more desirable.
    In addition, this different for you to drapes along with other eye-port linens may decrease the total power as well as running expenses which might be suffered through the those who own the exact property. This can be essential throughout these kinds of tough fiscal periods.
    Motion picture provides protection as well as personal privacy for you to property owners, enterprise personnel along with the material on the inside. Not only will that lower so what can be viewed externally, additionally, it brings a component of energy on the real cup in the matter of just about any break. This may increase the security and safety of people who tend to be in the creating.
    There exists a range of alternatives associated with design video to select from. Even though the rewards for your surroundings as well as people in the room tend to be huge, the particular film merchandise that will be decided on could add on the appearance and feel from the complete creating.
    Frosted as well as etching cup content is particularly stylish in homes since it includes a distinctive style and offers a straightforward, but advanced search externally. A new tainted cup search makes it possible for the sunshine to go into within by way of a colourful style as well as structure.
    These come in many patterns which enable it to end up being customized with discretion on active décor as well as to be individualized. An elementary personal privacy as well as protection video can be found in a number of shades which enable it to supply numerous degrees of personal privacy with regards to the level associated with colour as well as breadth. Images, text, as well as images may be published upon on the item to enhance the particular advertising advantages of an industrial request.
    New video may be customized to adjust How To Set Up An It Company to the style as well as measurements a certain installing needs. They may be pre-cut to adjust to the scale as well as condition needed.
    Whether or not installed by a professional as well as handled like a do-it-yourself undertaking this device is simple to put in. A professional on the internet eye-port video organization will help inside analysis, variety as well as installing facets of such a update to your cup floor.

    Try running this registry fix.. Just a heads up, if this dosent work you might need a new dvdrom drive.
    http://gur.in/registry/cdgone.reg

Maybe you are looking for