Article View: borland.public.jbuilder.java.swing
Article #8068Re: JTextFieldSize
From: James A. Schulz
Date: Wed, 22 Nov 2000 00:00
Date: Wed, 22 Nov 2000 00:00
34 lines
1799 bytes
1799 bytes
Joi, I am not sure I understand "count characters and not pixels". To set the width of a display element requires counting pixels, doesn't it? James "Joi Ellis [TeamB]" <joi@aravox.com> wrote in message news:8vfmej$d2h11@bornews.inprise.com... > James A. Schulz <jaschulz@wiseware.com> wrote: > > Rich, > > > Well, I don't know about the masochistic part, but this application would be > > a breeze to write on a DOS terminal. It would take too much time to explain > > why, but what I need is a grid of characters (55 x 25), in uniformly sized > > cells to which I can write, and a single line of identically sized cells > > into which the user can enter a string of 50 chars max. > > > Is this at all feasible or is it just non-Java? > > If you carefully select a fixed font like courier which is bundled with > Java 2, then you should be able to use it cross platform. As long as you > count characters and not pixels, you should be fine. > > > -- > Joi Ellis (TeamB) > No direct email, please. > For best results, post on news server newsgroups.borland.com!
Technical Details
Message-ID:
<8vgpnp$5dm2@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8vemot$qj46@bornews.inprise.com> <3A1B0339.BFF34050@formlessvoid.com> <8vfduj$d2e4@bornews.inprise.com> <8vfmej$d2h11@bornews.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,69aa350fde3e11dc X-Google-Attributes: gid111d45,public From: "James A. Schulz" <jaschulz@wiseware.com> Subject: Re: JTextFieldSize Date: 2000/11/22 Message-ID: <8vgpnp$5dm2@bornews.inprise.com> X-Deja-AN: 696688174 References: <8vemot$qj46@bornews.inprise.com> <3A1B0339.BFF34050@formlessvoid.com> <8vfduj$d2e4@bornews.inprise.com> <8vfmej$d2h11@bornews.inprise.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