mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GT-2698 - convert JCheckBox to GCheckBox
This commit is contained in:
parent
40daea1a56
commit
3c0484cae3
93 changed files with 487 additions and 460 deletions
|
@ -24,6 +24,7 @@ import javax.swing.*;
|
|||
|
||||
import docking.ActionContext;
|
||||
import docking.action.*;
|
||||
import docking.widgets.checkbox.GCheckBox;
|
||||
import docking.widgets.filechooser.GhidraFileChooserPanel;
|
||||
import docking.widgets.table.GFilterTable;
|
||||
import ghidra.framework.options.OptionsChangeListener;
|
||||
|
@ -47,7 +48,7 @@ public class SampleTableProvider extends ComponentProviderAdapter implements Opt
|
|||
private SampleTableModel model;
|
||||
|
||||
private List<FunctionAlgorithm> discoveredAlgorithms;
|
||||
private JCheckBox[] checkBoxes;
|
||||
private GCheckBox[] checkBoxes;
|
||||
|
||||
private GhidraFileChooserPanel fileChooserPanel;
|
||||
|
||||
|
@ -94,9 +95,9 @@ public class SampleTableProvider extends ComponentProviderAdapter implements Opt
|
|||
|
||||
JPanel checkBoxPanel = new JPanel(new GridLayout(0, 1));
|
||||
checkBoxPanel.setBorder(BorderFactory.createTitledBorder("Discovered Algorithms"));
|
||||
checkBoxes = new JCheckBox[discoveredAlgorithms.size()];
|
||||
checkBoxes = new GCheckBox[discoveredAlgorithms.size()];
|
||||
for (int i = 0; i < discoveredAlgorithms.size(); i++) {
|
||||
checkBoxes[i] = new JCheckBox(discoveredAlgorithms.get(i).getName());
|
||||
checkBoxes[i] = new GCheckBox(discoveredAlgorithms.get(i).getName());
|
||||
checkBoxPanel.add(checkBoxes[i]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue