Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 112566 Details for
Bug 247316
Error when launching midlet project with less than 3 chars
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Example MIDlet
HelloWorldMIDlet.java (text/x-java), 880 bytes, created by
Edwin Carlo Ribeiro Marinho
on 2008-09-15 13:20:03 EDT
(
hide
)
Description:
Example MIDlet
Filename:
MIME Type:
Creator:
Edwin Carlo Ribeiro Marinho
Created:
2008-09-15 13:20:03 EDT
Size:
880 bytes
patch
obsolete
>/* >* HelloWorldMIDlet.java >** >May, 2007 >** >© Copyright 2007 Motorola, Inc. All Rights Reserved. >* This notice does not imply publication. >*/ >import javax.microedition.lcdui.*; >import javax.microedition.midlet.*; > >/** >* A simple Hello World MIDlet >** >@see MIDlet >*/ > >public class HelloWorldMIDlet extends MIDlet { > >/** >* A reference to the Display >*/ > > Display display; > Form form; > public HelloWorldMIDlet() { > display = Display.getDisplay(this); > form = new Form("MIDlet"); >StringItem item = new StringItem("Hello World!", "This is a Java ME MIDlet"); > form.append(item); >} >/** >* Start the MIDlet >*/ > >public void startApp() { >display.setCurrent(form); >} > >/** >* Pause the MIDlet >*/ > >public void pauseApp() { >} > >/** >* Called by the framework before >* the application is unloaded >*/ > >public void destroyApp(boolean un) {} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 247316
: 112566