We know that the hyperlink text in our Hypernotes can link to a new Note.But now I want to add a listener for the hyperlink text. If I click the hyperlink text, the programme will judge the listener and then do the following thing :
1. If the listener is hyperlink text the link to a new Note,then do it
2. If the listener is other events, then do other things,just for a simaple example,it will pop up a MessageDialog,then how to add this event listener? Can you give me a demo or some adives.
Thanks a lot for you help.Really appreciate to you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Happy to connect with you again.
We know that the hyperlink text in our Hypernotes can link to a new Note.But now I want to add a listener for the hyperlink text. If I click the hyperlink text, the programme will judge the listener and then do the following thing :
1. If the listener is hyperlink text the link to a new Note,then do it
2. If the listener is other events, then do other things,just for a simaple example,it will pop up a MessageDialog,then how to add this event listener? Can you give me a demo or some adives.
Thanks a lot for you help.Really appreciate to you.