CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Events

  1. #1
    Join Date
    Apr 2011


    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?
    JFrame: Sure!

    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.

  2. #2
    Join Date
    Jun 1999
    Eastern Florida

    Re: Events

    See the posts on the other forum where you posted this question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.