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