<Swing Dev> Adding a label on top of a button

Walter Laan WLaan at costengineering.eu
Wed Aug 1 09:45:27 UTC 2012


>  I want to add a label(D3) on right top corner of a button as below,Can anyone help please?

See http://docs.oracle.com/javase/tutorial/uiswing/misc/jlayer.html

Note that this mailing list is for development of the Swing library itself, not how to use Swing.

For the latter you could use (for example):
StackOverflow: http://stackoverflow.com/questions/tagged/swing
Oracle Swing forum: https://forums.oracle.com/forums/forum.jspa?forumID=950
You favourite search engine including keywords: java swing tutorial <subject>

HTH,
Walter




More information about the swing-dev mailing list