< prev index next >

src/demo/share/jfc/TableExample/TableExample.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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:
  *

@@ -246,11 +246,11 @@
         JScrollPane scrollpane = new JScrollPane(table);
 
         return scrollpane;
     }
 
-    public static void main(String s[]) {
+    public static void main(String[] s) {
         // Trying to set Nimbus look and feel
         try {
             for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
                 if ("Nimbus".equals(info.getName())) {
                     UIManager.setLookAndFeel(info.getClassName());
< prev index next >