Cut / Copy / Paste menu on JTextFields, how to add it for all instances ...
Here's what I want, I'd like to have a cut/copy/paste menu for all JTextFields in our application. This is pretty easy, you can either create your own CopyPasteTextField object that implements this, or create a static method in a utility class to add the menu to a text field.
However, in our application, we have many people adding ui widgets all over the place, I'd like to find out if there's a way to just add this menu via the look and feel mechanism, so that the menu is added globally, with no manual interaction from a coding perspective.
Does anybody have any idea how to do this?