--- old/test/jdk/java/awt/ComponentOrientation/BorderTest.java 2018-11-07 13:03:06.000000000 -0800 +++ new/test/jdk/java/awt/ComponentOrientation/BorderTest.java 2018-11-07 13:03:06.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2018, 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 @@ -39,9 +39,8 @@ import java.awt.*; import java.awt.event.*; -import java.applet.Applet; -public class BorderTest extends Applet { +public class BorderTest extends Panel { Panel panel1; Panel panel2; @@ -108,8 +107,6 @@ } ); BorderTest BorderTest = new BorderTest(); - BorderTest.init(); - BorderTest.start(); f.add("Center", BorderTest); f.setSize(450, 300);