breve inside Java (Swing) front end

Hi there (thanks for the new forums!)
I would like to implement breve inside a Java (Swing) front end and am looking for examples.
I'm making a visualisation where it would be good to have things like - click on an object and see text about it, so I figure there would be a window in the Java GUI that would hold the breve simulation and other areas in the Java (e.g. for the text), and they would need to be able to talk to each other.
I have read in the docs about custom front ends, but I would love it if someone has an example of what I'm looking for to kick-start me.
(I'm using Windows)

Thanks in advance...