wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes text typing in jTextBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "text typing in jTextBox" Watch "text typing in jTextBox" New topic
Author

text typing in jTextBox

Prasath Premkumar
Ranch Hand

Joined: Nov 13, 2008
Posts: 43

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

Joined: Jun 09, 2003
Posts: 4632
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

Joined: Nov 13, 2008
Posts: 43

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

Joined: Nov 13, 2008
Posts: 43

Hi,

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

thanks.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10486
    
    9

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Prasath Premkumar
Ranch Hand

Joined: Nov 13, 2008
Posts: 43

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

Joined: Feb 23, 2007
Posts: 1561
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

Joined: Nov 13, 2008
Posts: 43

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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: text typing in jTextBox