> I'm programming a image browser using swing and I'd like
> to know your opinion about which is the best component to build
> a thumbnail view of the files (like when you click "thumbnail
> view" in the windows explorer). A JTable maybe ?
yes JTable is ok. You need to write your own TableCellRenderer.
____________
http://reader.imagero.com the best java image reader.
> I'm programming a image browser using swing and I'd like
> to know your opinion about which is the best component to build
> a thumbnail view of the files (like when you click "thumbnail
> view" in the windows explorer).
I'd use a JButton with borderPainted = false and the thumbnail as the
icon.
ak - 28 Dec 2003 11:00 GMT
> > I'm programming a image browser using swing and I'd like
> > to know your opinion about which is the best component to build
[quoted text clipped - 3 lines]
> I'd use a JButton with borderPainted = false and the thumbnail as the
> icon.
this is ok, if you have not much images in directory, otherwise you have to
create many many many JButtons, JTable uses only one renderer instead.
____________
http://reader.imagero.com the best java image reader.