Article View: borland.public.jbuilder.java.language
Article #16868Wrapped Text
From: Gary Behan
Date: Mon, 11 Jan 1999 00:00
Date: Mon, 11 Jan 1999 00:00
15 lines
1133 bytes
1133 bytes
Is there any way to wrap text using the drawString method????? I have a varying width string being read from a file and written out in my applet but if the string is longer than the width of my applet then I am screwed.......I don't want to have to parse the string, surely there must be some way to do this???? Is there a multi line something or other? I know there is TextLayout in JDK1.2 but I'm stuck with 1.1.6 in JBuilder 2 for the moment. I am not using any of the AWT or Swing stuff.....just writing text in the update function. If anyone has any help or a code snippet.......thanks Gary
Technical Details
Message-ID:
<369a6418.415334859@news.futureone.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5e6ee0a2263c4e66,start X-Google-Attributes: gidf74b3,public From: gbehan@futureone.com (Gary Behan) Subject: Wrapped Text Date: 1999/01/11 Message-ID: <369a6418.415334859@news.futureone.com> X-Deja-AN: 431374159 X-Complaints-To: newsabuse@remarQ.com X-Trace: 916087850 ITA9OFKQF022BD1FAC usenet87.supernews.com Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! Newsgroups: borland.public.jbuilder.java.language