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 45967 - Changed border color not shown in the designer
Summary: Changed border color not shown in the designer
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 07:59 UTC by Tomas Pavek
Modified: 2006-03-24 10:00 UTC (History)
0 users

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 Tomas Pavek 2004-07-09 07:59:49 UTC
If the color of a component border is changed, it
is not shown in the designer. Cloning the border
fails beacause of the exception:

Annotation: Cannot clone javax.swing.border.LineBorder
java.lang.ClassNotFoundException:
org.netbeans.beaninfo.editors.ColorEditor$SuperColor
 at
java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at
java.security.AccessController.doPrivileged(Native
Method)
 at
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at
java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at
java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at
org.netbeans.modules.form.FormUtils$OIS.resolveClass(FormUtils.java:1210)
 at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
 at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
 at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
 at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
 at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
 at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
 at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
[catch] at
org.netbeans.modules.form.FormUtils.cloneBeanInstance(FormUtils.java:455)
 at
org.netbeans.modules.form.FormUtils.cloneObject(FormUtils.java:431)
 at
org.netbeans.modules.form.VisualReplicator.updateComponentProperty(VisualReplicator.java:
442)
 at
org.netbeans.modules.form.FormDesigner$FormListener.performUpdates(FormDesigner.java:997)
 at
org.netbeans.modules.form.FormDesigner$FormListener.processEvents(FormDesigner.java:915)
 at
org.netbeans.modules.form.FormDesigner$FormListener.formChanged(FormDesigner.java:884)
 at
org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:816)
 ...
Comment 1 Jan Stola 2004-07-15 13:44:28 UTC
Fixed.
Comment 2 Marek Grummich 2005-07-11 16:01:14 UTC
verified