Purple lines around an image icon

Hi all!
Ive created some JButtons with a white background which have some ImageIcon's representing their use. Problem is a horrible purple border appears around the most recently selected image/text combination in the middle of the button. I've looked in the API's but to no avail! Does anyone know how i might go about removing this unsightly smudge on my cutting-edge designer GUI?? ;0)
Many thanks

Maybe you should try the method setFocusPainted(boolean)
inherited from class AbstractButton.

Similar Messages

  • Whats the easiest way to put a thin line around an image?

    Can anyone tell me the easiest way to put a thin line around
    an image? I'm also interested in the use of thin lines as part of
    the graphic design on a page, how are they generated?
    Thanks

    .oO(cdeatherage)
    >In Dreamweaver, you can set a border for each image but
    be aware that some
    >versions of some browsers may not display it.
    This shouldn't be an issue in any used browser today.
    >If it is a consistent look you're
    >after, I'd say the most permanent thing to do would be to
    edit the image in
    >Photoshop or Fireworks. In Photoshop, e.g, I'd create a
    background fill with
    >the color I wanted the border, then add the image,
    centered, in a new layer on
    >top of that. Merge the layers, then save optimized for
    the web.
    Way too complicated. If you want to change the color or style
    of the
    border, you have to modify the image. With CSS you can
    directly change
    the line style in a much easier and faster way.
    Micha

  • Have placed video-when previewed there are sometimes heavy black lines around the image. If I place white rectangles in front, the black is hidden in Author, but when I preview the black lines are still there..How to use white rectangles to mask edges?

    I have placed video - when previewed there are sometimes heavy black lines around the image.
    If I place white rectangles in front, the black is hidden in Author, but when I preview the black lines are still there..
    How to use white rectangles to mask edges?

    Here's view in IBA you can see bounding boxes of white rectangles that
    form frame to block out black setions..
    Here's iBook preview image of same page, NO WHITE FRAME!
    WHY?
    BOB SPRAGUE

  • Why & remove: thin black line around new image?

    Hi there.
    PS CS3 (10.0.1)
    Why does PS automatically make a thin black line around any new image and how can I set PS not to do this?
    You can please have a look here:
    http://www.josua.co.za/graphics/josua-banner.jpg
    I will really appreciate your help.
    Regards,
    Deon

    Thank you for replying to my question.
    You are 100% right ... I have made the canvas a bit larger and there is no line.
    BUT, why is there a line around the image when viewing in a browser? I dont' want it there and this is the first time I have this problem.
    Thank you for your time & help.
    Regards,
    Deon

  • Make the purple box around text and icon of a button go away?

    I have noticed that the first button of a group (or the last one pressed) displays a purple box around the text and/or the icon of a button. I don't want this. How do I get rid of it?

    Have you tried setting the colour that you want manually? Or perhaps setting the setOpaque() method with false?
    Not entirely sure what you mean...what look and feel are you using? Is it the Metal LAF or something else?

  • How do I get rid of the Blue line around an image that is a link that only happens after a click?

    This is not the standard link problem. I have already put in: a img { border : none; }
    That took care of not having a blue border around the image all the time.
    My problem is that when I actually click on the image, it flashes with a red outline then turns bright blue and stays there untill I click off the image. Then it turns normal.
    I have gone through the CSS and put (border: none) on everything I can think of. These images are in the sidebar, stacked vertically. Each is a link to a page and they are all doing the same thing.
    I hope someone can help me solve this problem.
    Thanks, Alice

    Try:
    a {
       outline: 0;

  • Purple line across photo images

    I recently got an iPhone 3GS, which unfortunatley I had to replace (dust under screen).
    Now I have noticed on my new one, that whenever I take a picture (doesn't matter if its through an app or the normal camera) or even a video, I have this horrible purple line across my pictures, which then saves onto the picture. Am I going to need to get another replacement? Is it a common problem? I tried to Google it but I couldn't find any information about it.
    Example:
    http://i2.photobucket.com/albums/y3/DuncanJF/IMG_0080.jpg
    Thanks.

    Yes, unfortunately it sounds like another hardware issue...
    You can certainly try to hard reset and then full restore using "set up as new iPhone" ... but I doubt this will help... if it doesn't resolve then software is not the root cause for your issue... thus another replacement is needed sorry!!

  • PDF exporting with thin black lines around some images

    Hi there,
    I have spent A LOT of time making a custom SAVE THE DATE card and I cannot find a solution to this problem. When I am working in the document, I do not see thin borders around any of the images but when I export to PDF they show up. I have NO BORDERS selected for all images in the document and cannot figure out why they keep showing up after export. 
    I have attached a screen grab of what the document looks like when I am working on it, and another one of what it looks like after export. I am using Pages 5.2.2 and OS X version 10.9.5
    I need to order these SAVE THE DATES by tomorrow to take advantage of the 60% off! Thanks so much for your help!

    I am seeing this same problem in a family newsletter I've created.  The lines do not show up in Pages, but when I export to pdf (or print to pdf), the lines appear.  When I print the document, no lines appear.
    Here's what the top of the newsletter looks like - the black lines show up on all the pages, and in the beige-covered overlay, crosshatching is visible.   The template I'm using was in existence two years ago, but doesn't seem to exist in Pages anymore.  Would that have anything to do with the lines showing up?
    I also found this link, but can't apply any of the suggested fixes, since they apply to Adobe:  <http://helpx.adobe.com/indesign/kb/thin-white-dark-lines-stitching.html>.

  • There is a line around my image and i want to get rid of it. is there an easy way?

    that is the image i am editing, please help i need this done asap

    You can simply paint over the lines with white. A bit tedious but shoudn't take long.
    Or a quicker way:
    1. Use the Color Picker to select the image color.
    2. Activate the Magic Wand and uncheck the Contiguous box.
    3. Click anywhere in the color to select all of it.
    4. Invert the selection and fill with white.
    Note: After step 3 you might want to smooth the selection to minimize the "jaggies". In my PSE version this is via Select>Modify>Smooth. Here is a comparison without Smooth and with Smooth value 5.
    Here is the smooth version if you want to save it:

  • I am trying to draw a dotted line around a image through phtoshop CS5 sdk(64 bit)

    the problem is that the dotted line is being created on my computer but it is not working on other computer ... when i checked on other system , it showed a error code on Play command .. i have windows 7 ( 64 bit )  and other system was also 64 bit ..
    i have tried most of the things i know but the problem still persists. now i rely on you guys to get some advice and help ..
    please help me
    please send me code if you could create it
    . thank you

    I see this error in your output:
    2014-11-26 10:55:23,583 ERROR [ThemeAutoDeployer]
    java.io.FileNotFoundException: /tmp/liferay/com/liferay/portal/deploy/dependencies/liferay-theme.tld (Too many open files)
    I'm not across what the EBS recommended setting for this is, or if there is one.  But try running:
    ulimit -n
    ... and if the number is low, edit /etc/security/limits.conf , add some entries for increased "soft nofile" and "hard nofile" and run sysctl -p.  See Linux & Java tips: Too many open files .

  • Wierd printing problem.  I have a TIFF file from a color negative scanned some years ago into Photoshop. Photoshop version probably CS2. Now printing from CS6. It prints with a black line around the image and mid grey outside that. Margins are white. Imag

    Any suggestions as to how to fix this, please?

    My printed colors look wrong. | Mylenium's Error Code Database
    Mylenium

  • Dotted line around image frame in active state mode.

    In my active state, I have the button set to open in a new window once it's clicked on, which it does. But when I go back to the page, there is a dotted line around the image frame that doesn't go away. Any help would be greatly appreciated!

    Hi
    I believe you are using Firefox to view the site, as this occurs only on firefox.
    This is a known issue on their end as the selection for page object remains when we return to page.
    The details can be found on this link :
    https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector
    where it is mentioned that they would be taking this off from Firefox 29 onwards.
    From Muse we cannot control this as its a browser specific selector function.
    Thanks,
    Sanjit

  • How can I create a vector path boundary around an image?

    I have enclosed a screenshot of an image created in Photoshop CS4 with a wacom. It shows a grey boundary stroke around the entire image which was created with edit/stroke, then color and width of stroke selected.
    What I want to do is to bring this image into Illustrator CS4 and create a vector path boundary aroun d the image in the same way as the stroke boundary in Photoshop. But I dont know how to do thatx except by doing it manually with the pen tool.
    Does anyone know if it is possible to create a vector path around the image in a similar way that I created the stroke line around the image in Photoshop?
    I need the vector path to make a cutting line for a laser cutter, which works with vector files.
    Thanks for any advice about this.

    Not only should you draw the cut path deliberately with the Pen Tool, but that entire illustration should have been drawn as vector paths to begin with. In fact, if it were me, I would do that now anyway. It's nicely done, but illustrations like that are much more versatile and valuable as a vector drawings, because they are infinitely scaleable withou degradation of sharpness.
    Had it been drawn as vector paths, generating the outset cut line could be semi-automated by merging a copy of all the paths and then just outsetting the resulting path.
    Vector illustrations like that, consisting of just a few colored fills and strokes, can be entirely cut and assembled from sign vinyl at any scale, rather than resorting to merely printing the artwork and then cutting around it.
    Edits (recoloring, reshaping) can be easily made to vector paths without degradation, because each path is a separate object.
    And whenever you do need a raster image, a raster image suitable for any purpose can be exported from a vector drawing at any time. Each such rasterization is pristine, because no re-rasterization is involved.
    Not meaning to preach you a sermon; it just seems so many visitors here who have only used raster imaging don't even understand the reasons why vector drawing exists. This kind of graphic begs to be created as vector paths, and is also the very kind which would be ideal for vector-drawing beginners to start with. So it's just a good case-in-point.
    JET

  • Mwaaaa! I just want a black line round my images!

    Not all these fancy borders and stuff!
    I've just installed PE9 (today, actually!) but already it's giving me a migraine! I'm creating a vBulletin moderator training manual and all I want to do it put a thin black line around an image for definition and neatness.
    For years I've used anAdobe PhotoDelux Home Edition v4 (yeah - really, really old! - just like me! ). It's served me well but is very basic and I wanted to do more. So as a starter, I thought I'd try something I've been doing for years but can I find it? No siree!
    Please give an old gal some help, folks! I want it to look like this

    With your image open in the Editor press ctrl+A to select all (you will see the marching ants)
    On the Menu click Edit >>Stroke
    Set the width to 1px and choose black as your color and select inside edge.
    Click OK.

  • TS3274 My Ipad display screen is coming up with blue background and pink/purple lines all across the screen. It's also blurry and difficult to see icons on home screen and when apps are opened up. Has anyone had a similar problem?

    The display screen on my Ipad is coming up all blurred with blue background mixed with pink and purple lines. It's difficult to see icons but apps are still accessible. Colors are off and images are very unclear on apps and home screen.
    Has anyone had this problem or any advice on troubleshooting?
    Thanks.

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
    But it could also be a hardware failure. Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

Maybe you are looking for

  • Creative Cloud desktop app not seeing my installed CC2014 apps

    I just uninstalled Creative Cloud and reinstalled in as it was not launching. Now it is launching fine but not seeing the installed cc2014 apps on my machine. Its prompting me to install them. How do I fix this?

  • Is there a way to replace tags on import rather than create duplicates??

    I use the tag engine to connect with the KEPWARE OPC server program and at times I want to change how the tags are located inside KEPWARE but keep the same tagnames inside LABVIEW. I export the .scf file and modify it inside EXCEL. When I import it a

  • ITunes Store "open in new window"

    Whatever I do I cannot make iTunes Store open in a new window. I want to see if I already have a version of the music I am about to order, but the selection "open in new window" is not selectable - iTunes Store opens on top of iTunes start page.. Sol

  • Yahoo mail only works on 3G and not on wifi. It is the same for iphone

    Yahoo cannot download  messages on wifi. It only works on 3G

  • IDOC message status

    Hello All, My requirement is while saving Purchase Order, if an IDOC is posted with status 03, then i have to update few tables. But i could not find a place where can i write my logic so that the status is for the current IDOC is available. Thank yo