Ive looked for 2 days, i cant find this swing component

im looking for the size of the rectangles used to draw parts of a JScrollBar.
ive tired get them through calculations based on the ratios of visable space in the JScrollPane...that dosent work.
today ive tried making the protected method getThumbBounds() in BasicScrollUI() public so that i could see the sweeeeet rectangle dimensions within, yet when i execute this code i get all zeros
//scroll is a JScrollPane
scroll.getVerticalScrollBar().setUI(new BasicScrollBarUI());               
BasicScrollBarUI ui = (BasicScrollBarUI) scroll.getVerticalScrollBar().getUI();
System.out.println(ui.getThumbBounds().toString()   ); do i need to validate or somthing?
how else could i get them?

First of all, if you want to controll two scroll bars
at once, you don't need to know any of its dimensions.
You should read up on models, views, and controllers
in swing. i did read up on them and found no other way. maby someone could give more specifics on how else to do it? besides i allready have the code to do it,its only a few lines, i just need those values
Secondly, you can subclass the
MetalScrollBarUI and create methods which return the
size of the scroll buttons, the track, and the
thumb.great idea, but will this work for all look and feels? the more abstract ScrollBarUI does not seem to offer generic methods for getting the track value.
also if i cant find a way to do it for all L&Fs, where can i find the WindowsScrollBarUI class? id rather subclass that then the metal, but only as a last resort. thanks

