Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #729

Re: Image to ClipBoard (linux)

From rossum <rossum48@coldmail.com>
Newsgroups comp.lang.java.help
Subject Re: Image to ClipBoard (linux)
Date 2011-06-02 23:05 +0100
Message-ID <252gu6d1j879vs2dv6brd74fms1nf496e3@4ax.com> (permalink)
References <4de7e5e5$0$7305$426a34cc@news.free.fr>

Show all headers | 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 | NextPrevious in thread | Next in thread | Find similar


Thread

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