Java

SWT: Add shortcut key for menuitem

Here's how to make the menu item link to the Ctrl+o
Which SWT.MOD1 = SWT.CTRL

MenuItem mntm_open = new MenuItem(menu_file, SWT.NONE);
mntm_open.setText("&Open...\tCtrl+O");
mntm_open.setAccelerator(SWT.MOD1  + 'O');

Configure ftp task for ant on Debian/Ubuntu

  1. apt-get install ant ant-optional
  2. apt-get install libcommons-net-java liboro-java
  3. cd /usr/share/ant/lib
  4. ln -s /usr/share/java/commons-net.jar .
  5. ln -s /usr/share/java/oro.jar .

Ant has a ftp task which requires some libraries, that's the way to setup on Debian/Ubuntu. Have fun!

The answer to “Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?”

This morning I'd read an article with the title: “Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?”, and I think I may have some opinions on this kind of topic.

Please discuss the following questions with the website owner or business owner first

  1. What is your budget and dead line for this website project?
  2. How many developers/designers involved ?

If there's system architect, ask the following questions

Java Programming with Passion: Day 4

Tour of java.lang.* and java.util.* classes

myownproject

Java Programming with Passion: Day 1

The link to the online training. I know I'm lazy, it's nearly 3 months ago I decided to take this online training course, but it's just today I started seriously. So I'm challenging myself to finish the 13 weeks online training within 2 weeks to cache up with others if any. To prove it, I'll post the progress and my homework. 1.

NetBeans IDE 5.5

Just installed NetBeans 5.5 with Mobility, EE and Virtual Web pack. I think Sun are going to drop Java Studio Creator and even the Enterprise Edition. The Virtual Web is copied from Studio Creator and all components are there also.

In one word, if you are still using Eclipse, it's time to switch to NetBeans in this release. It just has everything you need and it's mature.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer