src/demo/share/jfc/J2Ddemo/java2d/demos/Clipping/Text.java
changeset 52252 de9486d74a74
parent 50146 0bb0e464ee76
equal deleted inserted replaced
52251:b43c2aa001a5 52252:de9486d74a74
     1 /*
     1 /*
     2  *
     2  *
     3  * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
     4  *
     4  *
     5  * Redistribution and use in source and binary forms, with or without
     5  * Redistribution and use in source and binary forms, with or without
     6  * modification, are permitted provided that the following conditions
     6  * modification, are permitted provided that the following conditions
     7  * are met:
     7  * are met:
     8  *
     8  *
   159 
   159 
   160         g2.setColor(GRAY);
   160         g2.setColor(GRAY);
   161         g2.draw(shape);
   161         g2.draw(shape);
   162     }
   162     }
   163 
   163 
   164     public static void main(String s[]) {
   164     public static void main(String[] s) {
   165         createDemoFrame(new Text());
   165         createDemoFrame(new Text());
   166     }
   166     }
   167 
   167 
   168 
   168 
   169     @SuppressWarnings("serial")
   169     @SuppressWarnings("serial")