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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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
jQuery in Action, 2nd edition
subject: JPanels and JTextPane in the..