--- old/src/demo/share/jfc/SwingSet2/ProgressBarDemo.java 2018-10-22 12:58:34.000000000 +0530 +++ new/src/demo/share/jfc/SwingSet2/ProgressBarDemo.java 2018-10-22 12:58:33.000000000 +0530 @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -107,6 +107,7 @@ } }; progressBar.getAccessibleContext().setAccessibleName(getString("ProgressBarDemo.accessible_text_loading_progress")); + progressBar.setFocusable(true); progressPanel.add(progressBar); progressPanel.add(createLoadButton());