Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Graphics on pushbuttons on an AWT applet  RSS feed

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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!