Kind of a beginner question about events and class communication. In Flash ActionScript(the language I have the most experience) events bubble up to parents and their listeners. It seems that in Java it is handled differently. I am trying to build an app similar to Acrobat, with linking and anchors to hyperlink to different views.
If I have a JScrollPane and I load a bunch of Boxes into it. Each Box with clickable components(links) extended from JComponent added to them. What is the best way to have those click events call a method that would programmically set the scroll position of the JScrollPane?