The Artima Developer Community
Sponsored Link

Java Answers Forum
setting the cursor to the next aTextField

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Neva Mohammad

Posts: 28
Nickname: neva
Registered: Apr, 2002

setting the cursor to the next aTextField Posted: Apr 21, 2002 11:06 PM
Reply to this message Reply
Advertisement
Would anyone know how to set the cursor to a TextField?
For example I have 10 TextFields, all asking for input. For usability purposes, I would like the user to be able to enter their input, press "Enter" and follow on to the next TextField. At the moment I have to use tab to move to the next TextField.
I tried using t1.setCursor() (where t1 is my TextField) but since setCursor does not exist in java.awt.TextField I get a compiler error message

Thanks in adavance

Topic: String encryption decryption Previous Topic   Next Topic Topic: parsing an sql statement using grammers in java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use