--- old/src/macosx/classes/sun/lwawt/LWPanelPeer.java 2013-09-12 18:33:30.750112200 +0400 +++ new/src/macosx/classes/sun/lwawt/LWPanelPeer.java 2013-09-12 18:33:30.569101800 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -31,6 +31,10 @@ import javax.swing.JPanel; +/** + * Lightweight implementation of {@link PanelPeer}. Delegates most of the work + * to the {@link JPanel}. + */ final class LWPanelPeer extends LWContainerPeer implements PanelPeer { @@ -39,7 +43,7 @@ } @Override - public JPanel createDelegate() { + JPanel createDelegate() { return new JPanel(); } }