Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / March 2005

Tip: Looking for answers? Try searching our database.

problem of text display in JTextField

Thread view: 
Praveen homkar - 11 Mar 2005 12:36 GMT
Hi all

i have 3 textfields in my frame and the strings which i am setting in them

are longer than their widths,  when the frame is made visible ,i am able to
see the rightmost part of the strings,but i want to dislay the string from
the left end.

i mean the string from first alphabet should be visisble when the frame
comes up.

Please help in this regard

praveen
sankar lingam - 11 Mar 2005 13:05 GMT
hello praveen, i think i didnt found any problem. just u can scroll over
the jtextfield. u will see the remaining text.
dont do like this
jTextfield = new JTextField();

just use like this

jTextField.setText("-----");

i think it will be fine


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.