Skip to main content

Edit Source Code

4 replies [Last post]
david54
Offline
Joined: 2006-12-03
Points: 0

I am new to J2ME and I am still in the early stages of learning the different step's in the Sun Ktoolkit operation.
I just want to review the procedure for writing,compiling and running the program.

Sun Ktoolkit
1 Open Ktoolkit and click on New project.
2 Type in project name.(That is the same name I would use in Windows Notepad,where I wrote my code).
3 MIDlet Class.I would again type in the name of the project and add MIDlet next to it.Click on Create Project.
4 I would then close it.

Windows Notepad
1 The code I wrote in Notepad will then be Save As; name of projectMIDlet.java, in the SRC of my apps file.The name of the project would be the same as in the Sun Ktoolkit MIDlet class.

Sun Ktoolkit
1 I then would compile the program in the Ktoolkit by clicking on open project, select the name and then Build it.

Windows Notepad
1 In Notepad,I would write the following code;
public class name of projectMIDlet extends MIDlet implements CommandListener {.The name of the project would be in the apps\name\src\nameMIDlet.java.
2 If the Built is completed,then the next step is the Run operation.If the Built would fail,I would then go back into Notepad and correct the error and try again.

Did I miss anything in the above description?
Does the name of the project has to be the same in both the Sun Ktoolkit Project name and the MIDlet class,as well as,in the Windows Notepad Save as procedure?
Any suggestion's would be greatly appreciated.

Thank You,

David Brown

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04
Points: 0

Andrew,

Sorry for the noise. We will be instantiating a forum for application developers shortly where this sort of traffic will go. Please bear with us for a few more days.

Thanks,

-- Terrence

Terrence Barr
Evangelist, Java Mobile & Embedded Community
Sun Microsystems, Germany
www.mobileandembedded.org

terrencebarr
Offline
Joined: 2004-03-04
Points: 0

Hi David,

Please see the WTK tutorial links on the bottom of the Application Developer page:

https://meapplicationdevelopers.dev.java.net/

Thanks,

-- Terrence

Terrence Barr
Evangelist, Java Mobile & Embedded Community
Sun Microsystems, Germany
www.mobileandembedded.org

Andrew Girow

Hi Terrence,

Do we need your answers here in the kvm list?

You are anwsering questions that are not asked here
in the KVM-INTEREST list.

What is the point in this cross posting?
The increase of the entropy?

Thanks,
Andrew

--- meinterest@MOBILEANDEMBEDDED.ORG wrote:

> Hi David,
>
> Please see the WTK tutorial links on the bottom of
> the Application Developer page:
>
> https://meapplicationdevelopers.dev.java.net/
>
> Thanks,
>
> -- Terrence
>
> Terrence Barr
> Evangelist, Java Mobile & Embedded Community
> Sun Microsystems, Germany
> www.mobileandembedded.org
> [Message sent by forum member 'terrencebarr'
> (terrencebarr)]
>
>
http://forums.java.net/jive/thread.jspa?messageID=182185
>
>
===========================================================================
> To unsubscribe, send email to listserv@java.sun.com
> and include in the body
> of the message "signoff KVM-INTEREST". For general
> help, send email to
> listserv@java.sun.com and include in the body of the
> message "help".
>

____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Joe Bowbeer

On 12/4/06, Andrew Girow wrote:
> Hi Terrence,
>
> Do we need your answers here in the kvm list?
>

I do. I would have missed it otherwise. I was also unaware that
there was a meapplicationdevelopers thing on java.net.

kvm-interest traffic had almost fallen silent (right?) so I don't mind
a spike now -- even if some of it is redundant.

Consolidation would be better yet, of course; as it stands now, I'm
unsure how to respond to messages cross-posted to kvm-interest.

If there is a consolidated list, all I ask is that it be capable of
doing email and that it *not* force all correspondents to login at a
separate forum site in order to read and respond to its messages.

--Joe

On 12/4/06, Andrew Girow wrote:
> Hi Terrence,
>
> Do we need your answers here in the kvm list?
>
> You are anwsering questions that are not asked here
> in the KVM-INTEREST list.
>
> What is the point in this cross posting?
> The increase of the entropy?
>
> Thanks,
> Andrew
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".