Menu

#5 Copy & Paste From Embeded Applet

closed-fixed
nobody
None
5
2005-10-28
2005-10-27
No

Changed the Terminal class to allow copy and paste from
the applet without having to detach it. Any
highlighted text will automatically be placed to the
system clipboard. A paste can be performed by right
clicking the mouse.

The new Terminal.java is attached.

This patch pertains to the following post in the forum:

http://sourceforge.net/forum/forum.php?thread_id=1373738&forum_id=23269

Discussion

  • Paul Zepernick

    Paul Zepernick - 2005-10-27

    Terminal.java

     
  • Marcus Meissner

    Marcus Meissner - 2005-10-28
    • status: open --> closed-fixed
     
  • Marcus Meissner

    Marcus Meissner - 2005-10-28

    Logged In: YES
    user_id=48092

    but this will only work if the applet has access to the system
    clipboard...

    In a correctly setup browser this is probably not the case, it
    needs to be signed correctly before.

    I have applied the patch to our current SVN tree.

     
  • Paul Zepernick

    Paul Zepernick - 2005-10-28

    Logged In: YES
    user_id=1028753

    Yes, I agree. It would have to be signed to work. There is a
    try catch around trying to get access to the clipboard for this
    reason. Upon startup the applet prints to the console
    whether or not it was able to gain access to the clipboard.

    Paul