File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
I agree. Here's the link:
subject: JPanels and JTextPane in the..
It's not a secret anymore!