< prev index next >

src/demo/share/jfc/J2Ddemo/java2d/demos/Transforms/Rotate.java

Print this page

        

*** 1,8 **** /* * ! * Copyright (c) 2007, 2011, 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: * --- 1,8 ---- /* * ! * 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: *
*** 97,107 **** g2.draw(ellipse); g2.setColor(BLACK); g2.drawString("Rotate", 5, 15); } ! public static void main(String s[]) { createDemoFrame(new Rotate()); } static class DemoControls extends CustomControls implements ActionListener { --- 97,107 ---- g2.draw(ellipse); g2.setColor(BLACK); g2.drawString("Rotate", 5, 15); } ! public static void main(String[] s) { createDemoFrame(new Rotate()); } static class DemoControls extends CustomControls implements ActionListener {
< prev index next >