Application and Images


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Application and Images

  1. #1
    Al Bowen Guest

    Application and Images


    I have a corporate logo in a *.gif. I want to display it on my form in a
    java Application not an Applet. Is there a simple way to do that?

    thanks al bowen


  2. #2
    Paul Clapham Guest

    Re: Application and Images

    Yes, you can use it in any component that takes an Icon as a parameter.
    Both GIF and JPEG can be used. Here's an example:

    frame.setIconImage(frame.getToolkit().getImage("Birdicon.jpeg"));

    Al Bowen <al_bowen@jdedwards.com> wrote in message
    news:3998c29c$1@news.devx.com...
    >
    > I have a corporate logo in a *.gif. I want to display it on my form in a
    > java Application not an Applet. Is there a simple way to do that?
    >
    > thanks al bowen
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center