Do events have anything to do with applets? I've been reading a little about them but I still don't understand what their purpose is. I know so little abot Java :(
Events
Started by Sionofdarkness, Jul 29 2006 08:29 AM
4 replies to this topic
#1
Posted 29 July 2006 - 08:29 AM
|
|
|
#2
Posted 29 July 2006 - 11:57 AM
An applet is a java program that is run from within a browser, which means you can use it to make a game that is played over the net. It has some restrictions on what type of access it is allowed to make on the user's computer, however.
An event is something that occurs during program execution, like a mouse-click, a double-click, etc.
An event is something that occurs during program execution, like a mouse-click, a double-click, etc.
#3
Guest_sn17_*
Posted 12 August 2006 - 11:08 AM
Guest_sn17_*
Oh. So applet is like the main frame and event is what runs on it. Rite?
#4
Posted 13 August 2006 - 03:41 AM
Not exactly. An applet is just a specialized form of a Java program - it denotes that the Java application is hosted inside a web browser.
Events are a programming concept. An object will raise an event to let other objects know that something "interesting" has happened. For instance, a button will have a click event so that other objects can know when the button is clicked and perform whatever logic makes sense at that time.
The 2 terms have no relation to each other.
Events are a programming concept. An object will raise an event to let other objects know that something "interesting" has happened. For instance, a button will have a click event so that other objects can know when the button is clicked and perform whatever logic makes sense at that time.
The 2 terms have no relation to each other.
#5
Posted 21 August 2006 - 09:47 AM
Oh, so I was mistaken. At least I know now, thanks brackett. You've been helpful in lots of topics.


Sign In
Create Account


Back to top









