Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Events and Listeners 1

Status
Not open for further replies.

wellas666

Programmer
Feb 10, 2006
23
0
0
GB
Hi,

I am confused by Events and Listeners because I know VB.
Why VB can work without Listener?
 
VB tends to handle stuff like this more 'under-the-hood' than Java. Java is a full OO language whilst VB is not. Anything you do in Java will have an object associated with it. So for something which wants to be notified of events, a Listener is used which receives them.

If you want to be an effective Java programmer, it's probably best to 'forget' your VB knowledge. You'll *probably* have some habits which translate badly to Java and may get in the way of your progress. (I know I did [wink]).


Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top