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.
[nb_dev](20020308), [jdk1.4.1](04) Steps to reproduce: - create bean based on JMenu - add JMenuBar (is added to OtherComponents) - copy JMenu and try topaset into jMenuBar1 -> IllegalArgumentException(attachment) arise Yes, you are right this isn't implicit behaviour, but I would only get point to creating JMenu2 in the variables declaration after failing copy, it should be removed after failing.
Created attachment 4999 [details] IllegalArgumentException
Fixed - I've disabled copying in the described case. The reason why it is not possible is tracked in issue 14785.
verified in [nb_dev](20020610)
Resolved for 3.3.x or earlier, no new info since then -> closing.