I am fairly new to Java programming and I was wondering if someone can help me figure out how to use the JTextComponent cut(), paste(), etc... tools.
My program has text fields that appear in a JFrame... I also have an Edit menu where the user could copy, paste, and cut the text in the selected text in the textfield area.
What I tried to do is simply use myField.cut(); (which should work, i think), However, this does not work. I am not getting an error or a warning, it compiles and runs fine, however when I try to cut the text in the program it does not respond, the text remains as if I never tried to 'cut'.