File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/java.desktop/macosx/classes/com/apple/laf Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2011, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2011, 2023 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -593,6 +593,11 @@ protected JButton getApproveButton(final JFileChooser fc) {
593593 return fApproveButton ;
594594 }
595595
596+ @ Override
597+ public JButton getDefaultButton (JFileChooser fc ) {
598+ return getApproveButton (fc );
599+ }
600+
596601 public int getApproveButtonMnemonic (final JFileChooser fc ) {
597602 return fSubPanel .getApproveButtonMnemonic (fc );
598603 }
You can’t perform that action at this time.
0 commit comments