posted 23 years ago
In bill brodgen's book, it's said that adding menus to an application requires a class that implements the MenuContainer Interface. The classes in the java.awt package that implement MenuContainer are Component, Frame, Menu, and MenuBar, so practically anything on the screen can host a menu.
My question is how to add menu to a button?