CellAppearanceEx () { CellAppearanceEx appearance = FileAppearanceService.getInstance().forIoFile(myDir); if (appearance instanceof ModifiableCellAppearanceEx) { ((ModifiableCellAppearanceEx)appearance).setIcon(AllIcons.Nodes.JarDirectory); } return appearance; }