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 59703 - The uniqueness of the event handler is checked after closing handlers dialog
Summary: The uniqueness of the event handler is checked after closing handlers dialog
Status: VERIFIED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-07 14:08 UTC by Jiri Prox
Modified: 2008-04-30 09:04 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 Jiri Prox 2005-06-07 14:08:03 UTC
NB 4.1 (200505031930)

The uniqueness of the event handler in the whole class (not only among the
handlers for actual event) is checked after closing the handlers dialog. If some
duplications are found the handler is deleted form the handlers-list.

Steps:

1) create form with some componet 
2) select this componet and switch to the events in the property list
3) click to the ... in the first event 
4) add handler1 and handler2 methods
5) close the dialog
-> the two methods are created, two handlers are listed in combobox of the
appropriate event

6) select the 2nd event from the list and click on ...
7) add handler2 
-> the name isn't unique but it isn't checked at this moment

8) click ok

-> the "handler is in use" warning is shown and the handler isn't added.
Comment 1 Petr Dvorak 2008-04-29 14:06:39 UTC
This issue is probably no more reproducible in NB6.1, I am closing it as WORKSFORME. Feel free to reopen the issue if
appropriate.
Comment 2 Jiri Prox 2008-04-30 09:04:16 UTC
v.