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 14916 - Opening properties file cause exception
Summary: Opening properties file cause exception
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-29 14:48 UTC by Adam Sotona
Modified: 2003-07-01 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
property file (3.41 KB, text/plain)
2001-08-29 14:50 UTC, Adam Sotona
Details
exception (5.12 KB, text/plain)
2001-08-29 14:52 UTC, Adam Sotona
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Sotona 2001-08-29 14:48:34 UTC
when opening attached property file, java.lang.ClassCastException: 
org.netbeans.modules.properties.BundleEditPanel$TableViewRenderer is thrown.
Property editor is not properly displayed.
Comment 1 Adam Sotona 2001-08-29 14:50:25 UTC
Created attachment 2338 [details]
property file
Comment 2 Adam Sotona 2001-08-29 14:52:14 UTC
Created attachment 2339 [details]
exception
Comment 3 Peter Zavadsky 2001-08-29 16:34:07 UTC
Fixed in [main-trunk]. Next build available.

Note: The problem is <html> tag at the start of key or label.
Rendering such value in table via 'JLabel-based' renderer makes problems.

Fix: It's ugly hacked adding a space before such value.

Will fire a bug against JDK, there is no way to set text for JLabel to
be exactly <html>... .
Comment 4 Adam Sotona 2001-09-05 09:15:01 UTC
verified
Comment 5 Quality Engineering 2003-07-01 14:20:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.