Posts Tagged computer

N: Hello World: Java Swing GUI

Posted by nathan on Tuesday, 17 March, 2009
// Hello World in Java using Swing GUI

class HelloWorldSwing {
  static public void main(String args[]) {
    javax.swing.JOptionPane.showMessageDialog(null,"Hello world!");
  }
}

–nathan

N: hello blackberry!

Posted by nathan on Tuesday, 3 March, 2009

I have been (not so secretly) desiring to get a smart phone for a looooong time now. Well, today was the big day. Of course I wanted to get an iPhone, but I am a commited Verizon customer, mostly due to the free new phone every two years. So I decided that I would jump into the Blackberry phone club.

It turns out that the Blackberry is amazing! It has a lot more functionality than I imagined. I was extremely sceptical at first because the Blackberry is managed only by windows, or so I thought. This was a problem because I don’t use windows, I’m a Linux and Mac dude as you will find out the longer this blog exists.

As I started to dive into the Blackberry, I found several surprises. The first being that there is a Mac OS X client that allows you to connect and sync your Blackberry to the apple applications (pocketmac) like iTunes, iCal, and others. I have yet to try this out, but will do so within the next few days. I found an even better deal once I started researching how to install applications to the Blackberry device. It turns out that you can easily install new applications by going to specific websites via the Blackberry browser. In doing this I was able to download several important applications, of which the most important is the google stuff. Within minutes I had my Blackberry synced up with my google calendar, and installed gtalk and gmail.

Wow! Awesome, but I have promised my wife that this will not be a hindrance to our loving relationship. So I am being careful about the coolness of connectivity :) . This will not impede upon us!

Some aspects of the Blackberry that I still need to conquer are how to download different themes, potentially paying for the pro style of remember the milk account so that my Blackberry will also sync with it, and setting up a twitter account so that I can document life in greater detail. I’m sure all of you are counting on this so I will try and be expedient about the whole deal. Any help on the whole theme deal would be appreciated.

Also in the future this blog will be better enabled to handle the mobile lifestyle allowing us to document life better. Thanks for reading, and I hope you have a blessed day!

–nathan

N: Hello world: Groovy

Posted by nathan on Saturday, 28 February, 2009

Hello World- Groovy Style!


println "Hello Groovy World"

//A little more complex Hello World.

class HelloWorld {
   greet( name ){
      "Hello ${name}!"
   }
}
def hm = new HelloWorld()
println hm.greet("Groovy")