Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to display ImageIcon In the middle of my Jlabel

843806May 17 2008 — edited May 17 2008
hi, as mentioned in my subject above, i would like to know how can i display my ImageIcon in the middle of my Jlabel, except using paintIcon()

is there any method similar with setLocationRelativeTo() that can apply in this case? thanks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2008
Added on May 17 2008
8 comments
1,232 views