• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JFormattedTextField and Extra Spaces

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. I am using a JFormattedTextField for the first time. I have used a series of asterisks to designate the number of characters that can be entered into the field. The problem is that there are that many spaces in the text field when users start typing into it. Thus, when they click in the text field to start typing, it places thier cursor in the middle of the field (i.e. wherever they clicked), instead of placing the cursor at the left most position in an empty text field like you would expect. Does anyone know of a fix for this or have any ideas on how I might address this issue. Thanks alot!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic