LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > CoderMan
User Name
Password

Notices

Rate this Entry

Java Applets: The Adventure Continues

Posted 12-30-2009 at 09: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 714 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 03:51 AM.

Main Menu

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