29/06/2009

Eclipse Galileo was released

Eclipse 3.5 or Eclipse Galileo was released on June 24th, 2009.
This is the fourth version Eclipse. Its predecessors are Calisto, Europa, Ganymede.
Its new features has been listed here.
You can download Eclipse Galileo here.
Plz, remember to write your review about Eclipse Galileo at Blogathon and receive a thank you gift.

22/06/2009

Error "Navigation to the webpage was canceled" in CHM file

This morning, I downloaded a chm file, I opened it, clicked on an bookmark item and I got the following error:I found out the following solution:
In the window explorer, right click on the chm file, a context menu will pop up, select "Properties" menu item, a properties dialog opens, click on "Unblock" button.
Now you can navigate your chm normally

15/06/2009

Solutions for some problems when converting Delphi projects to Lazarus projects

1) When you create a form but no widget appears
Solution:
You use Tools > convert Delphi unit into Lazarus unit in Lazarus IDE.
However, Lazarus IDE forgot to insert the following directive to your unit source code:
initialization
{$i unit.lrs}
2) When you get the following error message: identifier LazarusResource not found
Solution:
Add LResource unit into uses clause in your unit source.
3) When you get the following error:
and the cursor stop here:


Solution:
Add Interfaces unit into uses clause in your unit source code.

10/06/2009

Java 7 & Java EE 6

Java 7 (will be released in Feb 2010) have many new things:
  1. modules (you can customize the features of Java as you need, classpath will be deprecated).
  2. null check operator/condition:"?:"
  3. switch with string type.
  4. multiple exception in catch block.
  5. using diamond symbol for generics instead of greater symbol.
Java EE 6 (will be released in Oct 2009) have some interesting features:
  1. JAX-RS (support fully RESTful service)
  2. JFS 2.0
  3. Asynchronous servlets.
  4. Bean validation.
  5. web.xml is replaced by web annotation or xml fragments.
  6. web beans (session bean in WAR file).
Spring Roo is a new project, it is like Rails or Grails with pure Java.
Eclipse Galileo will be release in June 24, 2009. Its chronological priors are Calisto, Europa and Ganymede.