I'm developing a popup menu for cut, copy and paste in a JTextArea. The cut and copy menu items will be enabled only when some text in the JTextArea is selected. Similarly, the paste menuitem will be...