[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swing?

Ottavio Campana wrote:

On Sun, Dec 24, 2000 at 04:57:55AM -0500, Matt Zimmerman wrote:

I've found in  the faq of the mailing  list a way to install  them , but
I'd like to  know if there's a deb  package with it or if  there are the
deb packages of a newer jdk 1.2 o 1.3

Sun's Swing is very non-free software, and as such, cannot be included in
Debian.  I believe it is not even redistributable outside of Sun.

is there a free implementation of swing?

i was hoping you would take a look at the source for ImageIcon and figure out how to do this yourself. But anyway... if you are adamantly opposed to using swing, you can use images in AWT via the Toolkit class. the getImage method in that class has prototypes:

public abstract Image getImage(String filename);
public abstract Image getImage(URL url);

you can get an Image object that way, but then you need to do something with the Image.


Reply to: