Copy selected text and components in JTextPane
843804Mar 9 2005 — edited Mar 9 2005Hi all,
I have a JTextPane with styled text and JLabel inside. I would like to copy selected text and labels. The default copy function of JTextPane just can copy text. If overriding method copy of JTextPane is the only choice, how can I put selected data to clipboard? Pls help me with this.
Thanks