I am working on project in which I want to add new menu item to menu bar then click on that menu item should do some functionality. For this I am using Net beans 6.1 with open office sdk API . Up till now able to added new menu item to menu bar then I want to get text from document and pass it another java program and get return from program and replace the selected text. 1. How do I get access selected text? From where I would get similar kind of sample programs ? I am going through developers guide, but it is quite difficult to understand for new Oo developers.
-- Dinesh