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 91710 - Wrong source generation for Mobile Application wizard in case of different IDE indentation settings
Summary: Wrong source generation for Mobile Application wizard in case of different ID...
Status: VERIFIED DUPLICATE of bug 72182
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@mobility
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 06:54 UTC by nart
Modified: 2007-02-16 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nart 2007-01-03 06:54:25 UTC
Running JDK 6:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Netbeans 5.5 on Windows XP SP2

To reproduce this bug, please follow the following steps:
1-Install a fresh copy of Netbeans 5.5
2-Start Netbeans,  Goto: Tools -> Options -> Editor -> Indentation Tab, CHECK 
the 'Add New Line Before Brace' option.
3-Close Netbeans, install Mobility Pack 5.5.
4-Start Netbeans, create new project, select Mobile Category, select Mobile 
Application wizard. Accpet all default and finish.
5-Open the Source tab of the newly created HelloMidlet.java, the generated 
source code doesnt compile! Missing braces and apparently related to the 
protected blocks of code.
6-To fix it, goto Options again, and uncheck the 'Add New Line Before Brace', 
recreate another Mobile Application, check the Source of the newly created 
MIDlet and all is fine and compilable.
Comment 1 Lukas Hasik 2007-01-03 09:52:27 UTC
this issue is fixed in 6.0 daily builds

thank you for the report

*** This issue has been marked as a duplicate of 72182 ***
Comment 2 Lukas Hasik 2007-02-16 09:34:44 UTC
v