From f2a1553f5aaeb52d261a948bd18ac47924d38855 Mon Sep 17 00:00:00 2001 From: mdb Date: Wed, 19 Dec 2001 07:12:31 +0000 Subject: [PATCH] Modified comment to reflect reality. git-svn-id: https://samskivert.googlecode.com/svn/trunk@526 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../src/java/com/samskivert/swing/Label.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/projects/samskivert/src/java/com/samskivert/swing/Label.java b/projects/samskivert/src/java/com/samskivert/swing/Label.java index 54a3d65f..b01d81b1 100644 --- a/projects/samskivert/src/java/com/samskivert/swing/Label.java +++ b/projects/samskivert/src/java/com/samskivert/swing/Label.java @@ -1,5 +1,5 @@ // -// $Id: Label.java,v 1.1 2001/12/19 07:02:49 mdb Exp $ +// $Id: Label.java,v 1.2 2001/12/19 07:12:31 mdb Exp $ package com.samskivert.swing; @@ -70,12 +70,11 @@ public class Label } /** - * Sets the target width for this label. If possible text will be - * wrapped to fit into this width, but if an unwrappable run of text - * is encountered that is longer than the target width, it will not be - * forcibly broken. Calling this method will annul any previously - * established target height as we must have one degree of freedom in - * which to maneuver. + * Sets the target width for this label. Text will be wrapped to fit + * into this width, forcibly breaking words on character boundaries if + * a single word is too long to fit into the target width. Calling + * this method will annul any previously established target height as + * we must have one degree of freedom in which to maneuver. */ public void setTargetWidth (int targetWidth) {