This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
My applet buttons dont have the effect (look and feel) ,if i move the cursor and even if i click it.but it is working well.how to show the effect in my applet buttons whenever i click those.Is there any need to change applet buttons to swing buttons? or is there any possibilities to show effect in applet itself?pls help me .
My applet buttons dont have the effect (look and feel) ,if i move the cursor and even if i click it.but it is working well.how to show the effect in my applet buttons whenever i click those.Is there any need to change applet buttons to swing buttons? or is there any possibilities to show effect in applet itself?pls help me .
Originally posted by preethi Ayyappan: I am using awt.
AWT uses native peers. If you want the effects, you will have to migrate to swing. It is not that difficult as you think. For almost every AWT component you have a corresponding JComponent.
You might want to take a look at this nice article which talks about AWT->Swing migration and its pros and cons.
Best of luck.
preethi Ayyappan
Ranch Hand
Joined: Oct 04, 2007
Posts: 518
posted
0
Thank you maneesh.I had converted all my buttons to swing.now its fine.