JScrollPane, I need scrol bars on top and left

Hi,
Is there an easy way to move the scrollbars in a scroll pane so that
they are on the top and left. Every thing I can find shows them on the right and bottom and nothing explans how to get them left and top.
I tried the setComponentOrientation but that does not seem to do
anything.
Thanks in advance,
Pat

The JScrollPane was designed to have scroll bar on right and bottom.
You could add JScrollbar components on top and left of JScrollPane.
But you cannot add other no scroll bar component to right and bottom!
There are many ways to have scroll bar on top and left.
One way is, not use JScrollPane, write your own JPanel, and
has BorderLayout then put scroll bar on left and top.
The other way is create your own JScrollPane, change the default
layout manager use by JScrollPane, the ScrollPaneLayout.
Create your own Layout manager to have the behaviour you like.
Anyway, there are not esay way to just swap the scroll bar.

Similar Messages

  • My screen is all white except for the noto bar up top and i cant even tur it off. what do i do?

    My screen is completely white except for the notification bar up top and it recieves calls and messages theres just no screen or anything i can touch and i cant turn it off. What do i do?

    See if this unblocks your 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.

  • Flash page: need to 'pin' top and left perhaps too...see

    Dear Experts,
    Thank for reading this.
    http://maharishihoney.safire.com/
    in the above page it is behaving just like wanted, EXCEPT want the top and left side (perhaps) to be 'pinned', meaning when resizing the browser window, the top does not disappear. I like that it resizes, and scales, yet, keeps the whole viewport filled. Don't like that it can disappear at the top if the browser window isnt just right.
    What do you think?
    Any ideas? Appreciate so much your thots.
    Warmly with thanks,
    Hope

    Ok, thanks again for reading...
    additional note: Am using cs3 and so far using as2
    To achieve as seen in above link: in dreamweaver set the w and h to 100% , plus setting the margin to 0 for height, width, top, bottom, plus set ' scale' to 'noscale.
    Then have also tried (not in link above) setting the publish settings to 100% for w and h, the flash does not disappear at the top, but then there is alot of white all the way around at top and bottom even with above mentioned DW settings.
    when not setting publish settings to 100% then we get what you see above in the link: it scales very nicely with no white and fills the screen the whole time, BUT it does disappear at the top.
    Thanks again for all your attention....
    Warmly, Hope
    p.s.
    2 samples of resizing in flash:
    http://www.fidmdigitalarts.com/#/home
    http://www.isurfbecause.com

  • Flash CC 2014 html publishing banners - why you removed the default top and left margin? How to put it back in?

    Hello.
    When im making bazilions of flash banners for my clients they want to see the html preview cause not all clients have standalone flash player installed to open swf in original scale. It wasnt problem in CS4 (and all other versions i have used so far), but in CC 2014 published html previews have no margins on top and on the left of the embedded swf - that makes previewing them troublesome when someone want to judge if border is subtle enough etc (banners are never snatched closely to the border of the screen in their natural habitat ). Manually changing all published html previews to add these margins is misunderstunding, especially when Adobe charge so much money for new versions that supposed to be better, and require less effort to produce stuff in them... Perfect solution would be to be able to publish banners center on the html preview file, but i can live with just these oldschool top and left margins with swf in top-left corner.
    Is there a way to add to the default html preview file the margins back? I need them a lot. And im getting tired of Adobe making my life harder with each expensive version of their software im forced to buy due to no backward compatibility of fla files i have to work on with agencies.
    Thanks in advance for any help.

    I think the default behavior is to show the flash movie with top-left alignment with no border within the HTML page, even in previous versions.
    You could change that by selecting a different template for publishing,.
    Open Publish Settings dialog,
    Click on HTML Wrapper,
    Click on Template drop-down and try out with different templates.

  • Upon Loading of page, Setting the Top and Left properties of a TextField

    Hello again,
    I would just like to ask for suggestions on how to successfully set the top and left properties of a Textfield as soon as the page is loaded.
    Thru Giri's help, I was able to do this with the push of a button. What I would need to do right now is to set it as soon as the page is loaded.
    Thanks!

    Hi Jim,
    It is not clear what you are trying to do here. If you want to set the top and left properties of a component when the page is loaded all you have to do is set it at design time itself. If the properties need to be set the second time the page loads then the code can be used in the event handler which submits the page.
    It would help if you could explain the use case for setting the properties of a component when the page is loaded.
    Cheers
    Giri

  • Setting the Top and Left properties during runtime, depending on...

    hi guys,
    it's me again with the same question, but same scenario...
    but probably with a bit clearer detail now...
    actually, what i wanna do is that although i have set the top and left properties at design time, as soon as the page opens i wanna be able to do the following:
    if ( userlevel == 1 ) {
    textfield1.setStyle("top: 100...");
    } else if ( userlevel == 2 ) {
    textfield1.setStyle("top: 500...");
    thanks for your time =)

    The style properties CAN be set in the prerender call. Unfortunately, the requirement is that the component (text field in your case) has to have an unset property in the Design->properties window. (Or in the actual jsp code, which should be identical).
    My main issue with this is SJC2's handling of this in the visual window. If i want to have a lot of components that are designed before run-time but placed during run-time, they all are a mess on the screen. I wish there was another property (in the properties window) that would be a checkbox, like "Use static layout". I, probably like others, am using a layout panel (grid) that has several other components in there. I want to be able to move this set of components at run-time, but to do so, I need to unset the layout panel's style. This causes my inside components to shift to the top left of my page, making a mess in the design window.
    If any SJC developers are out there, please help! It would be great to somehow mitigate the static/dynamic properties/display issue. (Like, i want to have buttons with dynamic names (for localization), but basically, i have to have a bunch of blank buttons/text on the screen for all my pages because of the static requirement. At least, MyEclipse and others will put the id value if the text/label value is blank.
    Chris

  • Gap in DW CS3 page (top and left)

    i am still fairly new to dreamweaver but have learned a great
    amount, but when i build a layout in layout mode it wont let my put
    any tables, pictures, or generally anything else directly into the
    top left corner. So when i preview the page with F12 there is a 5px
    gap on the top and left of the page
    Heres an image
    http://i247.photobucket.com/albums/gg126/bigmack83/problem_1.jpg
    any idea how to fix this?

    Use CSS to control all of your page element margins and
    padding. In this
    case, what you are describing is the default margin on the
    <body> tags. Try
    this CSS -
    body { margin:0; padding:0; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "bigmack83" <[email protected]> wrote in
    message
    news:fqj003$22m$[email protected]..
    >i am still fairly new to dreamweaver but have learned a
    great amount, but
    >when
    > i build a layout in layout mode it wont let my put any
    tables, pictures,
    > or
    > generally anything else directly into the top left
    corner. So when i
    > preview
    > the page with F12 there is a 5px gap on the top and left
    of the page
    >
    > Heres an image
    >
    http://i247.photobucket.com/albums/gg126/bigmack83/problem_1.jpg
    >
    > any idea how to fix this?
    >

  • Cut off the top and left sides of iFrame?

    I have a page I'd like to place as an iFrame in another page.
    Is it possible to move the framed page up and to the left so
    that the
    frame cuts off the top and left sides of the framed page?

    Jim,
    Thanks a TON!  That worked well.  It took me a bit longer to key it because the keyer didn't key out all of the color to black as well with the compound clip but I was able to make it happen.  Video is up and I appreciate the help!

  • Dreamweaver page with flash - look at this - want top and left static

    Dear Experts,
    Thank for reading this.
    http://maharishihoney.safire.com/
    in the above page it is behaving just like wanted, EXCEPT want the top and left side to be 'pinned', meaning when resizing the browser window, the top does not disappear. I like that it resizes, and scales yet, keeps the whole viewport filled. Don't like that it can disappear at the top if the browser window isnt just right.
    What do you think?
    Any idea? Appreciate so much your thots.
    Warmly with thanks,
    Hope

    have any other ideas how to accomplish above without flash?
    Certainly - jQuery is a good alternative.  To see an example, look here -
    http://www.americanwatercolorsociety.org
    ok, this is very good...
    found this jquery plugin, for anyone reading this:
    http://jquery.malsup.com/cycle/lite/
    that does fade in and out something, even on click...
    The rotation is jQuery.
    But just because you use Flash for a cosmetic element (even an image rotation) doesn't mean that's the only thing that can be on the page, you know?
    Yes, that is a good point..(-:
    Thanks again for all your kind input.....
    Warmly, Hope

  • How do you unfreeze a frozen top and left command in the printing position command?

    The top and left option of the printing position command is frozen at 0.  The error message states that a value between 0.000 and 0.000 is required.  How do I change this?  This happens will unedited and edited pictures.  I have just installed a xerox printer perhaps there is a link between this problem and the printer.

    I didn't even suggest that because I would have thought that would be the first thing anyone would have checked for!   If you flip the on/off switch on the bottom of the mouse do you have a blinking green light?  Whether you do or don't, if you are unsure of the batteries then replace them.

  • IMovie is outputting my movie with big black bars at top and bottom that I don't want

    Quicktime: Ver 10.3
    iMovie: Ver 10.0.5
    OS: OS X Ver 10.9.4
    So, let me try and explain...
    I have recorded gameplay footage of my game directly from my Mac screen using Quicktime's Record Screen option. I've tried recording both in fullscreen mode (with my game also running in fullscreen mode) and a section of the screen by dragging the mouse to select a 640X960 box (with my game running in windowed mode which is displayed at 640x960 resolution).
    This initial recording direct from the screen displays fine, both when I view it in windowed mode and when I view it fullscreen, with the height of the game stretching to the full height of the video area but obviously with big black borders to either side in fullscreen mode (as it's basically iPhone ratio in portrait mode).
    WindowedFullscreen
    This ^^^ is how they should look.
    The problem is when I try to import the movie into iMovie, mess around with some fade-ins and music and stuff and then output the edited movie via iMovie...
    When I then try to view this outputted movie in windowed mode on certain sites (Kickstarter) my game footage doesn't take up the full height of the video and instead floats in the middle with big black bars at the top and bottom, which I don't want. It's fine when I go fullscreen but the problem is that when I load this video into Kickstarter it shows the non-fullscreen view of the video with this big black border and it looks really amateur.
    This is what Kickstarter shows in windowed mode i.e. the way you see Kickstarter videos by default when you press Play; unless I go fullscreen and then it takes up the full heigh of the view.
    Note: Windowed mode actually looks fine when viewed directly on my Mac but I know it's not Kickstarter that is causing the issue because I can see in the thumbnail preview on my Mac that the video is somehow encoded with the big black bars at the top and bottom. Also, I uploaded the unedited videos to Kickstarter just to check and they display fine. So it's definitely iMovie that is adding these annoying black borders at the top and bottom for whatever reason (and I'm not intentionally scaling the video down in iMove or anything like that as far as I know). I also can't use the unedited footage however because it has no sound and no transitions etc.
    Does anyone know what night be causing this and how to get rid of it.

    You are lucky to see anything - iMovie 5 is not really compatible with Snow Leopard, which only supports iMovie 6 and above.
    Snow Leopard only runs on Intel Macs. iMovie 5 was never written, AFAIK, for Intel, just for the PPC Macs they had in those old days!

  • Aspect Ratio Problem (black bars on top and bottom in the preview window)

    I have iMovie 08 and I have been shooting video on my new Canon HF100. It appears that in iMovie preview window my 1920x1080 (and even the ones I bring in in 960x540) videos appear to be in wrong aspect ratio - they are stretched beyond 16:9 ratio horizontally. The problem persists if I export the movie through Quicktime - the videos are still stretched. In the preview window in iMovie I have the right 16:9 box but it has black bars on to and the bottom. The clips themselves in the time line seem to be the correct aspect ratio.

    Also I have found this on the export video screen which narrows it down a bit...
    Here's how the source tab of that screen looks...
    compared to the output tab, with the black bars that are my issue...
    So where did I go wrong here?

  • Q5 screen cuts off at top and left side

    I've had my Q5 for a week. Today I noticed the screen is cutting off on the top and the left side.
    Does anyone have any idea how I can fix this?

    Hi and Welcome to the Community!
    Anytime random strange behavior or sluggishness shows up, the first thing to try is a proper reboot:
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. If this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • 320x240 QT export produces black bars on right and left

    Ok, this one is strange. So far, it only appears to affect 320x240 targets from sources that don't have square pixels. Starting with a 720x480 DV movie (even if I change the properties to display 640x480), I export directly to 320x240 and I get a movie with black bars down the right and left. I did not tell QT to letterbox or scale, although telling it to scale does no help.
    The problem seems to be in the meta data. If I go to the movie's visual properties and change the move dimensions to 324x240 (with preserve aspect ratio unchecked), then the black bars disappear. When I change it back to 320x240, they are still gone and the movie plays fine. I save it and reopen it, and the black bars are back! The same thing happens exporting from Final Cut Pro using Quicktime conversion. This is definitely a bug.
    The work around is to export to another 4:3 format with square pixels first and export that to 320x240.
    On a related note, the same thing happens when I record a movie in Quicktime at 320x240. I get a recording with black bars down the sides.
    This has never happened to me before. I'm a professional QT software developer and a content producer. I've been using Quicktime Pro for a decade, at least. I've been over all of the export settings, and I've deleted all of my Quicktime preference files.
    Is there a way to report a bug to Apple?

    Regarding: "there's a pretty good chance that your playback target isn't Quicktime Player"...
    My assumption is that if your material is 320x240, it's probably that size because you're planning to either display it on a small-screen device, send it to a TV set, embed it in a presentation, or deliver it via the Web. In any of those cases, your final delivery target isn't QuickTime Player, but rather some other mode, such as the QuickTime web plug-in, iPod, AppleTV, or even some other option. In which case the strangeness with the player doesn't seem so strange.
    As a workaround, you could layer your 320x240 movie with at 350x240 grey rectangle on the layer behind. That would fix it in QuickTime Player, but it would cause grey bars on either side if you embed into a web page or something like that.

  • I'm trying to download Adobe Flash plyer and it says for Firefox I need to click on "the yellow bar on top, and click on Edit Options", where is this yellow bar on top?

    How do I download Flash Player?

    You can ignore those instructions. I install Flash by downloading the manual installers and running them. For details of how to do that see the Adobe Flash troubleshooting installation guide - http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller

Maybe you are looking for

  • 10.8.2 Clients not managed with no wi-fi connection

    I have a 10.8.2 server connected to an AD.  It's also setup as an OD and we use it's WGM to manage clients.  A user can sign in on a 10.8 laptop and created a managed mobile account.  After the account is created, on subsequent sign-ins if that user

  • Partial result set in LOV

    I am working with BO XI R3 and back end as DB2. I am facing a partial LOV results set: From my analysis I have the following: 1)This error occurs with a particular table 2)The number of rows that are being fetched from the database are 44,018,911 row

  • Filming to film editing process - best practice?

    Hey everyone, This is an odd question, and I'm not really sure where to start looking. But basically, I've been doing a lot of film editing for my company. They send out 2 people to do the filming, then hand me the ra footage to edit. I am given a ro

  • Simple XML question

    org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed. at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20

  • Firefox 10.3.181.26 problem

    The current version of flash (10.3.181.26) is not working for me in Firefox 5.0; it works in other browsers, however (IE8, K-Meleon 1.5.4). I've done all the checking I can think of - the plugin is enabled, Java Scripts are enabled, about:plugins rec