mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GT-2698 - convert JRadioButton to GRadioButton
This commit is contained in:
parent
3c0484cae3
commit
d7410690ff
54 changed files with 529 additions and 344 deletions
|
@ -20,6 +20,7 @@ import java.awt.Component;
|
|||
import javax.swing.*;
|
||||
|
||||
import docking.DockingWindowManager;
|
||||
import docking.widgets.button.GRadioButton;
|
||||
import docking.widgets.label.GLabel;
|
||||
import docking.widgets.textfield.IntegerTextField;
|
||||
import ghidra.closedpatternmining.SequenceMiningParams;
|
||||
|
@ -97,9 +98,9 @@ public class SequenceMiningParamsInputDialog extends InputDialogComponentProvide
|
|||
|
||||
boolean useBinary = Boolean.parseBoolean(
|
||||
Preferences.getProperty(BINARY_SEQUENCES_PROPERTY, BINARY_SEQUENCES_DEFAULT));
|
||||
binaryButton = new JRadioButton(BINARY_BUTTON_TEXT, useBinary);
|
||||
binaryButton = new GRadioButton(BINARY_BUTTON_TEXT, useBinary);
|
||||
binaryButton.setMnemonic(BINARY_MNEMONIC);
|
||||
nibbleButton = new JRadioButton(NIBBLE_BUTTON_TEXT, !useBinary);
|
||||
nibbleButton = new GRadioButton(NIBBLE_BUTTON_TEXT, !useBinary);
|
||||
nibbleButton.setMnemonic(NIBBLE_MNEMONIC);
|
||||
mainPanel.add(binaryButton);
|
||||
mainPanel.add(nibbleButton);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue