Community
Participate
Working Groups
Drop a JButton onto a JPanel. Show Advanced properties in the propertys viewer. Select the 'dropTarget' property and from the Choose a Bean property editor, select the class DropTarget, select Okay to close the editor and generate the code. This generates the following statement: jButton.setDropTarget(getDropTarget()); Which is fine but it also generates the following private method: private DropTarget getDropTarget() { ... } This produces a compile error because it's override a public method from java.awt.Component. Not sure how many other advanced properties are like this in which a class that implements the type of the property is the same name as the property itself. This was a side affect of adding a bunch of previously "hidden" properties that couldn't be shown because we didn't have the Choose a Bean editor.