[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Patch for WrappedPlainView
From: |
Anthony Balkissoon |
Subject: |
[cp-patches] FYI: Patch for WrappedPlainView |
Date: |
Wed, 02 Nov 2005 14:11:02 -0500 |
Committed this to fix a problem Lillian found. If a component is not
valid then getBounds could not be trusted when calculating the
preferredSpan.
I realise now that this patch may not be the proper way to implement the
solution, the solution should probably be from calls to
preferenceChanged, I'll look into this immediately.
2005-11-02 Anthony Balkissoon <address@hidden>
* javax/swing/text/WrappedPlainView.java:
(calculateBreakPosition): If the component is not valid use it's
preferredSize instead of getBounds().
--Tony
WPVCalculateBreakPositionFix.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Patch for WrappedPlainView,
Anthony Balkissoon <=