Posted on 2005-04-05
Medium Priority
Last Modified: 2010-03-31
Hmmm, thought this would be REALLY easy, but how do I get a jTextPane to be focused, ie, able for the user to type in immediately.  It is in a jScrollPane if that helps.  I know how to set the caret to the appropriate position, but I can't get the TextPane to actually be focused.
Question by:ARACK04
LVL 92

Accepted Solution

objects earned 2000 total points
ID: 13712751

Author Comment

ID: 13712834
BAH!  For some reason I was convinced that it would be setXXXX(true);  Can't see the forest through the trees :)

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question