tags:

views:

48

answers:

2

hi everyone

what is the relationship between evet listener and event source in Java ? and i have another question what is the difference between java application and java applet ?

any help

thanks in advance

A: 

1) A good starting point is EventListenerList, discussed here.

2) An Applet runs in a browser and an application runs on the desktop.

trashgod
Also in reference to Application vs. Applet, Applets run in a security sandbox where they typically have less permissions than an application, such as accessing the local file system.
M. Jessup
+1  A: 

Read the Swing tutorial. The section on "How to Write Event Listener" would be a good place to start.

camickr
+1 Yes, probably a better place to start! `EventListenerList` is more of a destination. :-)
trashgod