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
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
It is sorta covered in the
JavaRanch Style Guide
Copy code to TextPad - no linefeeds??
Copying of column
Instructor's Solution to 4b
Australians: New HFSJ Book on eBay
need help with a display method for an applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013