What does Java Swing has to do with PDF files? The two technologies are very different.
On Tue, Mar 4, 2014 at 12:15 PM, Madhujith Kariyapperuma < [email protected]> wrote: > Thank you very much for your attention, > > But in Java Swing there are methods like "actionPerformed" that fires > when the action is performed according to the event. But I couldn't > find such methods in PDFBox to perform that kind of tasks. Could you > please give me any directions for that? > > Thank you! > > Regards, > Madhujith Kariyapperuma > > On Tue, Mar 4, 2014 at 2:32 PM, Gilad Denneboom > <[email protected]> wrote: > > There's a built-in Keystroke event for fields that you can use... It's > not > > something specific to PDFBox, it's a feature of the PDF specification, > but > > you can certainly apply it using PDFBox. > > > > > > On Tue, Mar 4, 2014 at 6:06 AM, Madhujith Kariyapperuma < > > [email protected]> wrote: > > > >> Hi all, > >> > >> I want to check the feasibility of handling events in a editable > >> existing PDF file using Apache PDFBox. In that case, I need to handle > >> keyboard events (specially "press enter key" event). For an example, > >> if user type his name in a text field and press enter key in key > >> board, this event should be tracked. > >> > >> Are there any methods to support this task in PDFbox API?. If yes, is > >> there any example resource (code) for that task? > >> > >> Thank you! > >> > >> Regards, > >> Madhujith Kariyapperuma > >> University of Colombo > >> >

