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


Groups > comp.lang.java.programmer > #18868

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

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Code wanted: How to add image to a label so it goes into jar
Date 2012-09-20 19:20 -0400
Organization The Wasteland
Message-ID <nospam-A22D60.19205920092012@news.aioe.org> (permalink)
References <987a03f5-ebbc-4f68-9e4d-849617ffc4b3@googlegroups.com>

Show all headers | View raw


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>

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web