Implement MouseListener and write the code for boldening text in
mouseEntered method and undone text in mouseExited method.

On Wed, Jun 23, 2010 at 4:54 PM, elvis sarfo <[email protected]> wrote:

>   hi folks,
> i have a JLabel gui and what i want to do is that when i place the mouse on
> the label, the text should be underlined and the font boldened and when i
> remove the mouse from it the text should be as it was before(that is not
> underlined and plain). I have been trying everything out but can't do it.
> Please can somebody help me out? Appreciate your attention
>
> --
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]<javaprogrammingwithpassion%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en




-- 
Thanks,
Pawan.

While one person hesitates because he feels inferior, another is busy making
mistakes and becoming superior.

Henry C. Link

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to