I want to create a Toolbar in my application. If you click a button on that toolbar, it will pop up a menu, just like in Eclipse\'s toolbar. I don\'t know how to do this in
I think it's the same as in AWT.
You should put an ActionCommand on that button and when it's executed show the pop-up menu according to the mouse coordinates.