< prev index next >

src/demo/share/jfc/J2Ddemo/java2d/J2Ddemo.java

Print this page

        

@@ -1,8 +1,8 @@
 /*
  *
- * Copyright (c) 2007, 2011, 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
  * are met:
  *

@@ -676,11 +676,11 @@
             demo.startRunWindow();
         }
 
     }
 
-    public static void main(final String args[]) {
+    public static void main(final String[] args) {
         SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
                 RunWindowSettings runWndSetts = new RunWindowSettings();
                 for (int i = 0; i < args.length; i++) {
< prev index next >