Link to home
Create AccountLog in
Avatar of hipal
hipalFlag for United States of America

asked on

popup a list of buttons of clicking JButton

I want a list of JButtons to popup on pressing a JButton.

Something like a menu ..

How can I do that ...?
(it is too much to ask but still if some one can give some code snippet .. that will be a good start for me :(  )

thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of hipal

ASKER

how about a JMenu ?

I can trying to lay them out in some fancy way (as in not just a list ..may me like buttons in a circle) can you please suggest something.. or is it impossible or very complicated to do ?
Well a JMenu would be easier ;)