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 18042 - Bugs in adding new field (new method) to source editor
Summary: Bugs in adding new field (new method) to source editor
Status: CLOSED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-23 14:34 UTC by pfelenda
Modified: 2007-09-26 09:14 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 pfelenda 2001-11-23 14:34:06 UTC
[200107230100]

In explorer click with mouse to some class and expand tree. When you see
tree nodes Fields, Constructors, Methods and Bean Patterns show popup menu on 
Fields node. Than choose "Add Field" from popup menu.
Here are three types of behavior by adding bad identifier :
 a) 1x error dialog is displayed
 b) 2x error dialog is displayed and 
   in source editor is default field created ! 
 c) 3x error dialog is displayed
   There should be the information dialog instead of error message. 

Detailed descriptions :
 a) When I typed char '*' to text field named "Name" and click "with mouse" 
    to button "Ok", was error massage displayed.
 b) When I selected text with mouse in text field named "Name" and type
   "Delete" from kyeboard. Than I typed char '*'.When I push down "Enter"
    key were 2 error messages displayed
 c) when I deleted text with "backspace" key, typed char '*' and push down
   "Enter" key, than where 3 error message displayed 

   The same bahavior is with Method node in explorer.
Comment 1 Svata Dedic 2001-11-23 15:04:12 UTC
Petr, I think you've filed a similar issue before (bad behaviour 
when adding a new field). If you find that other one, please mark 
this issue as a duplicate.
Anyway, the issue is *not* going to be fixed, the dialogs will be 
rewritten to have ok/cancel/apply buttons and we then can escape the 
focus listening hell (which introduced all the bugs you describe).


Comment 2 pfelenda 2002-10-14 15:07:28 UTC
It is not reproducible.
Verified in dev 200210140100
Comment 3 Quality Engineering 2003-07-01 13:19:26 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2007-09-20 10:42:54 UTC
Reorganization of java component