This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 91261 - Unable to set execution Mode to Xlet on new CDC project
Summary: Unable to set execution Mode to Xlet on new CDC project
Status: RESOLVED DUPLICATE of bug 90019
Alias: None
Product: javame
Classification: Unclassified
Component: CDC pack (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: luky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 09:00 UTC by limor_bergman
Modified: 2006-12-21 12:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Browse Main Classes Dialog (21.91 KB, image/jpeg)
2006-12-19 09:02 UTC, limor_bergman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description limor_bergman 2006-12-19 09:00:05 UTC
When creating a new CDC project, there is no option to set the execution mode to
Xlet.
Once the project is created, on the project properties, there is no option to
change the execution mode to Xlet (the default is main), therefore there is no
way to set the main class other than manually editing the project.properties
file and modifying the following attributes:
main.class=<the class name>
main.class.applet=false
main.class.xlet=true
Comment 1 limor_bergman 2006-12-19 09:02:47 UTC
Created attachment 36789 [details]
Browse Main Classes Dialog
Comment 2 luky 2006-12-19 11:01:59 UTC
limor, what emulator are you using? For example nokia doesn't support xlet 
execution.
If you create a project with CDC Toolkit as a platform and let the main class 
to be generated, you can add a xlet by right click on Project -> Source 
Packages -> Nex -> Xlet
When you go now to Project -> Properties -> Run -> Main class Browse you 
should see both main class and xlet you just created
Comment 3 limor_bergman 2006-12-19 11:31:43 UTC
I am using the CDC toolkit.
There is no option Project -> Source Packages -> Nex -> Xlet
Comment 4 luky 2006-12-19 11:54:42 UTC
Sorry for typo, should be
Project -> Source Packages -> New -> Xlet

What build are you using?
Comment 5 limor_bergman 2006-12-19 12:09:23 UTC
Version 5.5, I downloaded it from the NetBeans site.
Comment 6 luky 2006-12-19 14:56:31 UTC
Sure, but what build of CDC pack? RC1 or some older one?
Can you send me the project, where do you have this problem?

           Cheers
Comment 7 limor_bergman 2006-12-20 09:06:12 UTC
Build 200610171010
Comment 8 limor_bergman 2006-12-20 09:15:23 UTC
NetBeans Mobility Pack 5.5 for CDC Beta 2
(Windows/English (en))
netbeans_cdc-5_5-beta2-win.exe (7.2 MB)
MD5: 9647bc999b081147a8325ee8d6a63fa1 
Comment 9 luky 2006-12-20 09:42:56 UTC
I see, it's fixed by now. Please download new version of CDC Pack. There 
should be already RC1 version available.
Comment 10 Lukas Hasik 2006-12-21 12:37:50 UTC
wrong resolution - it was valid issue
Comment 11 Lukas Hasik 2006-12-21 12:45:59 UTC
thank you for report

*** This issue has been marked as a duplicate of 90019 ***