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
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
1) A good starting point is EventListenerList
, discussed here.
2) An Applet
runs in a browser and an application runs on the desktop.
Read the Swing tutorial. The section on "How to Write Event Listener" would be a good place to start.