This applet demonstrates several of the dog.gui components. Pressing button 2 brings up a popup menu.
The source for this applet can be found here.
dog.gui questions, etc