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:
you can select text in jtextcomponent
, bring jpopupmenu
. menu should have action
each field copies selected text corresponding field. related example illustrates of concepts.