Java support for (onselection) outline option