Re: JTextPane Paste
- From: Thomas Weidenfeller <nobody@xxxxxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 11:46:36 +0200
tascienu@xxxxxxxxxxxx wrote:
People argue that you cannot read user's cb. But i don't need to read user's clip board. the user will initiate the action.
That's wrong. It can, but it must not be user-initiated. An applet can contain malicious code which just tries to read the clipboard:
Toolkit.getSystemClipboard().getContents();
This has to be prevented, so access to the system clipboard is controlled by a security manager.
/Thomas -- The comp.lang.java.gui FAQ: ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq .
- References:
- JTextPane Paste
- From: tascienu
- JTextPane Paste
- Prev by Date: Re: Java gui control for incrementing and decrementing a field?
- Next by Date: JTable and CellRenderer to change background colors
- Previous by thread: JTextPane Paste
- Next by thread: Java gui control for incrementing and decrementing a field?
- Index(es):