Share your knowledge at the LQ Wiki.
Go Back > Blogs > CoderMan
User Name


Rate this Entry

Java Applets: The Adventure Continues

Posted 12-30-2009 at 10:46 PM by CoderMan

Java applet programming is actually turning out to be a pretty good experience so far. I've already figured out the (very) basics of how to paint objects on the screen and how to handle mouse click events, and that pretty much covers the essence of all the future interface programming I am going to do for this work project. Except, I still need to figure out how to make GET/POST requests... If I find out that you can't do that in Java Applets I'm probably going to shoot myself.

Things I like so far:
  • Can test code in applet viewer instead of the browser. Major coolness factor!
  • Java "interfaces" is a pretty nifty idea. Wish it was available in C++. (Or is it?)
  • MUCH better working with graphics and mouse clicks in an applet than with HTML/JavaScript.
  • Generally familiar C++ style syntax.

Some oddities:
  • Enforced exception handling: Why does Java force you to catch exceptions if it doesn't force you to do anything with them?
  • The mystical Null Pointer Exception... I wish the Java console would tell you not only that you have one, but why you have one. Adds an unwelcome element of mystery to the code.
  • I've had a lot of trouble with online Java tutorials... they always seem to be too complex for my needs. Wasn't able to get anything done until somebody loaned me an old Java reference book written back in the Java 1.2 days.
Posted in Uncategorized
Views 1610 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 01:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration