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 50570 - j2me project - closing bracket not added when adding method
Summary: j2me project - closing bracket not added when adding method
Status: CLOSED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 16:38 UTC by Tomas Brandalik
Modified: 2006-10-23 16:41 UTC (History)
1 user (show)

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 Tomas Brandalik 2004-10-18 16:38:40 UTC
create Mobile project and open source file in editor
try to write new method void test() { and hit return
closing } is not added automaticaly.

works fine in j2se project
Comment 1 Miloslav Metelka 2004-10-19 13:24:22 UTC
Strange. The bracket completion should only depend on the actual
source content nothing else so it should work in the same way
regardless whether it's j2me or j2se. I'll look at this.
Comment 2 Lukas Hasik 2004-10-25 14:15:45 UTC
still happens in nb042410 and j2me 1025 :(
Comment 3 Dusan Balek 2004-10-26 13:43:02 UTC
Problem is in the j2me support that inherits from
org.netbeans.modules.editor.java.JavaKit overriding the InserBreakAction.

Reassigning to j2me for further evaluation.
Comment 4 Adam Sotona 2004-10-26 14:46:47 UTC
fixed
Comment 5 Lukas Hasik 2006-01-17 13:57:41 UTC
verifying all old issues