Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #729
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.erje.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Thu, 02 Jun 2011 17:04:55 -0500 |
| From | rossum <rossum48@coldmail.com> |
| Newsgroups | comp.lang.java.help |
| Subject | Re: Image to ClipBoard (linux) |
| Date | Thu, 02 Jun 2011 23:05:33 +0100 |
| Message-ID | <252gu6d1j879vs2dv6brd74fms1nf496e3@4ax.com> (permalink) |
| References | <4de7e5e5$0$7305$426a34cc@news.free.fr> |
| X-Newsreader | Forte Agent 1.93/32.576 English (American) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Lines | 17 |
| X-Usenet-Provider | http://www.giganews.com |
| X-AuthenticatedUsername | NoAuthUser |
| X-Trace | sv3-Pn8W25Fmf+lM7zvW97CpXHLrHXrnPIWVj59r6Rs5O14wS0YfB1Kdna9XNWakI4mE7yT8PfzPl/bSQ9o!G+fkUqQoHkqsJZDOUqDoJ2s498ju1SSpSVC0QkhXO7siq9n4ztUAMve46MS/lp2Qab/Zg7nvhRLS!JrU94Q== |
| X-Complaints-To | abuse@btinternet.com |
| X-DMCA-Complaints-To | abuse@btinternet.com |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 1526 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.help:729 |
Show key headers only | View raw
On 02 Jun 2011 19:35:01 GMT, ricoh51 <ricoh51@free.fr> wrote:
> public void copyToClipboard(){
> Clipboard clipboard = Toolkit.getDefaultToolkit
>().getSystemClipboard();
> ImageTransferable selection = new ImageTransferable
>(image);
> clipboard.setContents(selection, null);
I am not sure if it is causing your problem, but in my clipboard code
I set the owner parameter here to 'this', not to 'null'.
rossum
> }
>
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
Image to ClipBoard (linux) ricoh51 <ricoh51@free.fr> - 2011-06-02 19:35 +0000
Re: Image to ClipBoard (linux) rossum <rossum48@coldmail.com> - 2011-06-02 23:05 +0100
Re: Image to ClipBoard (linux) ricoh51 <ricoh51@free.fr> - 2011-06-02 22:30 +0000
Re: Image to ClipBoard (linux) rossum <rossum48@coldmail.com> - 2011-06-03 00:28 +0100
Re: Image to ClipBoard (linux) "John B. Matthews" <nospam@nospam.invalid> - 2011-06-03 00:19 -0400
Re: Image to ClipBoard (linux) ricoh51 <ricoh51@free.fr> - 2011-06-03 09:15 +0000
Re: Image to ClipBoard (linux) "John B. Matthews" <nospam@nospam.invalid> - 2011-06-03 15:01 -0400
csiph-web