[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: FieldView fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: FieldView fix |
Date: |
Thu, 27 Oct 2005 15:09:45 +0000 |
Here comes a little fix for FieldView that lets getPreferredSpan() call
the superclass for the Y_AXIS. This and my previous commit enables
compatibility with JDK that lets you do a little hack to display
multiline text in JTextField: first you must call
putProperty("filterNewlines", Boolean.FALSE) on the textfield's
document, then you can setText("Hello\nWorld") to display multilined
text in a JTextField.
2005-10-27 Roman Kennke <address@hidden>
* javax/swing/text/FieldView.java
(getPreferredSpan): For the Y_AXIS call the superclass behaviour
as
described in the Swing book by OReilly.
/Roman
FieldView.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: FieldView fix,
Roman Kennke <=