my dog learned polymorphism*
The moose likes Beginning Java and the fly likes Selction text vanishes in textpane!!!!...... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Selction text vanishes in textpane!!!!......" Watch "Selction text vanishes in textpane!!!!......" New topic
Author

Selction text vanishes in textpane!!!!......

Basanth P Rangadhol
Greenhorn

Joined: Nov 22, 2004
Posts: 13
the selected text in textpane(JTextPane) gets deselected oncer the focus is shifted to other components like menu(JMenu). but, i want to display the selected text while some menu is selected, as in any word editor... please, help.


Imagination is more important than knowledge - Einstien.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Selction text vanishes in textpane!!!!......