Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> You can still use it. Just use Label instead of JLabel. YOu can change the color of the text in Label so that it may look different. I don't know how to underline a text in JDK v1.1 . You can also try to underline the text. Or, you can try it by dwawing a the text on a panel and th edraw a line of the same size as the text below it and write the same clicked event > > import java.net.* ; > > } Thanks Kishori, I just want to know why have you used add ( new Button ( "Does nothing" ) ) in the code. Also when I move the mouse I don't get the events for the label but instead I get them when I move the mouse in and out of the frame in which they are painted!! Why so Thanks a lot
Replies: |
Sponsored Links
|