title: Right-click to copy and paste in Java
body: <p>I am using Netbeans to develop an application that will be used in Windows. I noticed I can't right-click to copy or paste. How can I enable this? (I am using basic Swing controls such as JText and JTextArea.)</p>