Author Topic: I guess I was too hard on Java  (Read 2159 times)

Mike

  • Jackass In Charge
  • Posts: 11248
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
I guess I was too hard on Java
« on: May 26, 2008, 02:26:52 PM »
So those Sun SPOTs came in and I've been boning up on Java.  After a couple days I got it where I can display a graphical maze and a mouse picture and turn walls on/off and move the mouse.

A good part of that was just getting used to how Java does things.  The thing I like is that it didn't take a lot of code.  The thing I don't like is that each class is suppose to be in its own file.  I had one Wall class and then derived a Peg, VWall (vertical wall), and HWall (horizontal wall) from it but had to put them all in seperate files.  Would have been nice to put them all in one file as they are logically grouped.

The next step I think will be getting the SPOT to talk to the basestation so that it can send back messages and the basestation will change the display based on the messages.