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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JPanels and JTextPane in the.." Watch "JPanels and JTextPane in the.." New topic

JPanels and JTextPane in the..

luke patte

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
Don't get me started about those stupid light bulbs.
subject: JPanels and JTextPane in the..