Article View: borland.public.jbuilder.java.swing
Article #7857Re: Monospaced and Higher Unicode Characters
From: James A. Schulz
Date: Fri, 01 Dec 2000 00:00
Date: Fri, 01 Dec 2000 00:00
26 lines
1906 bytes
1906 bytes
Rich, Thanks for you long note. I realize I have been working against the "Java way", but I don't have a choice. Let me explain what I am up to. My app is a kind of calculator. The user enters an expression in the jTextField and then, in a jTable positioned directly above the jTextField, and having its columns aligned with the characters of the field (one column per character), the app "parses" the expression. (The main task is to diagram the way in which the parentheses in the expression are "nested"). The original DOS version of this app was a "natural" on the old character screen. I have created a Delphi version which works too, but I want to move the app to the web, and, as you have seen, I am having a devil of the time. I don't really care much about the font so long as I can force the characters in my expression into a series of equal width "cells" and adjust the width of the app to accomodate 50 cells. I know how to draw a string like this using a character iterator, but I don't know how to get jTextField to draw like that. Any suggestions? thanks, James
Technical Details
Message-ID:
<90941u$b3e1@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<906d8v$cq63@bornews.inprise.com> <MPG.14912621d190d0f989d82@forums.borland.com> <9088jr$apb4@bornews.inprise.com> <uofyw444r.fsf@sds.no> <908hh3$o9l2@bornews.inprise.com> <3A27EA61.B6E7F02@formlessvoid.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e7b0355fee419750 X-Google-Attributes: gid111d45,public From: "James A. Schulz" <jaschulz@wiseware.com> Subject: Re: Monospaced and Higher Unicode Characters Date: 2000/12/01 Message-ID: <90941u$b3e1@bornews.inprise.com> X-Deja-AN: 700069697 References: <906d8v$cq63@bornews.inprise.com> <MPG.14912621d190d0f989d82@forums.borland.com> <9088jr$apb4@bornews.inprise.com> <uofyw444r.fsf@sds.no> <908hh3$o9l2@bornews.inprise.com> <3A27EA61.B6E7F02@formlessvoid.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Reply-To: "James A. Schulz" <jaschulz@wiseware.com> Newsgroups: borland.public.jbuilder.java.swing