• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jiangxincode / ApkToolBoxGUI / #733

19 May 2024 01:15PM UTC coverage: 3.151% (-0.001%) from 3.152%
#733

push

jiangxincode
merge some menu to settings menu

0 of 128 new or added lines in 11 files covered. (0.0%)

5 existing lines in 5 files now uncovered.

236 of 7490 relevant lines covered (3.15%)

0.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/edu/jiangxin/apktoolbox/file/checksum/ChecksumPanel.java
1
package edu.jiangxin.apktoolbox.file.checksum;
2

3
import edu.jiangxin.apktoolbox.file.checksum.panel.*;
4
import edu.jiangxin.apktoolbox.swing.extend.EasyChildTabbedPanel;
5
import edu.jiangxin.apktoolbox.swing.extend.EasyPanel;
6

7
import javax.swing.*;
8

9
public class ChecksumPanel extends EasyPanel {
×
10
    private static final long serialVersionUID = 63924900336217723L;
11

12
    @Override
13
    public void initUI() {
14
        BoxLayout boxLayout = new BoxLayout(this, BoxLayout.Y_AXIS);
×
15
        setLayout(boxLayout);
×
16

17
        JTabbedPane tabbedPane = new JTabbedPane();
×
18

NEW
19
        EasyChildTabbedPanel fileChecksumPanel = new FileChecksumPanel();
×
NEW
20
        tabbedPane.addTab("File Checksum", null, fileChecksumPanel, "File Checksum");
×
21

NEW
22
        EasyChildTabbedPanel verifyChecksumPanel = new VerifyChecksumPanel();
×
NEW
23
        tabbedPane.addTab("Verify Checksum", null, verifyChecksumPanel, "Verify Checksum");
×
24

NEW
25
        EasyChildTabbedPanel compareFilesPanel = new CompareFilesPanel();
×
NEW
26
        tabbedPane.addTab("Compare Files", null, compareFilesPanel, "Compare Files");
×
27

NEW
28
        EasyChildTabbedPanel scanFolderPanel = new ScanFolderPanel();
×
NEW
29
        tabbedPane.addTab("Scan Folder", null, scanFolderPanel, "Scan Folder");
×
30

NEW
31
        EasyChildTabbedPanel stringHashPanel = new StringHashPanel();
×
NEW
32
        tabbedPane.addTab("String Hash", null, stringHashPanel, "String Hash");
×
33

34
        tabbedPane.addChangeListener(e -> {
×
35
            EasyChildTabbedPanel selectedPanel = (EasyChildTabbedPanel) tabbedPane.getSelectedComponent();
×
36
            selectedPanel.onTabSelected();
×
37
        });
×
38

NEW
39
        tabbedPane.setSelectedComponent(stringHashPanel);
×
NEW
40
        stringHashPanel.onTabSelected();
×
41

42
        add(tabbedPane);
×
NEW
43
        add(Box.createVerticalGlue());
×
UNCOV
44
    }
×
45

46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc