I am currently developing my first bigger Scala Swing project, and I have written my own component as a part of the tile map editor, in which the user chooses the tiles.
Just as a combo box emits some sort of event when another element is selected, I want this component to do the same, with my own case classes. I have not found any article or tutorial on this topic.
In further notice, how can I also write a component that publishes the events of sub-components. So that it just reaches them through.