The Wannabe Java Rockstar: The Best Way to Add a Context Menu to Text Components

The Best Way to Add a Context Menu to Text Components

There's an excellent discussion over at Javalobby on how to add context menus to text components in Swing. In Windows, textfields have a context menu with entries suchs as cut, copy, and paste,  which is not available in Swing's Windows look and feel.

Surprisingly enough, the discussion is pretty civilised and lacks the typical "Sun will never get native fidelity right" and "Stuff like that makes my Swing application look unprofessional" posts.

Fri, 29 Jul 2005, 23:44 | Java | PermaLink
« Alternatives to Java Native Interface (JNI) | Home | The History of Ant »