support java version 6 and more

compiled using java 6.
removed cut, copy, paste menus; but same is available in code writing
area.