J2midp Currency Converter Tutorial for NetBeans

Source: Internet
Author: User

J2midp Currency Converter Tutorial for NetBeans IDE 4.0
Feedback http://www.netbeans.org/kb/articles/tutorial-currencyconverter-40.html
Feedback
The Currency Converter application you will build in this tutorial shows you how:
Start a j2midp project
Code a working j2midp application, or MIDlet, using the IDE
Create project deployments to test the application's performance on two different device emulators
The Currency Converter application converts amounts from one currency to two others. you can choose to display three different currencies: euros, yen, or dollars. you can also enter a value in one currency to be converted into the other selected currencies.
There are three Java source code files for the sample application:
ConverterMIDlet. java. The code for the MIDlet class.
Converter. java. a midp form that defines the main screen of the application as it appears on a mobile device.
Currencies Selector. java. a midp list that maintains the currencies and rates.
The first part of this tutorial will show you how to quickly install, run, and test the Currency Converter application, which is available as a sample project has been ded in the IDE. in the second part of the tutorial, you will create a new project and add code to create and test the application yourself.
This tutorial shocould take approximately an hour to complete.
Requirements
You must have NetBeans IDE 4.0 and the NetBeans Mobility Pack 4.0 installed before you can start j2midp development. See the j2midp Development Downloadpage for struinctions on downloading and installing the complete environment.
Installing and Testing the Sample Currency Converter Project
In this first section, you will see how quickly you can install and run a sample project on two different emulator devices.
Creating the Project Choose File> New Project. Under Categories, select Samples> Mobile. Under Projects, select Currency Converter. Click Next.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.