Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

popup a list of buttons of clicking JButton

Posted on 2010-11-13
3
Medium Priority
?
417 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:hipal
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 34128167
Just add a load of buttons to a JPanel and add that to a JDialog
0
 

Author Comment

by:hipal
ID: 34128187
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 ?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34128198
Well a JMenu would be easier ;)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question