Solved

Add a button that displays a simple alert dialog message

Posted on 2007-03-17
3
474 Views
Last Modified: 2013-11-24
I have a simple midlet that creates and then display a list of file items. This code works well. I would like to add a button that displays a simple alert dialog message that can be dismissed by clicking a button on the dialog screen. Can anybody assist. Please give some sample code if possible.
0
Comment
Question by:phpamble
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 total points
ID: 18741225
There is sample code for creating such a dialog box here:

http://www.java-tips.org/java-me-tips/midp/creating-an-alert-dialog-box.html
0
 
LVL 1

Author Comment

by:phpamble
ID: 18741820
Thanks for the quick, great assistance!
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18741876
Glad to.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hibernate example using maven 12 59
eclipse buid path vs tomcat lib path 10 34
Android development question 2 55
how to debug htl and js pages 8 39
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
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 one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

821 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