Parent Directory | Revision Log | Patch
revision 1.3 by abalkiss, Mon Oct 31 21:29:52 2005 UTC | revision 1.4 by abalkiss, Wed Nov 2 19:07:01 2005 UTC | |
---|---|---|
# | Line 226 public class WrappedPlainView extends Bo | Line 226 public class WrappedPlainView extends Bo |
226 | protected int calculateBreakPosition(int p0, int p1) | protected int calculateBreakPosition(int p0, int p1) |
227 | { | { |
228 | Container c = getContainer(); | Container c = getContainer(); |
229 | Rectangle alloc = c.getBounds(); | Rectangle alloc = c.isValid() ? c.getBounds() |
230 | : new Rectangle(c.getPreferredSize()); | |
231 | updateMetrics(); | updateMetrics(); |
232 | try | try |
233 | { | { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |