Meaningless Drivel is fun!*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: JPanels and JTextPane in the..