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

x
?
Solved

create a basic java menu for user input

Posted on 2013-01-24
2
Medium Priority
?
263 Views
Last Modified: 2013-02-03
I need to create a GUI pop up, which will present the user with 3 options.
Each selection will trigger an action.
The Pop up menu will stay up until the user hits an exit option.
Can someone show me the basic GUI Menu code and user input?
I can do the rest.
--------------------------------------------------
Action Menu:

Action 1
Action 2
Action 3

Exit.
------------------------------------------------
0
Comment
Question by:dpalyca755
[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
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 1500 total points
ID: 38818300
Well you could actually use JOptionPane.showOptionDialog. Else
http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38849136
:)
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

715 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