|
|
|
@ -43,11 +43,7 @@ public class SystemInfoPane extends JPanel {
|
|
|
|
|
String keyValue = keys[i].toString(); |
|
|
|
|
// james:屏蔽掉exe4j的内容
|
|
|
|
|
// jxbrowser的也得屏蔽
|
|
|
|
|
if (keyValue.indexOf("exe4j") != -1 || keyValue.indexOf("jxbrowser") != -1) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
// james:这个也是exe4j的东东
|
|
|
|
|
if ("install4j.exeDir".equals(keyValue)) { |
|
|
|
|
if (needToShield(keyValue)) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -67,4 +63,14 @@ public class SystemInfoPane extends JPanel {
|
|
|
|
|
|
|
|
|
|
add(new JScrollPane(table), BorderLayout.CENTER); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 是否属于需要屏蔽的内容 |
|
|
|
|
* |
|
|
|
|
* @param keyValue 对应的key值 |
|
|
|
|
* @return 需要屏蔽则返回true |
|
|
|
|
*/ |
|
|
|
|
private boolean needToShield(String keyValue) { |
|
|
|
|
return keyValue.indexOf("exe4j") != -1 || keyValue.indexOf("jxbrowser") != -1 || "install4j.exeDir".equals(keyValue); |
|
|
|
|
} |
|
|
|
|
} |