MCPcopy Index your code
hub / github.com/10cks/fofaEX / switchTab

Method switchTab

src/main/java/plugins/CommonTemplate.java:513–521  ·  view source on GitHub ↗
(JTabbedPane tabbedPane, String tabName)

Source from the content-addressed store, hash-verified

511 }
512
513 public static void switchTab(JTabbedPane tabbedPane, String tabName) {
514 for (int i = 0; i < tabbedPane.getTabCount(); i++) {
515 if (tabbedPane.getTitleAt(i).equals(tabName)) {
516 // 找到后切换到该标签
517 tabbedPane.setSelectedIndex(i);
518 break;
519 }
520 }
521 }
522
523 // 文件流操作:去空保存,完成 InputFile InputTarget 部分
524 private static void parseJsonAndWriteFile(String jsonFilePath) throws IOException {

Callers 2

executeCommandMethod · 0.95
actionPerformedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected