Wednesday May 28, 2008

Sun SPOT Presentation at Sun Melbourne Branch meeting

Today (28th May 2008) I went to present Sun SPOT at Sun Melbourne Branch meeting. What a great experience!

Since my audiences are mostly working in sales and marketing team, I designed a Sun SPOT presentation and left out most of technical details. I spent only a few slides on general introduction, such as what's Sun SPOT and why Sun SPOT was designed in the first place (Lots of great information from Roger Meike's early emails). I spent a majority of time on live demos, i.e. what we can do with Sun SPOT, which exactly suit my audience's interests.

Peng Deng, a research student from University of Melbourne, who has been using Sun SPOT for his research project, joined me today. He designed a new Gesture Based Human Computer Interface. What a great example of "think beyond the keyboard mouse and screen!" (again quote from Roger's early email)

Not only did our presentation go pretty well and we received a lot of applauses, but also I made quite a few friends with Sun Sales and marketing teams. They are all very nice folks and willing to support Campus Ambassador program. We might go to present Sun SPOT to other Australian research institutions afterwards and help Sun generate more revenue.

Nathan, the Sun System Engineer who joined me with "Solaris ZFS: The Best File System on the planet" tech demo, offered me to have three hours' long OpenSolaris seminar in the University of Melbourne. He planned to show from installation to getting  Obviously he was impressed with the passionate audience from previous ZFS talk and willing to help more. The timing is just fantastic because I am working with Melbourne University Computer Student Association to organize an OpenSolaris Instalfest in next semester. We are going to have a great time on this!

Presenation File: http://blogs.sun.com/tao/resource/CA-Demo/sunspot-melbourne.pdf

Wednesday Mar 19, 2008

Develop Java Desktop application with Netbeans

On 20th March I made my second Campus Ambassador demo titled "Develop Java desktop applications with Netbeans 6.0" in the University of Melbourne. The whole demo lasted about 50 minutes. 23 students and staff sent me their RSVP and about 40 people eventually attended seminar, which is a great turned up rate.

I started with general discussion about Java programming language and played a video which I downloaded from youtube to demonstrate that Java is a very versatile language. It is virtually everywhere.

Demo Video:
Java Everywhere video
http://www.youtube.com/watch?v=av5y5X5Eyrg

 

To clarify some misconception about Java performance, I played another video about Java Game, which is very fancy and eye-catching. I also downloaded a desktop strategy game, Tribal Trouble, and run it in live. I demonstrate how smooth it is during 3D rendering, zoom in and zoom out.

Demo Video:
Java Game
http://www.youtube.com/watch?v=fx8hWVphUQs

Tribal Trouble screen shot


To clarify the misconception about Java GUI, I demonstrated a few screen shot of Java GUI program run on different platforms and ran a complex musical program, Storm Music Studio, in live.


Then, I introduced Netbeans and created a simple Java Desktop program, a calculator in live.

 

Demo Code:
Create a simple Calculator with Netbeans
http://www.netbeans.org/kb/articles/gui-functionality.html

Thanks for Peng Deng's help! He recorded a short video during my demo.

In the end I finished my talk with standard promotion about Sun Academic Initiative program and then took a number of questions.

Demo Presentation File:
http://blogs.sun.com/tao/resource/CA-Demo/netbeans_desktop.pdf

Things to try:
Create a simple DataBase application with Netbeans
http://www.netbeans.org/kb/60/java/gui-db.html
 

Wednesday Feb 13, 2008

Set Netbeans user Interface language

Netbeans automatically uses the Windows system default language as the default user interface language. I believe that it means to be a nice feature for localization. But I personally find it uncomfortable because I have been used with English interface.

After I did some Google search, I learned a few tips to set the Netbeans UI language.

1. Temporary Solution

Add "--locale en:US" at the end of Netbeans startup command. 

"C:\\Program Files\\NetBeans 6.0.1\\bin\\netbeans.exe"  --locale en:US 

2. Permanent Solution

Go to Netbeans installation directory, for example,

C:\\Program Files\\NetBeans 6.0.1\\etc

Open "netbeans.conf" and find netbeans default option line

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"

Add "-J-Duser.language=en -J-Duser.region=US" to the end of this line

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Duser.language=en -J-Duser.region=US"


It would be nice that there is an option to allow me choose the user interface language in the next Netbeans release.

Reference:

http://hantsy.blogspot.com/2007/05/netbeans.html

http://www.9php.com/FAQ/cxsjl/java/2007/11/555583596050.html

About

Occasionally I like to share some ideas or interesting news here.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today