I'm writing a program (or should I say, I have written a program) that generates orbits from an Iterative Function System... but it has no GUI. Well, after a few months I've grown weary of that, so I decided to switch to netbeans and toss up a little GUI (window builder for eclipse... dreadful). The problem is, I need the JFrame (or a table component therein) to listen for an event. From a class that isn't event driven. I used to send a few lines of information per percent of completion, which I would like to land in the table component [that part I've figured out], and update that table every percent or tenth of a percent. Something like:
IFS: "Hey! Another percent of 80 million points complete... could you let that fractal dude know?
I know I'll have to add an event listener to the component, and that I may have to write an event (I'd rather not if its avoidable). Concisely my query is how to fire off the event in a class with no GUI and have the JFrame.component 'hear' it.