Solved

popup a list of buttons of clicking JButton

Posted on 2010-11-13
3
400 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

756 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