> I am trying to put 2 lines of text on a JButton.
This is off-topic for the 2D forum, but I believe that you can insert
any HTML text into most any JComponent simply by wrapping your text with
<html>...</html>. This would give you the ability to not only have a
multi-line button (or menu, or popup, etc.), but to also control the
formatting a bit.
I believe that the SwingSet (and/or SwingSet2) demos in the latest 1.3
release demonstrate this feature. I don't know if the feature was
available in 1.2.2...
...jim
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".