Text Document Editor in Java Swing Application -


i in process of developing java application using swing. want open document file inside application user can select content. on right click, should give list of fields above, when user clicks on field selected part document goes particular field.

please refer image:

image

you can select text in jtextcomponent , bring jpopupmenu. menu should have action each field copies selected text corresponding field. related example illustrates of concepts.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -