Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

popup a list of buttons of clicking JButton

Posted on 2010-11-13
3
Medium Priority
?
413 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 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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

705 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