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: | Pre-init code from component inspector aligned to 1 line | ||
---|---|---|---|
Product: | platform | Reporter: | peterp <peterp> |
Component: | Explorer | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | mmirilovic, tpavek |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | a implemented patch |
Description
peterp
2002-04-15 16:46:26 UTC
-> form module Strange, it works with JDK 1.3.1, but not on JDK 1.4.0. But it looks like property sheet is the one who corrupts the String - removes line ends... Reassigning to openide/explorer for further investigation. -> akemr Please enter correct version of the product. Alesi, please evaluate this one ASAP, thanks. This is bug in JDK 1.4, JTextField http://developer.java.sun.com/developer/bugParade/bugs/4670767.html Þ typo in mail address Created attachment 5474 [details]
a implemented patch
workaround of jdkbug #4670767; JTextField filters the new lines if the property filterNewlines is TRUE which is TRUE as default, for now filterNewlines is set to null, the new lines are not removed. fixed in main trunk Maybe better solution from JDK team is : JTextField tf = new JTextField(); tf.getDocument().putProperty("filterNewlines", Boolean.FALSE); see appropriate issue in bugtraq. only a side effect, you can set file/package name more than one line long verified in [nb_dev](20020419) fixed in orion_fcs Verified in Orion too. Resolved for 3.4.x or earlier, no new info since then -> closing. |