What can I do to add animated gif to my Button

hi everybody,
I have a JButton, which is used as a 'search button'. I want my search button to show an animated globe gif when search is going on. I have my code as below.
JButton searchButton = new JButton(MyUtilities.searchIcon());
ImageIcon animatedGlobe = MyUtilities.animatedGlobeGif();
searchButton.setPressedIcon(animatedGlobe );
/*******************************************************/At runtime the button is showing a static globe which is not animating.
I used to be tipped that I use Thread to make the picture moving ! So, can you show me the way !
Quin
(same idea on amar)

Plug your iPod into iTunes and look under its Summary tab.  There should be a colored bar towards the bottom indicating how much of each of content you have synced to your iPod including music and podcasts, etc.
If your music is taking up a majority of the space on your Shuffle, you might want to double check their format.  You can do this by right->clicking on a song and choosing Get Info.  When the window pops up for it you should be under a tab that gives the track's format.
B-rock

Similar Messages

  • Can i open and edit animated GIF in Adobe Photoshop Touch?

    Can i open and edit animated GIF in Adobe Photoshop Touch?

    No, only regular static GIF images are supported. The desktop version of Photoshop does support this however.

  • Every time I try to add a new video to my photo folder...iTunes says it's experiencing a problem and then it crashes and shuts down. What can I do to add video to my photo folders?

    Every time I try to add a new video to my photo folder...iTunes says it's experiencing a problem and then it crashes and shuts down. What can I do to add video to my photo folders?

    Hi mterry1723, one solution that might be worth trying is this:
    - Close iTunes, if it's open
    - Open Safari and got to 'Preferences'
    - Select 'Security' on the top
    - Untick all the security options in the menu
    - Click the 'Show Cookies' button and look for all the 'apple' entries in the left-hand column.
    - Highlight them (select them collectively) and press 'Remove'
    - Now open iTunes and buy the song as usual.
    - You may be asked to do the same security process as before, so do as asked.
    - Hopefully, the security check will now have accepted your answers and start downloading the song as normal.
    Remember to re-tick all the required security options you had just un-ticked in Safari preferences. You don't need to bother about opening the cookies again.
    I hope this has worked for you and my profoundest apologies if it has not. Worth a go, though!
    I did see this thread: https://discussions.apple.com/message/18259935#18259935 which may be of more help, mainly the last entry by 'c2boyd'
    Message was edited by: Bongomal

  • How can I add animated gifs to a slideshow?

    I want to  put some animations into my slideshows.
    I want to add in animated gifs. I can do this with Videowave (Roxio). Can I do the same thing with elements 8?

    Double click on the photo in the thumbnail tray at the top to get into the edit mode.  There Control (right) - click on the image and select Duplicate from the contextual menu.
    Go back to the slideshow mode and there will be two copies of the photo in the tray which you can place wherever you want.
    OT

  • Can I add animated GIFs to my project and Publish as HTML5?

    I've created several projects with Adobe Captivate 7 and have added animated GIFs to my project. When I publish, the GIF animations are only animated when played as SWF. When I play the HTML5 version the GIFs only show the first frame.
    Is there a way for me to publish my Adobe Captivate project so that the GIFs are animated when viewing the HTML5 output?

    HaridossR1234,
    Thank you for your reply. I have tried both draging-and-dropping the animation into the project as well as using the insert-> Animation menu option, but neither result in and animated GIF being displayed when the project is on the web and being viewed as an HTML5.
    I should note that the GIF IS animated when I view the project on my computer after publishing, but not when the project is displayed on my website. I publish the project with both GIF and SWF checked and Chrome displays the animated GIF but Firefox and Safari do not.
    When you say to check the HTML5 output, do you mean when I'm publishing the project as a whole or is there that option somewhere when I'm inserting the GIF?
    Sincerely,
    Lillie

  • How to add Animated GIF to an iWeb '11 page?

    Trying to take our existing website (not created in iWeb) and recreate in iWeb.  Have an animated GIF on our home page.  When I try to drag the GIF to the iWeb page, it's no longer animated.  And when I publish, again it's no longer animated.  I need help.
    Doug

    It should play.  Publish you site to a folder on the hard drive and open it locally to see if it plays there.
    What's the URL of your site so we can examine it first hand?
    Make sure there's no object under the gif file.  I found trying to put an image behind it would kill the gif and require me to remove the give and add it again to the page.  They seem to be a little picky.
    OT
    Message was edited by: Old Toad

  • How do I add animated .gif files to a JFrame?

    Hi, I'm making an underwater scene in java for my degree assignment. I have a JFrame with an underwater background and a bunch of .gif fish moving around inside, but they should be animated and they're not. They animate outside of java. How can I make the .gif files animate?

    Hi, I'm making an underwater scene in java for my
    degree assignment. I have a JFrame with an underwater
    background and a bunch of .gif fish moving around
    inside, but they should be animated and they're not.
    They animate outside of java. How can I make the .gif
    files animate?A simple example:
    /* save as AnimeGif.java */
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    class AnimGifPanel extends JPanel{
      Image[] imgs;
      int w, h;
      Random rand;
      public AnimGifPanel(Image[] ims, int wid, int hei){
        imgs = ims;
        w = wid;
        h = hei;
        setPreferredSize(new Dimension(w, h));
        setBackground(Color.cyan);
        rand = new Random();
      public void paintComponent(Graphics g){
        super.paintComponent(g);
        for (int i = 0; i < imgs.length; ++i){
          g.drawImage(imgs, rand.nextInt(w), rand.nextInt(h), this);
    public class AnimeGif{
    public static void main(String[] args){
    String filename = "fish.gif"; // an animated gif
    JFrame frame = new JFrame();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container con = frame.getContentPane();
    Image[] ia = new Image[5];
    for (int i = 0; i < ia.length; ++i){
    ImageIcon ic = new ImageIcon(filename);
    ia[i] = ic.getImage();
    AnimGifPanel agp = new AnimGifPanel(ia, 500, 400);
    con.add(agp, BorderLayout.CENTER);
    frame.pack();
    frame.setVisible(true);

  • Add animated gif to JFrame toolbar in place of default coffee cup

    Hi,
    I am sorry if someone has already asked this question. I have searched the forums but only found aswers relating to adding static images to replace the default coffee cup. Is it possible to replace this image with an animated gif? When I add an animated gif with the following code:
    URL imageUrl = myProgram.class.getResource("image.gif");
    ImageIcon icon = new ImageIcon(imageUrl);
    JFrame frame = new myProgramFrame();
    frame.setIconImage(icon.getImage());
    I am loading the image from an executable jar.
    The program fails to load (but produces no errors).
    Thank you for any help you can offer.

    Hmmm ... intrestin, I've just modified a *.gif file of my own to make the icon animated and 'java MyProgram' just hangs at the command line -so, I guess you're stuffed with it. I can't think of a workaround either, sorry

  • How can I make a transparent animated gif?

    I'm using CS2. I have an animated gif that I want to take the black background out of so that the animated part of it is all that remains.
    Here is a link to the image:
    http://img.photobucket.com/albums/v97/tragicmike/random/Tesseract.gif
    I basically want to remove all of the black background from the image so that the animated tesseract is all that remains. I know how to open the gif to expose the layers using ImaegeReady, then edit them in PhotoShop. But when I made the black areas of each layer transparent (by selecting the RGB channel, inverting the selection, and hitting delete), saved a copy, and tried viewing it, it seems to just display all of the transparent layers constantly instead of cycling through them.
    Can someone please help me figure out how to make an animated gif with a transparent background? If I lose some of the black areas of the animated part (since they seem to get deleted when I remove all of the black background) it's no big deal. I just need to know how to do this so that it plays correctly.
    Thank you!!!
    Mike

    &gt;
    <b>"I have to wonder why the black background was included on every frame of the moving shape."</b>
    <br />
    <br />Well, George...the only reason I can think of is because it's an animated GIF, and GIFs only support one layer.
    <br />
    <br />Whatever application it was created in should have been able to render it out with a transparent BG. But I suppose the creator had his/her reasons for going with the black BG.
    <br />
    <br />(Full disclosure: I ran across
    <s>that same</s> a similar animation back in December, and the version I grabbed only had the black showing through the inside of the tesseract. I opened it in ImageReady and
    <b>
    <i>added</i>
    </b> a black BG so the edges didn't look jaggedy.)
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1FgHXbj4UpXYtUVrbeah7sbqQXDR40" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1FgHXbj4UpXYtUVrbeah7sbqQXDR40_thumb.gif" border="0" />

  • Can a flex app play animated gif?

    I embedded a simple animated gif file in an image component
    but it was eventaually presented a static image only. The mxml code
    looks like
    <mx:Image id="image1" source="@Embed('running_horse.gif')"
    x="209" y="260"/>
    The gif file itself was working fine in its own right and but
    it stops animating when it is viewed within the swf generated. The
    final html presents the first frame of the gif file only. Any help
    on this appreciated.
    A novice flex user

    I believe the answer is no. At least, animated gifs do not
    work for me. I can't recall anything in the docs about this though.
    Tracy

  • Why don't apple add animated gifs support on their products

    It's so annoying that their products still don't support animated gifs it will be great if they added this feature. And it will be great if they add Bluetooth file share.

    Apple is not here. This is a user to user technical support forum. If you would like to share your thoughts with Apple, please do so here:
    Apple - Feedback
    Cheers,
    GB

  • Can't create hyperlink with animated gifs

    Hi,
    For some reason, animated gifs won't hyperlink - everything else does fine, why?
    Thx,
    Message was edited by: solarcoaster

    solarcoaster:
    Welcome to the Apple Discussions. Put a 1% opaque object over the gif and set the link to it. Make sure the object has no color file, no border or other features except 1% opacity. Make it slightly larger than the gif and bring it forward on top of it.

  • The buttons of my ipod are not working, that means that i cant enter because the scream is black, what can i do???? thanks, the buttons of my ipod are not working, that means that i cant enter because the scream is black, what can i do???? thanks

    the buttons of my ipod are not working, that means i cant use the ipod because the scream is black and i need press one of that buttons for use it, what can i do? thanks

    You will need to get it serviced.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • Add animated GIF support in chats (for computer users)

    Support!

    I know that there's a post for getting GIFs availalble in the mobile section but I wanted to add it to the laptop/desktop section.  I think that being able to add GIFs just like if they were regular images would be a tremendous improvement to the IM system. 

  • My iPod screen turned white, and I don't know what can I do, and I try pressing the start button and home button, but it didn't  work, anyone know What can I do?

    If you know, what's the problem plis help me!

    Try:
    iOS: Not responding or does not turn on
    If not successful and you can't turn the iPod fully off, let the battery fully drain. After charging for at least an hour, try the above again.
    - If still not successfully that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

Maybe you are looking for

  • How to display a table name in the report

    Hi, I have a requirment about the display of pivot table. When we drag a column to see its result, we always see his column name, now what I want to show are both table name and column name.. like: District_D Region District China Beijing India Chenn

  • Replication of BP and Sales order from CRM to R/3

    Hello everyone, I have a peculiar condition in my hands.The requirement is to replicate 10 business partners from crm to R/3 ,then the next 4 Business partners need not be replicated and then the next three replicated..How do we do this kind of repli

  • Accented characters do not display correctly if there is a variable beside it

    Hello, We are experiencing a problem when we have text with accented characters an a variable beside it within the same text box. The problem is that the accented characters in the text do not display correctly in the preview or publised course to Fl

  • Iphone 4 apps

    i cant get any of my apps to update on my ifone 4, they have updates but when you click on update all that happens is the app opens i have switch the phone on and back off and still apps will not update

  • Having trouble with facebook games " zuma blitz" lags, very slow.

    I am having problems with a Facebook game, "Zuma Blitz", the game loads faster, but lags or plays very slow. it freezes with every shot made.. impossible to play. It may be happening with others, but I play this game every day to pass time.