Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18863 > unrolled thread

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

Started byclusardi2k@aol.com
First post2012-09-20 09:34 -0700
Last post2012-09-20 19:20 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Code wanted: How to add image to a label so it goes into jar clusardi2k@aol.com - 2012-09-20 09:34 -0700
    Re: Code wanted: How to add image to a label so it goes into jar "John B. Matthews" <nospam@nospam.invalid> - 2012-09-20 19:20 -0400

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

Fromclusardi2k@aol.com
Date2012-09-20 09:34 -0700
SubjectCode wanted: How to add image to a label so it goes into jar
Message-ID<987a03f5-ebbc-4f68-9e4d-849617ffc4b3@googlegroups.com>
How can I add an image to a label, so that it gets into the associated jar at build time.

Thank you,

[toc] | [next] | [standalone]


#18868

From"John B. Matthews" <nospam@nospam.invalid>
Date2012-09-20 19:20 -0400
Message-ID<nospam-A22D60.19205920092012@news.aioe.org>
In reply to#18863
In article <987a03f5-ebbc-4f68-9e4d-849617ffc4b3@googlegroups.com>,
 clusardi2k@aol.com 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>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web