mirror of
https://github.com/sethm/symon.git
synced 2024-06-07 19:29:27 +00:00
Silence a compiler warning regarding generics
This commit is contained in:
parent
252ebe0569
commit
72074b9715
|
@ -113,7 +113,7 @@ public class Simulator {
|
|||
private JButton runStopButton;
|
||||
private JButton stepButton;
|
||||
private JButton resetButton;
|
||||
private JComboBox stepCountBox;
|
||||
private JComboBox<String> stepCountBox;
|
||||
|
||||
private JFileChooser fileChooser;
|
||||
private PreferencesDialog preferences;
|
||||
|
@ -158,7 +158,7 @@ public class Simulator {
|
|||
stepButton = new JButton("Step");
|
||||
resetButton = new JButton("Reset");
|
||||
|
||||
stepCountBox = new JComboBox(STEPS);
|
||||
stepCountBox = new JComboBox<String>(STEPS);
|
||||
stepCountBox.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent actionEvent) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue
Block a user