Code wanted: How to add image to a label so it goes into jar

Discussion in 'Java' started by clusardi2k@aol.com, Sep 20, 2012.

  1. Guest

    How can I add an image to a label, so that it gets into the associated jar at build time.

    Thank you,
     
    , Sep 20, 2012
    #1
    1. Advertising

  2. In article <>,
    wrote:

    > How can I add an image to a label, so that it gets into the
    > associated jar at build time.


    The tutorial _How to Use Icons_ is a good introduction:

    <http://docs.oracle.com/javase/tutorial/uiswing/components/icon.html>

    There is a complete example here:

    <https://sites.google.com/site/drjohnbmatthews/googleolympiad>

    --
    John B. Matthews
    trashgod at gmail dot com
    <http://sites.google.com/site/drjohnbmatthews>
     
    John B. Matthews, Sep 21, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harvey
    Replies:
    0
    Views:
    720
    Harvey
    Jul 16, 2004
  2. Harvey
    Replies:
    1
    Views:
    856
    Daniel
    Jul 16, 2004
  3. Arnold Peters
    Replies:
    0
    Views:
    587
    Arnold Peters
    Jan 5, 2005
  4. muttley
    Replies:
    0
    Views:
    2,731
    muttley
    Oct 20, 2005
  5. Knut Krueger
    Replies:
    8
    Views:
    280
    Knut Krueger
    Aug 20, 2013
Loading...

Share This Page