Ilya Shinkarev

Greenhorn
+ Follow
since Nov 05, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ilya Shinkarev

AWT is old version of GUI-components (widgets)
Swing is not AWT
AWT is not Swing.
I had used both of them. Swing is much better at all aspects, on my humble opinion.
Swing is not Applet.
AWT is not Applet.
java.awt
javax.swing - corresponding packages
The purpose of Exception mechanism is to notify user(end-user) of class (interface of method) that there are special situations or conditions he or she must at least know about when using such piece of code.
If you declare Exception and then don't throw it for now (but still planning to throw it in the future), the users of your code can already use it for now, and don't make any changes in the future, when you will finally change your IMPLEMENTATION (not interface = contract) so it will throw the Exception.