Add self-define template into eclipse

Templates are little pieces of code with defined placeholders. Each template has a name, which serves as a shortcut to the template itself. You type the name and press Alt + / and it will be expanded.
like sysout:
System.out.println(${word_selection}${});${cursor}
To define your own template go to windows>Preferences>Java>Editor>Templates.



Change the content assistant key to ALT+/:
1. Go to Preferences>>General>>Keys or by typing keys in the filter box.
2. find Content Assist, change the binding to Alt+/.
3. Get rid of the association of these two keys with "word completion".

Add self-define template into eclipse

Templates are little pieces of code with defined placeholders. Each template has a name, which serves as a shortcut to the template itself. You type the name and press Alt + / and it will be expanded.
like sysout:
System.out.println(${word_selection}${});${cursor}
To define your own template go to windows>Preferences>Java>Editor>Templates.



Change the content assistant key to ALT+/:
1. Go to Preferences>>General>>Keys or by typing keys in the filter box.
2. find Content Assist, change the binding to Alt+/.
3. Get rid of the association of these two keys with "word completion".

Amazon Customer Service Phone Number

Nowadays, you may not be able to find the Amazon.com customer phone number from Amazon.com when you need it. It is handy to have Amazon.com customer service phone number in hand.
Here it is: 866-216-1072.

Amazon Customer Service Phone Number

Nowadays, you may not be able to find the Amazon.com customer phone number from Amazon.com when you need it. It is handy to have Amazon.com customer service phone number in hand.
Here it is: 866-216-1072.

Install and Configure JMF (Java Media Framework) on your computer

1. Download JMF from SUN. http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/download.html
2. Install download file.  In this case the program was installed into C:\Program Files (x86)\JMF2.1.1e
3. Configure environment variables.
3.1 set  JMFHOME=C:\Program Files (x86)\JMF2.1.1e
3.2 set CLASSPATH=%JMFHOME%\lib\jmf.jar;%JMFHOME%\lib\sound.jar;%CLASSPATH%
4. Diagnose the installation of your copy of the JMF by running the following JavaApplet:
http:/java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html

If you are usingIDE like Eclipse, instead of installing this package into your computer you can just import the package into your project.

Install and Configure JMF (Java Media Framework) on your computer

1. Download JMF from SUN. http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/download.html
2. Install download file.  In this case the program was installed into C:\Program Files (x86)\JMF2.1.1e
3. Configure environment variables.
3.1 set  JMFHOME=C:\Program Files (x86)\JMF2.1.1e
3.2 set CLASSPATH=%JMFHOME%\lib\jmf.jar;%JMFHOME%\lib\sound.jar;%CLASSPATH%
4. Diagnose the installation of your copy of the JMF by running the following JavaApplet:
http:/java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html

If you are usingIDE like Eclipse, instead of installing this package into your computer you can just import the package into your project.

Check wich version of the Java you are using

Always know which verison of the JDK you are using, if you switch programming computers:

I written a Java GUI program on Windows server 2008 platform and was planning to show it to my adviser on my Mac book.
After I imported the project into Eclipse, it gave me some error information, the GroupLayout can not be found.
By doing a little research I found that the GroupLayout is not in Java 1.5.  According to this I changed the default jdk from 1.5 to 1.6. Then everything is back to normal.

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...