Can't get rounded LineBorder in JPanels

I cannot get rounding in a LineBorder on a JPanel. Anyone have any suggestions. Here's my code. The corners stay square in 1.4.2 and 1.5 in Win XP.
LineBorder b = new LineBorder(Color.black, 1, true);

I would suspect that the radius of the curve for the rounded corners is directly related to the thickness of the line. A thin line having a small radius, thick lines a larger radius. 1 pixel thickness might not show enough rounding to be noticable.
You could get the source for LineBorder and copy it to make a new class which can define a new parameter to define the radius explicitly and then paint accordingly.

Similar Messages

  • I'm trying to sign in to icloud on my laptop to access my itunes but it says my apple id is valid but wont open.  I don't have an apple phone, I have an android phone.  How can i get round this?

    I am trying to access some of my songs on itunes on my pc but it's says I need to install icloud.  I did this but it says I need to sync my phone but that is an android phone.  It says my apple id is valid but still won't let me sign in.  How can I get round this?

    Enchanted1 wrote:
    All this and I still don't have enough space on my startup disk, but that's another whole question!
    No, this should be the number one thing you are concerned about.
    Until you get this sorted, there is a good chance you may simply lose everything.
    Do you hav ean external drive?
    If so copy the entire /Music/iTunes/ folder to the external drive.
    Then you can delete /Music/iTunes/ empty the trash and recover this space.
    Do this then Apple menu > Software update.
    Restart the computer
    Then post back.

  • How can I get round problem with itunes. I get message saying computer isnt authorised to play some tracks Ive downloaded, tells me to authorise which I do, then a message appears saying the computer is already authorised but I still cant access the track

    how can I get round the problem I have with itunes. I have bought and downloaded various tracks to my library. When I try to sync my iphone from my PC I get a message on screen saying that it is not authorised to play them and tells me to authorise the computer by clicking store, entering apple id and password then clicking authorise this computer. I do that then get a message saying that my computer is already authorised yet when I try syncing the track again the same thihng happens. Im getting nowhere!

    If only some of the songs on an album are giving you the authorisation message, that suggests those song files are damaged.
    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • For some apps it seems impossible to determine the price before, or even after, installing them. How can I get round this?

    For some apps it seems impossible to determine the price before, or even after, installing them. How can I get round this?

    Can you be clearer about what you're seeing?  The price should be clearly stated up front...  Is that not the case?  Note that there may be additional taxes that will increase the final price, and that can't be included in that up-front listed price, since taxes are different everywhere.

  • Trying to change my region from uk to New Zealand but comes up with incomplete pass how can I get round this ?

    Trying to change my region from uk to New Zealand but comes up with incomplete pass how can I get round this ?

    Thanks for the Clarification...
    GlenieBoy wrote:
    ... method of payment is not valid in this iTunes Store as it's set to uk..?
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • I've logged onto iTunes, but it's asking me security questions because it's a new device, and I'm getting the answers wrong, but iTunes wants to reset but send the new passwords to my ex partners email address how can I get round this.

    I've logged onto iTunes, but it's asking me security questions because it's a new device, and I'm getting the answers wrong, but iTunes wants to reset but send the new passwords to my ex partners email address how can I get round this.

    I believe part of the recovery process is you get an e-mail allowing you to reset questions.  If that e-mail isn't correct either because your son set it up then you really have no option but to ask Apple again.  They are getting strict abotu security and given the number of "My iTunes account got hacked" posts here I can guess why.  They have no way of knowing you really are the owner of the account.  It's like me going to a policeman and saying, "See that car over there?  That is mine, can you open the door for me?" and the police opening it on that basis alone.
    Frequently asked questions about Apple ID - http://support.apple.com/kb/HE37 --> Can I change the answers to the security questions for my Apple ID?  --> Yes. You can change the answers to the security questions provided when you originally signed up for your Apple ID. Go to My Apple ID (http://appleid.apple.com/) and click Manage your account.
    Forgotten security questions - https://discussions.apple.com/message/18402551  and https://discussions.apple.com/message/18625296
    More involved forgotten question issues - https://discussions.apple.com/thread/3961813
    Kappy 09/2012 post about security questions - https://discussions.apple.com/message/19569468
    John Galt's tips (09&11/2012) - https://discussions.apple.com/message/19809294 and https://discussions.apple.com/message/20229239
    If none of the above work, contact iTunes Support at http://www.apple.com/support/itunes/contact/ and follow the instructions to report the issue to the iTunes Store.

  • HT1212 my niece's device is locked fro 23 million minutes!!!! How can i get round without losing data as at 8 she hasnt backed up!

    my niece's device is locked for 23 million minutes!!!! How can i get round without losing data as at 8 she hasnt backed up!

    If you restore you will have to restore to latest Apple's software, that frankly *****. I did it and I completely regret. On iOS 6.1.5 NOTHING works.

  • TS3988 When I try to sign in to my iCloud account, I get a message saying that The maximum number of free accounts has bee activated on this iPad. Can I get round this problem ?

    When I try to sign into my iCloud.i get a massage saying that The maximum number of free accounts has been activated on this I pad. Please can you tell me how to get round this problem ?

    All you can do is re-use on of the accounts previously created on your device, or create an account to use on another iOS device or Mac (running OS X 10.7.2 or later), if you have one.

  • How can I get round the issue what sites I can look at in iceland

    How do I get round the restrictions on what sites I can look at in Iceland?

    http://www.craigslist.org/about/sites

  • After connecting to itune to down load and update my 3gs iphone it is now telling me "no sim card" How can I get round this?, after connecting to itune to down load and update my 3gs iphone it is now telling me "no sim card" How can I get round this?

    After connecting my 3gs phone to itune last night to download items and to get new updates my phone will not work, it says to add a sims card to phone but the sims is already in it.  How can I get my phone to work?

    Sounds like your iPhone was previously hacked/modified/jailbroken
    and the update has relocked it to the original wireless carrier. If that
    is the case, only the wireless carrier to which the iPhone is now locked
    can unlock it.
    Does the app Cydia appear on your iPhone?
    What does it say when you look at Settings=>General=>Carrier?
    What wireless provider do you normally use?

  • My i phone got ran over (smashed) cant power up at all,when i plug into a laptop its asks to verify my phone how can i get round this help!!!!!

    I phone 4   32 gb
    my phone got ran over by a car completely smashed it I need to retrieve data from it,
    I cant power up but when I plug it into a laptop it asks to verify the phone how
    can I do this with no front screen,I cant even replace the screen because the clip on
    the back what the screen clip into is broken as well can anybody help

    loopy45 wrote:
    my phone got ran over by a car completely smashed it I need to retrieve data from it,
    I cant power up
    If you can't power the phone up, you're not going to be able to get any data off of it.

  • I am trying to restore my calendar from my Time Machine backup. I can get through the process, but at the end I get a message that Calendars cannot be amended as it is required by OS 10. There is no facility to authorise a change. How do I get round this

    I am trying to restore my Calendar from my Time Machine back up. I can get through the process but at the end I get a message that Calendars cannot be removed or amended as it is required by OS10, there does not appear to be any option to authorise the backup or change. How can I get round this roadblock?

    I am trying to restore my Calendar from my Time Machine back up. I can get through the process but at the end I get a message that Calendars cannot be removed or amended as it is required by OS10, there does not appear to be any option to authorise the backup or change. How can I get round this roadblock?

  • How can I get my photos from my phone when it's asking to restore the handset?

    I've just done a system upgrade on my phone and then it asked to restore.  The thing is I don't want to lose any of my pictures or videos.  Can I get round this?

    nicolafrombasingstoke wrote:
    I've just done a system upgrade on my phone and then it asked to restore.  The thing is I don't want to lose any of my pictures or videos.  Can I get round this?
    Photos are included in the phone's backup. So if you did a backup before the upgrade (which happens automatically) they should be restored when the backup is restored. If you don't have a backup you are out of luck.

  • TS4006 I want to set up "find my ipad" on my sister's ipad, so we can find each other's iPads. However, this seems to require differing individual cloud email addresses, so one ipad wouldn't recognise the other one. How do I get round this?

    I want to set up "find my ipad" on my sister's ipad, so we can find each other's iPads. However, this seems to require differing individual cloud email addresses, so one ipad wouldn't recognise the other one. How do I get round this?

    Many thanks for the quick response.
    I'm fine with using the same ID for iCloud, so I'll give that a try.
    You mention that a lost ipad can be found from any computer. As a relative computer novice, I didn't know this. How would I go about carrying out such a search?
    I don't think I'd use the find friends app. My concern is to find a lost or stolen ipad.
    Thanks

  • My dvd player will not let me change regions, it just quits when i do, now its stuck on region 1. Any thoughts how i can solve this problem or get round it in some way?

    My dvd player will not let me change regions, it says i have one more chance to change it, then it just quits when i do, now its stuck on region 1. Any thoughts how i can solve this problem or get round it in some way?

    Usually if you have some kind of hardware failure there is some beeping during POST or most motherboards now have LED indicators to produce and error message based on the type of failure
    So if its bad memory, not place properly, mismatched, processor not inserted properly, mismatched voltage or voltage connector not present etc it beeps or generates the error id.
    Power supplies can be tested for failure. There are some walk throughs for testing just them with a switch, paperclip or a jumper (I'd suggest not doing this if you are not familiar with the dangers of electricity).
    Memory can be tested with memory diagnostics programs like Memtest+
    Processors can overheat if the proper precautions have not been taken usually you will get a POST beep or error code for that.
    If the motherboard has no response then do the basics first:
    Check power connectors and power supply. Once you determine that is not the case move on to other items like graphics cards in all the way or memory.

Maybe you are looking for

  • To make changes in  the subject of Email for PO Creation...

    Hi ,         We have done configuration in NACE for simple mail to be sent when a PO is created . i want to change the subject of Email for PO Creation... Please help me in this regards Regards R/Ragu Useful answers will be rewarded

  • Problem in the configuration of debit memo issue with manual entry of freight

    Dear Seniors, i am facing an problem in the creation of a debit memo, i want to generate the debit memo with reference to billing but the entry of freight would be manual, but while doing this it will also took the billing material prices to and the

  • Urgent help on IC Webclient/Marketing/Partner Determination

    Hello guys,                 I am doing this implementation on IC Web. We have a problem that needs to be addressed real quick. All the main business partners here are the Sold-To's and then I have Ship-to's, Bill-To's and a set of Contacts attached t

  • PCMover

    I used this PCMover software to move everything from my old computor to my new one including applications. My Itune files got moved however when I try and open Itunes I get a windows error message telling me that Itunes had to close. When I report th

  • How to link Documents to CRM

    Hi Can anyone please suggest on how to link Documents to CRM CIC0 screen. Thanks in Advance