equal
deleted
inserted
replaced
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") |