Similar Messages

  • I purchaseed an app monotoricamera but i cant find this application and this app removed from iTunes store what can i do for this problem?

    i purchaseed an app monotoricamera but i cant find this application and this app removed from iTunes store what can i do for this problem? when i use report problem in purchase history " say to me this app is removed and i pay for that

    Well, if you didn't keep it in your iTunes library, on your computer, & then back that data up, you're out of luck if it's no longer available in the App store.
    Apple warns to backup your purchases for this very reason.

  • HT1338 Have a macbook pro 2009 currently at version 10.5.8 need to install new version for i phone 5 but will not let me until I install MAC OS X Version 10.6 cant find this anywhere! Any ideas thanks

    Have a macbook pro 2009 currently at version 10.5.8 need to install new version for i phone 5 but will not let me until I install MAC OS X Version 10.6 cant find this anywhere! Any ideas thanks

    Click here.
    (75139)

  • Windows 7 help The topic you are looking for is not available in this version of Windows

    When I click on help, I get this message:  The topic you are looking for is not available in this version of Windows.
    I forget what my topic was, however, that is the response for any I try to get help for.

    Hi Akikuno
    It sounds like you are having issues with your help not coming up when you need to use it. I am providing you a link to a Microsoft Forum Thread where they are addressing the exact error message you are receiving.
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/the-topic-you-are-looking-for-is-not-avail...
    I would like to thank you for posting on the HP Forums and hope this resolves your issue so you can go back to enjoying your HP product. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • I have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me

    i have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me???

    If Join was on then your home wi-fi must be set to Non-Broadcast.  If you did not set this up (maybe your provider did) then you will need to find the Network Name they used, and any password they used.  The SSID is Security Set ID and to see more try http://en.wikipedia.org/wiki/SSID .  Basically it is the name used to identify your router/network.  A lot of times the installer will leave it set as LinkSys, or Broadcom or whatever the manufacturer set it as for default.  Your best bet is to get whoever installed it to walk you through how they set it up, giving you id's and passwords so you can get in.  HOWEVER, if you are not comfortable with this (if you set security wrong, etc.) you would be well ahead of the game to hire a local computer tech (networking) to get this working for you.  You can also contact the vendor of your router and get help (if it is still in warranty), or at least get copies of the manuals as pdf files.  Sorry I can't give you more help, I hope this gives you an idea where to go from here to find more.

  • Looking for a query to find first/last dates in overlapping dates...

    Hi,
    I'm looking for a query to find the first dates and last dates in a table conaining overlapping dates.
    I have a subscription table which has for each Customer start and end date for different subscriptions.
    I want to know the different ranges of date where there is subscriptions active.
    so if the table has this:
    CustID, Start date, end date
    1, 2008-01-01, 2012-06-06
    1 ,2009-01-01, 2011-01-01
    1, 2011-01-01, 2013-02-02
    1, 2013-01-01, 2013-08-08
    1, 2014-01-01, 2014-04-04
    I want to produce this result:
    custid, range start, range end
    1, 2008-01-01, 2013-08-08
    1, 2014-01-01, 2014-04-04
    the first row is the range identified from the 4 rows in my subscription table.
    thanks :)

    I think I found it...
    http://stackoverflow.com/questions/5213484/eliminate-and-reduce-overlapping-date-ranges
    let me try this method
    Hi,
    m writing to follow up with you on this post. Thanks for you posting a reply to share your workground. Was the problem resolved after performing the above link? If you are satisfied with the above solution, I’d like to mark this issue as "Answered".
    Please also feel free to unmark the issue, with any new findings or concerns you may have.
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Looking for a way to find out the x,y coordinates of a string inside a PDF

    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.

    vedmack wrote:
    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.AFAIK, a string of text does not have an (x,y) location inside a PDF file. The location is exists on your screen, and will differ whenever you adjust the resolution of it. Text can have a location when it's stored as an image though, but than it's really the location of a certain number of pixels (not necessarily a string!).

  • HT5312 Dear sir.  I have problem in reseting my qusetion and answer in my account i have forgot  i cant send reset email i have already intered  rescue email  i cant find this option.

    reseting my qusetion and answer in my account i have forgot  i cant send reset email i have already intered  rescue email  i cant find this option.
    <Email Edited by Host>

    The option to send reset info only appears if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account - if you've just added an address then it will be an alternate email address, a rescue email address can only be added by answering 2 of your questions. You will need to contact iTunes Support or Apple to get the questions reset.
    e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
    or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
    When they've been reset you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use. Or you could use 2-step verification : http://support.apple.com/kb/HT5570

  • I am having a hard time with a page that is working for everyone else. When I click on anything in the site I get a message that says "The page you were looking for doesn't exist."  This is happening on both my ipad 2 and my iphone 5. I cleared my cache

    When I click on anything in the site I get the message " The page you were looking for doesn't exist."  This website works for everyone else, but not on my iPad 2 or iPhone 5. I cleared my cache and history on the iPad, but it still isn't working.

    I live in Germany and my credit card is in my native country of Holland .. then it
    doesn't accept my credit card.
    Your first statement explains the second statement. To use the German iTunes Store, you need to prove that you're a resident of Germany (that is required by the content owners who will not allow cross-border sales) and the only way Apple can provide such a verification is by requiring that you enter in either a German credit card or a German-purchased iTunes prepaid card. Since I presume the former is not a possibility, you'll need to do the latter if you wish to purchase content from the iTunes Store. Again, this is not Apple's choice but is forced on them by the content owners as a requirement for Apple being allowed to sell the content. The EU is working on regulations that would force the content owners to allow access pan-EU, but that's still in the works.
    You do not need an iTunes Store account to activate and run your iPad, though; at least, I didn't need one for either of my two iPads. If you only want to set up an account so you can get free iPad apps, take a look here:
    http://support.apple.com/kb/HT2534
    Read the steps carefully as the order in which you follow them is apparently critical. This seems to come and go, or only apply to App Stores in specific countries, so you may not see the option for "None" when asked for a payment type.
    As to the German iTunes Store in English, you can comment to Apple on that via their feedback pages:
    http://www.apple.com/feedback
    Regards.
    P.S. Regarding "this is the only place for a complaint and that will no doubt get removed because
    I'm not full of happy joy sparkles.
    As stated in the terms of use to which we all agreed, this isn't a complaint forum, it's a technical support forum. You don't have to be full of "happy joy sparkles", but posts that are nothing but complaints may indeed be removed. If you want to complain to Apple, use the feedback pages.
    Message was edited by: Dave Sawyer

  • Looking for an app that finds a restaurant centrally located to me

    looking for an app that finds a restaurant centrally located to me and friends

    Try the App store:
    1. In search type R followed by E followed by S followed by T followed by A followed by U followed by R followed by A followed by N followed by T.
    2. Click SEARCH.
    3. Browse through results.
    4. Select the app that you want.
    5.Click download on the app you want.
    6.After that App is downloaded use the app.

  • HT201400 i purchased a app and paid for it Djay the original now i want to put it on my ipad from my phone purchase and it only gives me djay 2 to buy in the app store i dont want djay 2 i want the one i have paid for Djay 1. cant find it anywhere on the

    i purchased a app and paid for it Djay the original now i want to put it on my ipad from my phone purchase and it only gives me djay 2 to buy in the app store i dont want djay 2 i want the one i have paid for Djay 1. cant find it anywhere on the store

    Developers control which versions of their app is in the store. If a developer releases a new version and pulls the old version then it will no longer be available in the store.
    If you sync the device that has the older app in ITunes on your computer and choose to transfer purchases,  you will then have your own saved copy of the app. Then, sync the other device and select to install that app from the list of locally saved purchases.

  • I have looked through the video tutorials for CS6 and cant find any help for PHP using SQL.

    Where is a good place that I can go to learn more about using dreamweaver and different languages than html.  Is there a service that adobe offers that I could buy that would take me from rookie all the way to professional with a good easy to use structure such as adobe tv but more advanced and thorough?  I am trying to build a website with a log in page and registration.  I have the HTML part down well enough but need help writing the php scripts and using SQL to store the user info

    I'm moving this to the main Dreamweaver support forum.
    In answer to your question, you need to be aware that the PHP server behaviors in Dreamweaver CS6 use the original MySQL functions that are scheduled to be removed from a future version of PHP. The server behaviors have already been removed from Dreamweaver CC. If you are planning to create a site using PHP and MySQL, do not rely on Dreamweaver's server behaviors. You must use either MySQLi (MySQL Improved) or PDO (PHP Data Objects) instead.
    If you're looking for video tutorials, you might be interested in the courses I have created for lynda.com. As a beginner, a good place to start would be PHP for Web Designers or Introducing PHP (there are several sample videos that you can watch for free on my website). Both courses were recorded on Dreamweaver (PHP for Web Designers on Dreamweaver CS6, Introducing PHP on Dreamweaver CS5.5). PHP for Web Designers shows how to connect to MySQL with MySQLi. You need a subscription to lynda.com to watch the complete courses, but you can get a seven-day free trial by following the links on my website.
    If you don't want to commit to a subscription service, I have also written a book called PHP Solutions, which covers MySQLi and PDO in depth. It also shows how to build a login system. At the moment, the second edition is available, but a revised third edition is due to go on sale in December.
    There are also a lot of free resources on the web that you can find. The important thing to beware of is that a lot of old material relies on the original MySQL functions. Whichever resource you use, make sure it shows how to use MySQLi or PDO.

  • Cant find this CLASSIC song .....  :(

    well, im trying to find Imagine by John Lennon because im feelomg mellow. BUT i cant find the song on iTunes. i have tried searching for: Imagine, Lennon, John Lennon etc. WHY DOES ITUNES NOT HAVE THIS GREAT SONG!!!!???? all the searches come up with arw a load of wannabe bands ive never heard of. can u like check your database or summin because i really want the song and i want to knoow if you have it!
    thx,
    Issy. (very annoyed iTunes user....:)

    thx every1!!!
    that Yoko is like really missin out on loads of
    money
    she could make out of sellin stuff on the web. but
    i
    wouldnt no anythion bout that... well im just
    ramblin
    soz
      Windows XP
    Apple paid Yoko over $2 million last year. Apple
    Corps, that is. You know, the music distribution
    company. The one that was promised by Apple Computer
    they would not get into the music business. Seemed
    like a good bet 20 years ago, but guess what. Apple
    Computer is the man now. The way things are going,
    they're gonna crucify me.
    O rilly, gotta cite?

  • Time Machine looking for backup disk/not finding

    Time Machine backed up the HD on my 2009 20" iMac up till Feb. 4 when I downloaded Since then there have been no new backups of my HD and there have been problems wihen I have Time Machine "on" with other applications (TextEdit, Pages, Adobe Bridge CS4) opening or not responding after being open and with Finder not responding. I have also had grey screen freezes multiple times so that I have to use the power button to shut the computer down. When I take TM off of the Automatic backups, most of the problems with applications quitting and the grey screen freezes stop happening. (Although I believe I've had at least one or two grey screen freezes even then.)
    Today I've run Verify Time Machine Backups. It completed that. Then I turned on Automatic Backups again. But then it showed "Looking for Backup Disk". So I selected the Backup Disk. Then I checked back in a while and it still showed Looking for Backup Disk. I removed the selected backup disk, shut down and rebooted, and reselected the backup disk. It is still showing Looking for Backup Disk.
    The Time Machine is a 1 Terabyte size. My iMac is using 203.6 Gigabytes of its 319.21 G space.
    In looking at what my Finder is showing as the name of my Backup Disk, I see that it is showing my Backup Disk as Virginia's Computer (3). It should be showing my Backup Disk as Virginia's Computer. If this is the source of the problem, how do I get my Backup Disk named back to Virginia's Computer? Is it possible to get it changed back?
    My TM is used as a router for two iMacs and up through Feb. 4 I was sharing files between both computers. When the problems started, I turned off File Sharing in the other computer (Jim's iMac). I had noticed that frequently my computer's name as shown on the other computer would be changed to Virginia's Computer (2) or Virginia's Computer (3) and I would change it back when I noticed. Perhaps this is how the problem started.

    I finally contacted Apple Support. Three support people and seven and a half hours later Time Machine began working correctly. Multiple things were tried. The Time Capsule ended up getting erased. Many files and folders were deleted from several places on my hard drive. It seemed that the final ones that made a difference after the Time Capsule was erased were files that were in my Keychain.
    I have to thank Apple's Support people for persistence, especially Jim who is the one who got things back to normal as far as the Time Capsule & Time Machine goes. I have to keep watch to see if anything acts up now on my hard drive and then the solution will go further. But the issue with the Time Capsule and Time Machine appears to be resolved!
    Thank you, Apple Support!!!

  • Trying to continue a download for a game cant find it

    Ok starting to annoy me. I purchase a game and it started downloading yesterday and it said 6 hrs it would take. I let it download till about 3 hrs were remaining and then I paused it or really stopped for time being. And closed out I woke the next day and was giong to finish it. So how in the **** do you bring it back up in download to finish it. You should be able to Im not going to buy some game and not be able to finish the download. Very annoyed. Please help!

    the information i was looking for was to get my purchases of: texas hold'em soft ware game and song summoner: the unsung heroes because i was downloading them on the 27 of july and they had 10 mins to go.Then itunes said they had incounted an error so they had to close and therefore i lost my things i was downloading while i still hade to pay the price of $7.49 for each of the products but i did not receive them. ggrrrr can i download them again with out paying for them again or sumthing because i had payed for them but itunes closed and they didnt resume

Maybe you are looking for

  • Data recovery from raid_0 hard drives on Msi Neo 925Xe Platinum

    Yesterday my mainboard has "passed out" without reason.My pc was in idle situation and suddenly the monitor turned off. I've checked everything and I found out that it's a mb problem. I had 2 WD raptors on raid_0 and I would like to know if there is

  • How can I ensure my iPhone calendar is in sync with my Google calendar?

    I sync my office Lotus notes desktop calendar with Google calendar and generally the two are in sync. However I find my calendar on the iPhone which I sync with the Google calendar through Exchange (along with mail and contacts) is simply out of sync

  • Help Required ASAP.

    Hi, I have a friend of mine his name is Atul Tembe he has a functional expereince of 10 years in sales with L.I.C and he has done SAP SD Certification in the month of November, from Genovate Mumbai he has still not got placed and he is lookin for his

  • Change to mp3-format

    How i can change my songs, i bought on itunes music store to mp3? My ipod don't works, now i will buy a sony mp3-player!

  • I want to password protect my laserjet (NO print without Password)

    Hi there, I bought HP Laser Jet 200 Color M251nw (75576E) and i want it to password protect, its connected wirelessely to 8 PC 4 Mac and 4 PC's, the problem is everyone printing it unless the printer says out of toner. I dont want that, can i have a