aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JPanels and JTextPane in the.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JPanels and JTextPane in the.." Watch "JPanels and JTextPane in the.." New topic
Author

JPanels and JTextPane in the..

luke patte
Greenhorn

Joined: Jan 11, 2004
Posts: 12
I'm having trouble deleting JPanels that are in my JTextPanes by using a method call (ie .remove(jPanel)), does this work or am I limited to only deleting through the del or backspace keys?? Also, I need to highlight an area and if a jlabel is within the selectionI need to be able to find out which label it is to perform actions upon it, any ideas??
thanks luke
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JPanels and JTextPane in the..