What is it with transparent GIFs and Black????

I'm trying to use transparent gifs in a little game! ;o) as an introduction to graphical java!
Problem is when I load the images using the toolkit and then setting them as say the Icon for a panel, they are surrounded by Black?! In addition when I try to display them using an BufferedImage they are also surrounded by black?!!!
Ive been tearing my hair out trying to understand why - and have sucessfully failed :D
Can anyone help?!
Pleeeeeeeeeeeeease!
Thanks

Can't seem to get that working?!
If I want to put that image as the icon for the whole window how would I do that?
ImageIcon tempIcon = new ImageIcon(Toolkit.getDefaultToolkit().getImage("images/icon.gif"));
f.setIconImage(tempIcon.getImage());where f is a JPanel.
The above code does not work?! I just get the black surround to the gif as before!>?

Similar Messages

  • Hi my iph4s wont turn on or off and seems to be zoomed into a particular part of the screen, loads normally when rebooted the phone. what is wrong with it? and how would i go abouts fixing it?thanks

    hi my
    iph4s wont turn on or off and seems to be zoomed into a particular part of the screen, loads normally when rebooted the phone. what is wrong with it? and how would i go abouts fixing it?
    also recovery mode shows up as a red icon instead of a blue one, not jail broken or had any third party alterations
    thanks

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

  • Why is Apple so bad at providing customers with information on what the problem with email is and what they are doing to fix it?

    Why is apple not providing information on what the problem withe email is and what they are doing to fix, along with a time frame for fixing the problem.

    It was because the problem was major.  If you do not know tech, you should know that a two day outage usually indicates some type of virus, hack, or a bad software load that they had to unravel.  The common way to solve that is to rebuild servers and put back into service.  That takes time.
    Apple did not want to admit this problem.  My guess at this stange was that they loaded new software that might be associated with the new IOS and it crashed.  To reveal this would be to cast into doubt their future revenue.
    Either way.  Run do not walk away from Icloud products and services.  Apple has demonstrated they can not be a business partner.

  • After updating my screen blinks. What's up with that ? And how do I fix?

    After updating my new operating system my screen blinks constantly. What's up with that? And how do I fix? Thx

    Which OS? Provide details so people can help.

  • Red highlight next to code in dreamweaver. What is wrong with the code and is it affecting the websi

    What is wrong with the code and is it affecting the website?

    Line 107 looks dodgy to me and it won't have any effect on your code.  However, it is a good idea to post a complete link to your CSS for us to see it in full and to validate it using external tools.  In fact, you could validate the CSS (and HTML) yourself..
    <http://jigsaw.w3.org/css-validator/>
    Good luck.

  • What is wrong with icloud mail  and how do I fix it?

    What is wrong with icloud mail and how do I fix it?
    I put the icloud mail login address in the browser, it brings up the login screen.
    I put the login details in correctly, it says icloud has stopped responding, I always send to Apple.
    It restarts and  I get the right screen, below, but all of the icons are blurred out. If you hover over them they sometimes indicate what they are but won’t let me launch them.
    I am using an Advent Laptop with a Celeron processor with Windows 7 and the browser is Internet Explorer  11 for Windows 7.  (I know I am expecting  a lot of it). All of my software is up to date.
    Any ideas? I a not very techy but I'm not afraid to have a go...it communit question. Thanks fr your help.

    Hello, Fightlikeaninja. 
    Thank you for visiting Apple Support Communities. 
    Here is an article that I would recommend going through when experiencing this issue.
    iCloud: Troubleshooting web browser issues with iCloud.com
    http://support.apple.com/kb/TS4050
    Cheers,
    Jason H.

  • Help export the graphic with transparent background and not braking the quality

    hi I'd like some help please if its possible.
    I've created a monitor graphic in Fireworks that looks like iMac and I would like to export it with transparent background.
    the jpeg format looks great with no damage to the graphic at all but I can't have transparent background, although I changed the canvas fill to none. the png-8 format can apply transparent background, but damages the graphic.
    Here are the previews
    1st - the png-8 format
    2nd - thejpeg format
    A ny ideas on how I can export the graphic with transparent background and not braking the quality??

    Fireworks questions are best answered at this link:
    <http://forums.adobe.com/community/fireworks/fireworks_general>
    Good luck.

  • How to export animated gif with transparent background and glow effect?

    I've been having issues lately with creating animated gifs in flash. I finally figured out a way to export a gif with a transparent background but I'm now having an issue with it again because I'm using a glow effect. When the gif is exported the glow effect changes into a very poor quality and becomes less of a glow and more like a solid color. I've even exported a png sequence from flash and put it into photoshop then created a gif from there but I'm still having the same issue. Is there anyway I can properly export this in gif form so the quality is the same as when I test it in flash?
    I've provided an image of what my issue looks like and the settings (I've messed around with the settings and this is the best I can come up with) . This is in photoshop but the result is similar in flash. The left one is what it originally looks like and the right is what it will look like after exporting. As you can see as I said before the glow changes into more of a solid color kind of like a border. Any help would be greatly appreciated, thanks in advance!

    A GIF is limited to 256 colors while a glow effect likely wants to tie up thousands (let's just say 'lots') of variations of tone.

  • Png files with transparent background show black only in firefox for android

    I have a wix created site and png files with transparent backgrounds are showing with a black blackground in Firefox for Android. They show transparent in all other browsers I have tried.
    I have tried saving the file as a gif, as a smaller png, interlaced, not interlaced, png 8, png24. It still shows black in Firefox for Android.

    Hi evelswoman,
    Thank you for your question. This sounds like a good one for the web compatibility team. Currently there are some compatibility documentation for background-image here: [https://developer.mozilla.org/en-US/docs/Web/CSS/background-image] and more details on background: [https://developer.mozilla.org/en-US/docs/Web/CSS/background]
    Filling a bug with webcompat.com with an example url can go a long way as well, I hope this helps.

  • Freezing iMac G5 with random red and black pixels, HELP!

    Hello all, and thanks in advance for helping. Here's my dilemma: I have a 20" iMac G5 that I have been using for 2-3 years or so. I recently started doing less work on it, as I replaced it with a new 24" iMac, so now it is used for one or two programs as well as occasional internet use. The system began to become slower, then finally started freezing between minimal tasks, even something as simple as pressing TAB in Safari, to trying to make a new folder in iPhoto. We restarted a bunch of times, and even tried clearing the PRAM. Now, it freezes during the start-up and there's little red and black boxes (small, maybe 4x4 or 6x6 worth of pixels) appearing randomly on the screen. When we are able to get the system to start, after one or two small tasks (opening the Address Book, or starting Safari) the program freezes, the pinwheel starts spinning, and I lose any chance to do anything more on the computer without powering down. Any advice or suggestions is appreciated! Thanks and I look forward to hearing from you.

    Hi PPRI and Miriam,
    Same deal going on here. It's been a while since I last posted - meaning no problems (which is goooood). So here is the issue:
    Would stop at blue screen before loading to main screen. Minor repair on HD volume, and now freezes on main screen very quickly, after booting past blue screen. A few wierd pixels are seen, which lets me know that it has frozen.
    Here's what I did:
    Hardware check with utility - no problems found, including logic board. From the manual, it seems like it is a software issue.
    As before, I repaired a few permissions and minor repair on HD volume. Still not working.
    Also opened up my vents and carefully vacuumed the dust - fans were spinning hard. Still, not working.
    My next step is to do an archive & install. I'm not sure how to backup my files, so this will have to suffice. This leads me to my questions:
    Q1 - How do you burn a backup, without an external HD and without being able to get past my main screen?
    Q2 - I noticed a post before this one, concerning the same issue, with Miriam posting on it. Is it overkill to post the same problem/question in another thread in order to maximize the chances for a good response? Any suggestions Miriam?
    Thank you for being so helpful. Apple community rocks!
    (PS - will let you know how the archive/install goes. If it doesn't work, I may pay to back my files on disc, and then I'll try reformatting HD altogether. Again, will let you know how it goes).
    (PS2 - Not sure if this matters, but my imac was one the ones that needed the free extended warranty for the capacitor issues - identified by the serial numbers. Doubt that's the problem since it was working fine after repairs).

  • Path palette: What's wrong with "path share" and "path exclude"?

    Hi everybody. First of all: Sorry for my english, but I hope someone can understanding me.
    Well, I want to work with Fireworks in the future because I think that this programm keep in some situation more efficience as Photoshop... So I was trying to learn how this programm is working.
    Since some days I make some experiments with Path's, because I like to work with Illustrator as well. But now, I am still going crazy because I don't understanding 2 options. I don't know the english names but In the path palette does they have this Icons:
    The first option (Pfade teilen) is "path share" and the second one (Pfade ausschließen) is free translate "path exclude"
    My question is: When I can use this 2 Options? I really did everything but nothing was working

    Thanks for posting about this issue! I've taken a look at the "Combine Paths" operations in the Paths panel in both Fireworks CS6 and CS5 on my Mac, and noticed several bugs. Between you and I, here's a summary of what we've found:
    Fireworks CS6, Version 12.0.0.236, WIN, 7, 64 Bit, SP 1
    Exclude Paths - Does not work.
    Fireworks CS6, Version 12.0.0.236, Mac OS 10.6.8 (Snow Leopard)
    Divide Paths - No effect on rectangles.
    Exclude Paths - Requires 2 clicks for rectangles - one to ungroup rectangles and another to apply path operation.
    Fireworks CS5, Version 11.1.0.205, Mac OS 10.6.8 (Snow Leopard)
    Divide Paths - Works like Exclude Paths.
    Undo - Deletes previous unrelated non-path operation. For example:
    Draw two ellipses.
    Draw a rectangle.
    Select two ellipses and apply Combine Paths operation.
    Undo (Command-Z).
    The rectangle disappears!
    You can submit a bug report to Adobe about the "Exclude Paths" issue, and include the URL for this discussion within your report:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    In the meantime, I'm going to send an e-mail to the developer about these issues. I know that he's working on a fix for another problem with this panel and planning on releasing a fix at some point, so hopefully these issues can get fixed as well.
    Again, thanks for being so persistent. It is challenging to understand your writing at times; however, the animated GIF was very helpful—and very well done. Have you tried composing your posts in your native language and then using something like Google Translate to convert it to English? I don't know if the results would be better; it's just an idea.

  • What is wrong with the screen stays black

    what is wrong with the iPod if the screen stays black and won't turn on, but is fully charged.

    Could be one of the two:
    1. Device sleep - Press and hold power button for six seconds and see if that wakes up the unit
    2. Device freeze - press and hold the power and home button for few seconds till Apple logo is seen.
    Hope this helps!

  • Logo image distored when creating a transparent gif and png

    Hi all,
    Creating a logo for my department with little or no graphic design exp.  I'm experiencing issues when saving the file as a transparent GIF or PNG.  The GIF removes the 300 dpi setting that the print shop needs to turn this into a poster and the PNG is creating some jagged edges around my logo.  The image is 2000 pixels and about 7 in. by 7 in.
    Any help would be appreciated.  I can email the PSD to anyone if they can help.  Here is the PNG:
    And here is the GIF:

    There was no abuse, just an observation. Would an abusive person be trying to help you? Is there a crime in suggesting that one prepare themselves with more experience before taking on a project like this?
    Aside from low resolution, there were a few other signs that you might be in over your head with a logo design. Logos are typically created in a vector program (not Photoshop).
    I cannot imagine a reputable print shop asking you for a PNG or GIF file when there are so many better formats.

  • What is it with Verizon lately and their lack of concern for customer satisfaction?

    I am increasingly frustrated with Verizon and their lack of concern for customer satisfaction.  I have been with them since they began and through the years they have become less and less customer friendly.  All I want to do is do an early upgrade to the IPhone 6, I have one line that is out of contract, two that will be up in May and one in October.  All the lines are eligible for early edge but only if we take a Motorola phone we do not want because they have some contact with them to push phones no one wants.  Seriously Verizon what the heck is wrong with you, trying to force people who have been loyal to you to take a phone they don't want because they paid you to do so.  I'm not trying to leave for the competition but at this point I may have to.  I had even checked back in November when I saw we were eligible for the early edge and was told we could only do the Motorola phone but that promotion would be over Dec 31 and after that we could upgrade to any phone we wanted.  Imagine my disappointment when we go to a verizon store to find out that was a lie and they entered into another lame contract with Motorola to push a diffent phone (last years model that didn't sell) and we would be forced to take one.  I contact customer service and was told to bad, sorry we lied to you but it's either that phone or wait out your contract.  Well maybe it's time to switch because it's very obvious that Verizon no longer cares about their customers, hey Verizon can you hear me now?

    I'm not trying to get out of my contract, I have been with Verizon for 15+ years and have always been able to do an early upgrade, we just forgo the discount $50 or $100 we would get off the new phone.  I have been told several times by Verizon employees that if I am within 6 months of my contract end I could do an early upgrade I just would not get the additional money off.  I was also told in November that I could do the edge up for any phone after Dec 31st.   I was lied to and that seems to be happening more and more.  Verizon has been changing its practices to the detriment of its loyal customers.  One of the reasons I liked Verizon and stayed with them for so long was because they were always willing to work with their customers and Verizon can change or alter their agreements anytime they want.  I wish they would train their emploves not to be deceptive and tell people one thing and then do another. I can understand if I was trying to cancel my contract but I am not and would be extending my contract by two years as opposed to leaving in the next 6 months.

  • Copying images with transparency produces a black background.

    When images are copied from Firefox and pasted elsewhere (Paint, PSP, Photoship, etc.) any transparency becomes opaque black. This makes it difficult to edit the image if the transparency was near black pixels. Is there any way to change the colour to something else, or at least, white?

    No, you will have to save the image to disk and open the file in your image editor. You can try if it works if you drag the file in the editor.

Maybe you are looking for

  • How to change webpage title ?

    Hi, HELP!! I just created a website, When I type www.velez.cc it takes me to http://www.velez.cc/Richard/About_Me.html How could I set it to not show the /Richard/About_Me.html ??? within the web browser ?? Thanks..

  • Is it possible to create a calendar entry from an e-mail which includes the e-Mail as text in the notes section?

    I used to be able to do this in Outlook but not sure if this is a possibility now that I'm with Apple. It is a handy connectivity tool, particularly for organizing conference calls where you want the other participants to have some history on the sub

  • JNI - Passing an object containing an array field

    I need to pass an object to a native method. The object contains several int fields and a field that is an int array (contains 32 int). I have no problem with the int fields, but do not know how to access the int array field in the C code. What appro

  • External iSight with Intel MacBook

    Hi everyone, can I use an external iSight rather than the built in one, I have a 3 month old MacBook with dual core Intel proc.

  • Problems with Operational Review Screen

    When  I start  SAP SSM  in version 7.5 ( for the final user home page ) , in the Home Page Screen, the tabs "Operational Review" and "System Messages" does not appears to me The strange is that in "Configure Home Page" ( In Administration Home Page )