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.
1. Create a custom Border class implementation, build its project and install to palette. E.g.: public class MyBorder extends javax.swing.border.LineBorder { public MyBorder() { super(java.awt.Color.BLACK); } } 2. Invoke border property editor on a component, choose TitledBorder or CompoundBorder and try to set some of their border property to the custom border. The border is constructed, shown, and code is generated, but the border is not saved into the .form file - the corresponding property is missing. After the form is reopened, the border is lost.
Fixed - added persistence support for custom sub-borders, including possibility to also have properties as beans (was not supported by code generator). http://hg.netbeans.org/jet-main/rev/ca1c8d910b13
*** Bug 219292 has been marked as a duplicate of this bug. ***