This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
have designed a applet where i have created my own buttons . cut, copy and paste. and have used javax.swing.text.DefaultEditorKit DefaultEditorKit.cutAction,DefaultEditorKit.copyActionDefaultEditorKit.pasteAction action classes to access system's clipboard.
For the first time when it loads at the client side(in Browser) , applet is not able to access the system clipboard, but when i start that same applet after closing it , it can able to access the system's clipboard. I mean , for first time, i can not paste data from external application like notepad, but for next time onwards, i can paste the data copied from Notepad.
Can anybody help me out to find , why its not happening for the first time.