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


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

Re: Swing image class

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Swing image class
Date 2013-01-18 23:30 -0800
Organization Canadian Mind Products
Message-ID <4mikf8h7enquva3icl2d085grd5e04emt0@4ax.com> (permalink)
References <3a854a9f-1fb5-4001-ab84-7d6fd7987069@googlegroups.com>

Show all headers | View raw


On Fri, 18 Jan 2013 07:20:15 -0800 (PST), bob smith
<bob@coolfone.comze.com> wrote, quoted or indirectly quoted someone
who said :

>Is there really no built-in Swing class that just displays an image?
>
>This is very hard to believe, but it looks like it at first google.

Perhaps they considered it too simple.  Here is one

https://wush.net/svn/mindprod/com/mindprod/common11/ImageViewer.java

You can download the whole package at
http://mindprod.com/products1.html#COMMON11


You can use a JLabel/ImageIcon combo to get that effect in Swing.

see http://mindprod.com/jgloss/imageicon.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development 
time. 
~ Tom Cargill  Ninety-ninety Law 

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


Thread

Swing image class bob smith <bob@coolfone.comze.com> - 2013-01-18 07:20 -0800
  Re: Swing image class FredK <fred.l.kleinschmidt@gmail.com> - 2013-01-18 08:25 -0800
  Re: Swing image class "John B. Matthews" <nospam@nospam.invalid> - 2013-01-18 11:37 -0500
  Re: Swing image class Knute Johnson <nospam@knutejohnson.com> - 2013-01-18 09:05 -0800
  Re: Swing image class Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-01-18 10:55 -0800
  Re: Swing image class Arne Vajhøj <arne@vajhoej.dk> - 2013-01-18 18:40 -0500
  Re: Swing image class Roedy Green <see_website@mindprod.com.invalid> - 2013-01-18 23:30 -0800
    Re: Swing image class Lew <lewbloch@gmail.com> - 2013-01-19 00:48 -0800

csiph-web