The Artima Developer Community
Sponsored Link

Java Answers Forum
Create Event

1 reply on 1 page. Most recent reply: Jun 26, 2007 1:57 AM by Vincent O'Sullivan

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Christian Kiefl

Posts: 1
Nickname: sonixx1408
Registered: Jun, 2007

Create Event Posted: Jun 25, 2007 11:57 AM
Reply to this message Reply
Advertisement
Hi,

how can i CREATE an event in java? Eg. if i write a new class and want to have it an event that I'm able to fire and handle.
Thanks for your help


Vincent O'Sullivan

Posts: 724
Nickname: vincent
Registered: Nov, 2002

Re: Create Event Posted: Jun 26, 2007 1:57 AM
Reply to this message Reply
Check out observer patterns (for instance http://en.wikipedia.org/wiki/Observer_pattern). There are several introductions to it on the web.

Flat View: This topic has 1 reply on 1 page
Topic: Create Event Previous Topic   Next Topic Topic: Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use