From d22f8bb62669f8bbfef13a5b6b55faf4584d70ec Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Jun 2016 15:18:10 +0200 Subject: fix compile error in SelectionDialog (java unit test) I suspect that this code is not actually in use anymore Change-Id: I1888c4beec9add7d82e321ad09e1116d1205fbca --- toolkit/test/accessibility/SelectionDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') 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() ); -- cgit