• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextPane editing?  RSS feed

 
Lee Barney
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a series of JTextPanes in a container. I need to know which one is currently being edited to that I can change the font. How can I tell this? I can see the blinking carrot. But how to tell programatically?

Thanks
 
Lee Barney
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. I figured it out. I was popping up a dialog prior to looking for the focus. Oops.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!