Placing an image onto a panel.
When you place an image on a panel, and you use setLocation (100,100);, exactly where on this image is this location. On one of the corners?Thanks.
[161 byte] By [
Newtojavaa] at [2007-10-2 18:26:02]

From the [url= http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Component.html#setLocation(int,%20int)]API docs[/url] "The top-left corner of the new location is specified by the x and y parameters in the coordinate space of this component's parent."
Download the documentation if you haven't already. There's an "index" link at
the top which will take you to a method by name (like setLocation() if you
can't remember the calss).
There is also this: http://jdk.representqueens.com:9090/s/jdk/ that was
kindly posted a few days ago. (Maybe the author could index all the methods
for us... ;)