A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Jan 14, 2004
Feb 24, 2004 08:45:00
hi all, I need copy some JLabels and Graphic2D rectangles from JFrame to system clipboard so that they can be pasted to other application like MSWord, any ideas or pointer? Thanks!
Joined: Dec 12, 2002
Feb 24, 2004 09:11:00
Things that are text based should just work. Other types are a bit more work. Check out the java.awt.datatransfer package in particular the Transferable interface and the DataFlavor class.
I agree. Here's the link:
need help with a display method for an applet
Instructor's Solution to 4b
Copying of column
Australians: New HFSJ Book on eBay
Copy code to TextPad - no linefeeds??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014