Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

text typing in jTextBox

 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

I'm new to Swing. I created a database application to search a text in the database and i use a jTextBox to enter the text. But now i have a problem in entering the values in
the text box since the value is typed reversely. When entering a character it goes in front of others without going to the last place.

For example if i enter as "table", it will be entered as "elbat". How can i resolve this issue?
I want to set it to the normal typing style.

Thanks in advance.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
simple solution:
type in elbat, and it should appear as table

I think I know a real solution, but I won't spend any time testing/confirming it
when you've posted this over numerous forums.
 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Michael,

Your simple solution is good.

I didnt get the point you have mentioned in your post regarding my post. Please give me the solution you know of.

Thanks.
 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

Haven't anybody used JTextBox??? I need help urgently. Please post me a solution.

thanks.
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prasath Premkumar wrote:
I didnt get the point you have mentioned in your post regarding my post.


Michael was referring to this
http://faq.javaranch.com/java/BeForthrightWhenCrossPostingToOtherSites
 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Yeah, i got the point. I'm sorry that i didn't know about that. I have asked this question in one more place too. As i read from that link it says that if i didn't get answer from other places, i can ask here too but i should mention that crossposting is occurring. So i have accepted about the crossposting and if anyone is willing to answer now, it will be much helpful. Since this is an urgent issue, i had to ask this again without considering the time delay for the posts. If that doesn't matter too much, please provide me with the solution.

Thanks.
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prasath Premkumar wrote:
Yeah, i got the point. I'm sorry that i didn't know about that. I have asked this question in one more place too. As i read from that link it says that if i didn't get answer from other places, i can ask here too but i should mention that crossposting is occurring. So i have accepted about the crossposting and if anyone is willing to answer now, it will be much helpful.

But you did get answers there (and please note, you should provide links in all threads to each other), in fact one from me, but you haven't replied to your answers, and that won't induce me (or perhaps others) to be willing to continue to try to help you.

Since this is an urgent issue, i had to ask this again without considering the time delay for the posts. If that doesn't matter too much, please provide me with the solution.

Please read the rest of the how to post questions FAQ, in particular the section on urgency.

Much luck.
 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks for the replies. finally i got rid of that issue. The problem was with the textfield binding. Now my application works fine. From next time i will follow the things which have been mentioned by the experts.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic