pasteboard update with CEmbeddedFrame
mikhail cherkasov
mikhail.cherkasov at oracle.com
Thu Mar 21 09:54:20 PDT 2013
Hi all,
Applets doesn't see pasteboard updates at all, because AWT checks
pasteboard for new data only when receives
NSApplicationDidBecomeActiveNotification notification, but if we have no
windows, system won't deliver
this message( actually it won't deliver any NSApplication*Notification
notification ).
So a applet that doesn't create windows and just adds content to applet
ContentPane won't able get
data from pasteboard.
How does jdk6 handle this? Can someone advise how to fix this?
I've attached test.
Steps to reproduce:
1. Unpack attached zip file.
2. copy signed jar, D.jar and Test.html to docs directory of web server.
3. Launch http://localhost/test.html
4. In the applet copy all the text into the clipboard using
Cmd+c
5. Copy some text from any other application.
6. paste text to applet - awt will pastes the text that was copied
previosly form applet and will ignore
data form step 5.
Thanks,
Mikhail.
More information about the macosx-port-dev
mailing list