Article View: borland.public.jbuilder.java.swing
Article #11119Re: Textfield left justify
From: Mark Kent
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
46 lines
1992 bytes
1992 bytes
This is a multi-part message in MIME format. --------------68FB0F11D8F2543CB116F8C6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Yes, set the caret position to zero. That will work. Off the top of my head, I believe the method is: myJTextField.setCaretPosition( 0 ); Hakan UNLU wrote: > I am using setString() to put a value in a text input field. > The string is longer that the field can show and I see the end of the > string. > Is there a way to show the beginning of the string in the component as > default. > -- > Hakan UNLU > Hitit Computer Services > ------------------------------------------------------------- > Visit my virtual bookstore at > http://surf.to/hakan-books > ------------------------------------------------------------ --------------68FB0F11D8F2543CB116F8C6 Content-Type: text/x-vcard; charset=us-ascii; name="markk.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Mark Kent Content-Disposition: attachment; filename="markk.vcf" begin:vcard n:Kent;Mark tel;work:(401) 726-7937 x-mozilla-html:FALSE org:MHRI;Information Services adr:;;111 Brewster St.;Pawtucket;RI;02860;U.S.A. version:2.1 email;internet:markk@mhri.org note;quoted-printable:****************************=0D=0AHave a Disney Day=0D=0A**************************** x-mozilla-cpt:;-26464 fn:Mark Kent end:vcard --------------68FB0F11D8F2543CB116F8C6--
Technical Details
Message-ID:
<378500B4.D7B94DFA@mhri.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7lpg0t$9b73@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,bf4dfc907807035 X-Google-Attributes: gid111d45,public From: Mark Kent <markk@mhri.org> Subject: Re: Textfield left justify Date: 1999/07/08 Message-ID: <378500B4.D7B94DFA@mhri.org> X-Deja-AN: 498804165 References: <7lpg0t$9b73@forums.borland.com> X-Accept-Language: en Content-Type: multipart/mixed; boundary="------------68FB0F11D8F2543CB116F8C6" Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing