add active color and java code template