I've discovered that when running a Java program in Mac OS X, text field objects (e.g. JField) support cut, copy, and paste operations using the system clipboard if you use the key commands without you having to do an extra coding. For instance, I can create a JField, type in some text, select it, and then use "Command-C" to copy it, then paste it in another application. The same works for pasting text copied from other applications.
I really like that Java does this automatically, but I notice that the Edit menu doesn't appear automatically with the cut, copy, and paste menu items. Is there any way to automatically add these menu items for accessing the system clipboard when text is selected? If not, what's the best way to implement them so that it behaves like any other application. At this point, I'm only interested in copy and pasting text.
Also, I know that the system clipboard is platform specific. Does this automatic system clipboard functionality for text field objects occur on other platforms?
EDIT: I was actually wanting to know about adding this to the menu bar, but there wound up being such a great answer to the next question I would have had that I decided that I'd select it as the right answer and rename the question.