CSS-like effects brought to Java shape painting