blackberry development environment

hi i am new in java and trying to build the code below on blackburry jde. but it gives "java:33: class or interface expected" error. do you have any idea about this?

/**

* HelloWorld.java

* Copyright (C) 2001-2004 Research In Motion Limited. All rights reserved.

*/

package com.rim.samples.docs.helloworld;

import net.rim.device.api.ui.*;

import net.rim.device.api.ui.component.*;

import net.rim.device.api.ui.container.*;

import net.rim.device.api.system.*;

public class HelloWorld extends UiApplication {

public static void main(String[] args) {

HelloWorld theApp = new HelloWorld();

theApp.enterEventDispatcher();

}

public HelloWorld() {

pushScreen(new HelloWorldScreen());

}

}

final class HelloWorldScreen extends MainScreen {

public HelloWorldScreen() {

super();

LabelField title = new LabelField("HelloWorld Sample", LabelField.ELLIPSIS

| LabelField.USE_ALL_WIDTH);

setTitle(title);

add(new RichTextField("Hello World!"));

}

public boolean onClose() {

Dialog.alert("Goodbye!");

System.exit(0);

return true;

}

}.

[1216 byte] By [iozturka] at [2007-11-27 8:51:35]
# 1
http://www.blackberry.com/knowledgecenterpublic/livelink.exe?func=ll&objId=800332&objAction=browse&sort=namei forgot this... http://today.java.net/pub/a/today/2006/01/24/introduction-to-blackberry-j2me.htmlMessage was edited by: supareno
suparenoa at 2007-7-12 21:05:04 > top of Java-index,Java Mobility Forums,Java ME Technologies...