corner imagecorner image
IDEPlatformPluginsDocs & SupportCommunityPartners

Text Popup Menu - plugin detail

This plugin enables Cut/Copy/Paste/Delete/Select All contextual menu.

NetBeans Plugin - Text Popup Menu
Plugin owner: Rokko
Website: http://kenai.com/projects/textpopupmenu
Added: 2010-02-09
Last updated: 2012-02-24
NetBeans Versions: 6.7, 6.8, 6.9, 7.0, 7.1
License: GPLv3
Category: NetBeans Rich Client Platform
Size: 0.02 MB
Downloaded: 1,607 times
Rating:
 4.57, by 4 users


Download plugin

Verifications for NetBeans versions

7.0 verification PASSED See verification details
7.1 verification PASSED See verification details

Introduction

This plugin enables Cut/Copy/Paste/Select All/Delete contextual menu on any JTextComponent that does not have its own popup menu.
Here's the link to the source code repository.

It works with any graphic component that inherits from JTextComponent, like:

Text fields, text areas, spinners and so on of your
custom window components build with Matisse

JTable Cell Renderers

tpm-textarea.PNG

tpm-table.PNG

Text fields of Property Sheet

tpm-propertysheet.PNG



Release note

1.0.6

Using this release of Text Popup Menu the JTextComponent gets the focus.
This release is for platform 6.7 and later. Use release 1.0.4 for older platform version.

1.0.5

This release of Text Popup Menu:
  • shows icons aside command text;
  • gets translated command text from localization bundles installed by the user;
This release is for platform 6.7 and later. Use release 1.0.4 for older platform version.

1.0.4

Now it works with Netbeans Platform 6.0.1 and later.

1.0.3

Wrong library dependency version fixed.

1.0.2

Added localizations for:
  • Italian
  • French
  • German
  • Spanish


What's new in this version

1.4.0

This release:
  • add the Delete menu item, according to pratikabu request (thank you for the snippet ;-) )1292490293487_tpm-screenshot.PNG
  • gets translated command text from system JVM (except for "Select All" menu item...)
This new release and related source code are available on Kenai.com: here are the links to source code and the plugin.

[ You have to be logged in to be able to comment. ]

User Comments

  

Great Plug-In

Great plug in and very intuitive, really appreciate you developing this.
Posted by cgcsllc on May 14, 2012
  

Add delete operation like this

I saw your code. You can add the delete operation like this:
comp.replaceSelection("");
Posted by pratikabu on Oct 24, 2010
  

Delete is missing

A great plug-in. Thanks for development.
Kindly add Delete button also. It will complete this plug-in.
Thank you.
Posted by pratikabu on Oct 24, 2010
  

Typo in description

"This plugin enables Cut/Copy/Paste/Select All context menu for any JTextComponent wich does not have its own popup menu."
Posted by melling on Mar 28, 2010