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.
Summary: | Setting component border to null causes an Exception when switching L&F | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Steve Benigan <benigan> |
Component: | Code | Assignee: | Tomas Pavek <tpavek> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | L&F |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Steve Benigan
2002-05-03 00:09:38 UTC
The exception is caused by a bug in Border Editor, I'll fix it. The result of this bug is that the null border is not correctly restored - and not set. So how do you know it cuases problems with some look and feels? Anyway, form editor is a general tool working with beans. The fact that *some* property of *some* component when set to null (which is otherwise legal value) can cause problems on *some* configuration (becuase of some bug somwhere ;) is too specific - it is simply not a matter of form editor. Can you imagine how many different warnings we could display? We have just enough various hidden workarounds and hacks already now... Fixed reading null border. How do I know it causes problems with different l&f's? Well, I tried it. Putting in a warning under some circumstances would be important if it happens a lot. I suspect that not many people are using the form editor in the first place b/c it's too hard to use and has bugs. I'm trying to help you guys out by reporting what I have experienced since the days of Xelfi. Having to fix borders every time I tested in another L&F was very problematic. I'm not the only one who noticed this. Over the years, a few people have mentioned it. I think I'm the only person to report it. Verified |