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.
Steps to reproduce: 1) Open the attached EJB Module Project (EJB Module) in Project explorer 2) In the source packages node open the "NewSessionBean.java" java bean 3) Open the "NewSessionBean.java" on the the editor and right click and select "Insert Code" action 4) From "Insert Code" action pop-up select "Add Business Method" 5) The "Add Business Method" dialog pops up and enter a name and give a return type to the method and Add parameters or exceptions if required or omit. 6) On the bottom of the "Add Business Method" dialog their is an option named "Use in Interface" with three options namely "Local","Remote" and "Both" but here all the three options(radio buttons) are disabled and so cannot add the new method to an interface as well as due to that the "ok" button is also disabled.But the UI displays a error label with "At least one interface must be selected" The "Use in Interface" with three options gets disabled when you create a new bean with one interface such as the attached project. But if you create another bean including both types of interfaces this problem doesn't occur. Dev Build 200808170243 JDK 6 Update 10 Glassfish V2 Server
Created attachment 67675 [details] 144232 Screen shot
Created attachment 67676 [details] EJB Module Project of 144232
Fixed with issue 145752. *** This issue has been marked as a duplicate of 145752 ***
Tested within the following environment and works properly Dev Build 200809101401 JDK 6 Update 10 Windows XP