• Post Reply Bookmark Topic Watch Topic
  • New Topic

Graphics on pushbuttons on an AWT applet

Siegfried Heintze
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Que #1: OK, if I cannot put a menu on a AWT applet, how about adding some push buttons to a panel and on the push buttons put a graphic? I see Ivar Horton gives some nice examples of how to do this, but as usuall, he does it for swing.
Que #2: Can I implement the old car radio style push buttons to implement a mode? Normal push buttons pop back up when you release the mouse. How could I implement a push button that stays depressed until an other push button in that group is pressed?
Perhaps someone can point me to the documentation on how to do this? Or better yet, an example?
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!