Results 1 to 2 of 2
  1. #1
    mike_ledis is offline Member
    Join Date
    Mar 2010
    Posts
    24
    Rep Power
    0

    Default Display image via label

    Hello! I would like to create an applet that displaya an image via a label...Does anyone knows how i can implement that?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    First off, I would go with a JApplet -- a Swing applet -- not Applet.

    Read the API for JLabel and follow the link to the Swing tutorial on How to Use Labels.

    db

Similar Threads

  1. Display Image (png)
    By vimalaranjan in forum Java Gaming
    Replies: 2
    Last Post: 05-04-2011, 01:23 AM
  2. to display image
    By asmitarnd in forum AWT / Swing
    Replies: 6
    Last Post: 04-07-2011, 12:17 PM
  3. Display string as label
    By cool in forum AWT / Swing
    Replies: 1
    Last Post: 11-17-2010, 01:45 PM
  4. Creating a label with an image
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-11-2008, 05:40 PM
  5. Label image Question
    By Soda in forum New To Java
    Replies: 3
    Last Post: 12-10-2007, 04:38 PM

Posting Permissions

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