diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/test/accessibility/SelectionDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/test/accessibility/SelectionDialog.java b/toolkit/test/accessibility/SelectionDialog.java index 64ce7fb9158c..2f0c6d543446 100644 --- a/toolkit/test/accessibility/SelectionDialog.java +++ b/toolkit/test/accessibility/SelectionDialog.java @@ -68,7 +68,7 @@ class SelectionDialog extends JDialog maChildrenSelector = new JList (GetChildrenList()); maChildrenSelector.setPreferredSize (new Dimension (500,300)); aContent.add (maChildrenSelector, BorderLayout.CENTER); - maChildrenSelector.setSelectionMode (ListSelectionModel.SelectionMode::Single); + maChildrenSelector.setSelectionMode (ListSelectionModel.SINGLE_SELECTION); JPanel aButtons = new JPanel(); aButtons.setLayout( new FlowLayout() ); |