Handling Copy/Paste Peculiarities

Do you use JavaWIDE in the classroom? Do you have some tips to share? If so, post them here.

Handling Copy/Paste Peculiarities

Postby Jam Jenkins » Sun Sep 20, 2009 5:46 pm

When your students use JavaWIDE, you may notice some peculiarities in the way that copy/paste works differently sometimes. This is due to the fact that there are actually two different clipboards - an internal one and a system one. Unsigned java applets don't have direct access to the system clipboard which is why pasting with ctrl-v and selecting the paste menu option has different results sometimes. The ctrl-v always pastes from the system clipboard and the menu option always uses the internal clipboard. Sometimes these are the same and sometimes they are different. For more information, see
viewtopic.php?f=4&t=30

The bottom line is that you should teach your students the keyboard shortcuts for cut/copy/paste. These are ctrl-x for cut, ctrl-c for copy, and ctrl-v for paste. Not only are these keyboard shortcuts usually faster than the menu options, but they also make the cut/copy/paste experience consistent. These shortcuts also work in other applications so your students are learning transferrable information.

Note: even on Macs, use ctrl-x, ctrl-c and ctrl-v for cut/copy/paste within JavaWIDE. On the mac you'll need to use COMMAND-X, COMMAND-C, and COMMAND-V outside of JavaWIDE for cut/copy/paste.
Jam Jenkins
Site Admin
 
Posts: 54
Joined: Tue Jun 30, 2009 1:53 pm

Return to Teaching Tips

Who is online

Users browsing this forum: No registered users and 1 guest