< prev index next >
src/demo/share/jfc/J2Ddemo/java2d/demos/Clipping/Areas.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:
*
@@ -139,11 +139,11 @@
g2.fill(area);
g2.setColor(RED);
g2.draw(area);
}
- public static void main(String argv[]) {
+ public static void main(String[] argv) {
createDemoFrame(new Areas());
}
static final class DemoControls extends CustomControls implements
< prev index next >