Hello everyone,
I hate to interrupt this
thread with a modifying question, but out of curiosity, coming from VB, I'm used to binding an image to a picture/image control then adding it to a form (jframe/window) - so, binding an image to a label control i.e. class, seems quite odd. Is there a way to setup an image and add it to a panel directly? - I tried and there is no contructor for an image/imageicon class. It's seems the best way to do this, if not, would be to extend image and make a pseudo class "image control" using canvas/imagecanvas? Is it possible to extend a JPanel and set up a constructor for a class such as ImageIcon? The API from sun is less than helpful on details...as well as on most other class/instance methods - it's as if your expected to know exactly what they mean when they provide a terse explantion of instance/class functionality - a small gripe, but nonetheless it would make development exceedingly easier for newcomers if examples, and a better descriptor was added per class/method (aside from the obvious stuff like ".setBounds(),.setSize(), etc...")
Thanks! It's great to be here and that there is a friendly community for Java related development to turn to. Hopefully, within a year, I'll be able to contribute to helping others as well in a more knowledgeable way.
--Alex
[ May 28, 2004: Message edited by: shana turs ]
Save lives, forests, animals, children and breasts with a simple click...visit <a href="http://www.thehungersite.com" target="_blank" rel="nofollow">www.thehungersite.com</a>