CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Location
    Los Angeles CA
    Posts
    33

    Icon on Frame HELP !!

    I want to display company icon on frames I run in a java applet....i use the following code but the javacup disappears but my image doesnt either show up..please help

    Toolkit toolkit = Toolkit.getDefaultToolkit();
    Image image = toolkit.getImage("Image.bmp");
    frame.setIconImage(image);
    frame.pack();
    frame.setVisible(true);


  2. #2
    Join Date
    Sep 1999
    Location
    Sofia, Bulgaria
    Posts
    48

    Re: Icon on Frame HELP !!

    Forget da BMP format, convert it to GIF!


  3. #3
    Join Date
    Sep 1999
    Location
    Los Angeles CA
    Posts
    33

    Re: Icon on Frame HELP !!

    thanks buddy ..it worked...i think even bmp works ..in my case it didnt work cos it was of large size...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured