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

Thread: custom event

  1. #1
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279

    custom event

    Hi,

    I have a program that communicates with a device.
    I want the user interface to change if the communication changes.
    for example progressbar update or I/O time out.

    what I normally do in VB is create an event object and let the gui respond to an event of this object.

    What is the best way in Java? I have seen several action and events listeners.
    but no explanation yet of how to implement it yourself.
    example code would be great.

    thx,

    Jewe
    (java wannabe)
    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

  2. #2
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279

    Re: custom event

    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

  3. #3
    Join Date
    Feb 2004
    Location
    USA - Florida
    Posts
    729

    Re: custom event

    Hungarian notation, reinterpreted? http://www.joelonsoftware.com/articles/Wrong.html

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured