Home » Category » Java Essentials

Java Essentials: Z-value on imageicon/jlabel

300| Tue, 25 Sep 2007 03:12:00 GMT| hannesruns_hotmail_coma| Comments (3)
Hi wonder how to put a z-value on a imageicon or jlabel? (which to be on top, and second..etc)Thanks in advance!

Keywords & Tags: z-value, imageicon, jlabel, java, essentials

URL: http://java.itags.org/java-essentials/81074/
 
«« Prev - Next »» 3 helpful answers below.
Swing related questions should be posted in the Swing forum.Use a [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]Card Layout[/url] or a [url http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html]LayeredPane[/url].

camickra | Sat, 14 Jul 2007 21:03:00 GMT |

Not really, no. Components in a container are drawn in the order they are stored.

malcolmmca | Sat, 14 Jul 2007 21:03:00 GMT |

Ah, to bad =/I have to put the items in an array, and then remove/add the item again, so the item i want on top, gets on top. :)Thanks for the answer. Are you completely sure?

hannesruns_hotmail_coma | Sat, 14 Jul 2007 21:03:00 GMT |

Java Essentials Hot Answers

Java Essentials New questions

Java Essentials Related Categories