How to view gif files...

Hi
I have launched swing application in webstart.
I have used some gif file in my application.
While creating Jar file I have added all the gif files also.
But I couln't view that gif files while running the application
on the webstart.
Thanks in advance.Kindly help me to solve this problem
regards,
selva.

Hi!
The following code is my swing application.While running in
konsole I am able to view the gif file on the Button But,while
running on java webstart I couldn't view that.
I have added that gif file in the Jar ARchive.
import java.awt.*;
import javax.swing.*;
class hi extends JFrame
hi()
JButton jb=new JButton("Hello");
jb.setIcon(new ImageIcon("Ergo.gif"));
this.getContentPane().add(jb);
this.setSize(200,200);
this.setVisible(true);
public static void main(String args[])
new hi();
thanks
regards,
selva.

Similar Messages

  • How do I view .gif files?

    I used to be able to view .gif files just fine on my ipad 3, but now whenever I try to view one, it asks me which program I want to open the file with (Evernote, Dropbox, or GroupMe). Anyone know how to fix this? They used to just automatically load in safari. I'd like to get this functionality back. Any help is appreciated. Thanks.

    Right but safari used to open them automatically. What could have changed that safari doesnt automatically open them anymore? this is actually annoying while i am surfing the web. for instance, i just tried to pay one of my bills at a site i always used to be able to access from my ipad. one of the elements of the website has a gif file, and so i am unable to pay bills there anymore because the gif doesnt Auto load like it used to in safari.
    is there a setting that could be causing this?

  • How do you view .gif files??

    ok, there is probably some very simple solution to this, but i need help on viewing .gif files on mac because Preview will not show them. i heard quicktime works, but i am trying to add text to the gif. help?

    Pandapanda96 wrote:
    ok, there is probably some very simple solution to this, but i need help on viewing .gif files on mac because Preview will not show them. i heard quicktime works, but i am trying to add text to the gif. help?
    It does!  Why not try it after you add your text?

  • How do i view gif files on my computer?

    Not sure how to see gif files stored on my mac?

    Just drag the gif onto the safari or firefox icon on your dock.
    To change the default app for animated GIFs, click the GIF file icon and press Command-I. Under Open With, select your favorite browser from the drop-down menu and then click the Change All button. Then you can double-click the file to see

  • How to see .gif files in iOS with animations ?

    how can i view .gif files on iphone with animations

    Welcome to Apple Support Communities
    You can't see by default hidden files through Finder. However, you can do it with a command that you can copy in Terminal (in /Applications/Utilities). Open this application and type:
    defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder
    After doing it, you will be able to see hidden files through Finder in all the volumes connected to the MacBook Pro

  • How to view pdf file in java/jsp?

    Hello Everybody,
    Any one help me how to view pdf file in jsp using java application.
    I have pdf file c:\app.pdf.
    How can i display the pdf file.
    Please help me.................
    Thanks

    Hello,
    You can use the below code, but i am not sure how far is this a startard way of doing it.
    # <%
    # ServletOutputStream servletOutputStream = response.getOutputStream();
    # File reportFile = new File("C:\\Tomcat 5.0\\webapps\\TestApp\\myfile.pdf");
    # FileInputStream fis = new FileInputStream(reportFile);
    # byte[] bytes= new byte[128000];
    # int count=fis.read(bytes);
    # try
    # response.setContentType("application/pdf");
    # response.setContentLength(bytes.length);
    # servletOutputStream.write(bytes, 0, bytes.length);
    # servletOutputStream.flush();
    # servletOutputStream.close();
    # }catch(Exception e){}

  • HOW TO VIEW HIDDEN FILES?????

    i have searched for days on my computer for some hint a program or option that allows me to view any hidden files in an application folder, but it has yet eluded me.
    I am having trouble with a program of mine, and the tech service there told me to send them the programs log file, which they named. i looked in the applications folder, and the only files i saw was the program icon, and the uninstall folder, which contained the uninstall icon. i told them this, and they replied:
    "i'am sure that these files are on your computer. Maybe they are invisible.
    Please search (automatic) the folder ".********" ."
    if anyone knows, eitehr what this means, or how to view hidden files, please let me know
    Thanx

    To see inside an application package select the application then CTRL- or RIGHT-click and select Show package contents from the contextual menu. You can navigate through the application package's content. It's unlikely you will find anything useful there.
    To see invisible files open the Terminal application in your Utilities folder and at the command line prompt enter or paste the following command then press RETURN:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    To turn off the display of invisible files substitute FALSE for TRUE in the same command line.
    Invisible files are invisible for a reason - to hide them from the prying eyes of novice users and ignorant tech support people. Perhaps it would be more helpful if you could detail the problem you are having.

  • How to View/manage Files on Internal Storage?

    Does anyone know how to view/manage files on the Droid Mini? I did find a list of 'Misc. Files' in 'Settings' under 'Storage'. But it only gives the option to delete. My old phone had a 'Files' app (that came on the phone) where I could view/manage all files. I'm sure I could just plug into my laptop, but I would like to have file access on my phone. Is that even possible? Is there a *good* App I could upload perhaps? Any suggestions?
    Thanks =)

    The Play Store. Search for "File Explorer". Select one from the several found.

  • How to view  .mov files on a pc?

    how to view  .mov files on a pc?

    Thank you for your prompt responses. Thought this was the correct answer. Didn't want to pass on incorrect information.
    Thanks

  • How to view .shtml files locally? I have added "Open in Browser" but still not able to see the local .shtml file.

    I have added Open in browser add ons in Firefox browser, but still not able to see the .shtml files on local machine.
    Can any one please tell me how to view .shtml files in Firefox?

    SHTML files are regular HTML files that make use of Server-Side Includes. In some server configurations, the special file extension is required to instruct the server to parse the file for SSI code.
    If Firefox doesn't recognize the file type, it is likely the MIME type is incorrect.
    Try this Addons
    *https://addons.mozilla.org/en-US/firefox/addon/open-in-browser/

  • How to view pst file without Microsoft Outlook?

    How to view pst file without Microsoft Outlook? Please suggest viewer for content of corrupted PST files.

    Hi,
    If the .pst file is corrupted, I suggest you run Scanpst.exe to repair it:
    http://support.microsoft.com/kb/272227
    If you need to view .pst file without Outlook, we may use some 3rd-party tools, there are a lot on Internet.
    Regards,
    Melon Chen
    TechNet Community Support

  • Kindly help me how to view html file in swing using jbutton

    hello..im a begginer at j2se language and im working on my school project..kindly help me how to view html files by clicking button at javax.swing..thanks

    Here you go:public class HTMLViewer implements Runnable, ActionListener
         public void run() {
              JFrame frame = new JFrame("View HTML");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JButton button = new JButton("Click me!");
              button.addActionListener(this);
              Container cp = frame.getContentPane();
              cp.add(button, BorderLayout.CENTER);
              frame.pack();
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
         public void actionPerformed(ActionEvent e) {
              if (Desktop.isDesktopSupported()) {
                   Desktop d = Desktop.getDesktop();
                   try {
                        d.browse(new URI("www.google.com"));
                   } catch (IOException ex) {
                        ex.printStackTrace();
                   } catch (URISyntaxException ex) {
                        ex.printStackTrace();
         public static void main(String[] args) {
              EventQueue.invokeLater(new HTMLViewer());
    }If that's not what you're looking for you need to ask more specific questions.

  • Can someone give me step by step directions on how to view temporary files on an ipad2?  Thank you.  Carla

    Can someone please give me step by step directions on how to view temporary files on an iPad 2.. Thank you

    What temporary files are you talking about?

  • How to view .vmsg file format of backed up SMS dat...

    Hello Champs,
    How to view .vmsg file, which is backup of SMS from Transfer my data.
    I want to view in any PC.
    Regards, Siraj.

    Hi, siraj720. You can open the .vmsg file using a text editor app on your PC. You may click here for more info. The link is intended for the US, but it's still applicable regardless of the location. 

  • How to view cc files on a computer that only has photoshop cs6

    I have the new version of photoshop on my computer that only allows me to save files as: photoshop cc.  However, I would like to transfer these files to view on a computer, which is at school, that only allows me to view files from photoshop cs6 or older (cs4, etc.).  I would like to work on projects on my personal computer at home and finish them on the computer at school.  So, how can see my files that are in creative cloud on a computer that only has photoshop cs6?

    Need a little more information.  Never heard of a Photoshop cc file, maybe I'm missing something.  When you save a file the first time there is a drop down menu allowing you to save the photo as a number of different file extensions, i.e.. PSD, tiff, jpeg.  There is no photoshop cc.  File uploaded to your folder on the cloud retain their extensions.

Maybe you are looking for

  • APXSUIMP module: Supplier Open Interface Import  ERROR

    Hi All, I am loading our historical data po_vendors from old EBS 11.0.3 to the new EBS 11i. I inserted the data first in AP_SUPPLIERS_INT table. Then I run the program APXSUIMP. But I got the ff. error > Payables: Version : 11.5.0 - Development Copyr

  • How to Validate Newly Added Fields for ME22n and ME23n

    Hi Experts, I have added 2 fields at the item level of PO Change and display(ME22n and ME23n). I used the BADIs ME_GUI_PO_CUST and ME_PROCESS_PO_CUST and got that displayed. I got a new tab at Item level and my fields are displayed there. My problem

  • Smtp bounced messages

    Hi all, i have R12 configure with Workflow mail with smtp server. 1 . how can i make sure that all my messages are delived 2. where do i check my bounced messages. 3. do i need to have imap server configure to receive my bounced messages. fast respon

  • Can't see my GUI on applet

    When I run my applet, "an applet started" message appears on the status bar, how ever my GUI does not appear and therefore I can not test if my program works. Could someone indicate to me what I'm doing wrong? Why i'm I coming across this error? impo

  • Help with macro to transpose data

    I am in need of a macro to transpose rows into columns. I have been trying to figure it out with no success. My data is in the format 1 A B C x y z 2 D E F p q r 3 G H I m n o and i need it to repeat the first few columns of each row but transpose th