File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/jdk.editpad/share/classes/jdk/editpad Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2015, 2016 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2015, 2025 , 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
@@ -89,14 +89,14 @@ public void windowClosing(WindowEvent e) {
8989 closer .run ();
9090 }
9191 });
92- jframe .setLocationRelativeTo (null );
9392 jframe .setLayout (new BorderLayout ());
9493 JTextArea textArea = new JTextArea (initialText );
9594 textArea .setFont (new Font ("monospaced" , Font .PLAIN , 13 ));
9695 jframe .add (new JScrollPane (textArea ), BorderLayout .CENTER );
9796 jframe .add (buttons (closer , textArea ), BorderLayout .SOUTH );
9897
9998 jframe .setSize (800 , 600 );
99+ jframe .setLocationRelativeTo (null );
100100 jframe .setVisible (true );
101101 }
102102
You can’t perform that action at this time.
0 commit comments