@Override
public Object run() {
switch (type) {
case 0:
guardedPaint((Graphics) p1);
break;
case 1:
guardedValidateTree();
break;
case 2:
guardedDoLayout();
break;
case 3:
ExplorerTree.super.processFocusEvent((FocusEvent)p1);
//Since the selected when focused is different, we need to force a
//repaint of the entire selection, but let's do it in guarded more
//as any other repaint
repaintSelection();
break;
default:
throw new IllegalStateException("type: " + type);
}
return null;
}
TreeView.java 文件源码
java
阅读 37
收藏 0
点赞 0
评论 0
项目:incubator-netbeans
作者:
评论列表
文章目录