Java - How to use system clipboard to copy and paste objects(JLabel or JButton) in a JFrame
murali_quest -5 Newbie Poster
Recommended Answers
Jump to PostIs there any other way?
Yes, probably, maybe a custom DataFlavor...
But it's so easy and generalisable to convert any bean-like object to a plain String and back, that IMHO it's the easiest way to get the job done.
Here's a little bit of code to illustrate the XML encode/decode …
Jump to PostI think you will find this useful...
http://java.sun.com/products/jfc/tsc/articles/persistence4/
All 6 Replies
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
murali_quest -5 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
murali_quest commented: Usefull +1
murali_quest -5 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
murali_quest -5 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.