• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

text typing in jTextBox

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,

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

thanks.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic