equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
113 |
113 |
114 static final Border CBorder = new CommentBorder(); |
114 static final Border CBorder = new CommentBorder(); |
115 static final int commentPadding = 3; |
115 static final int commentPadding = 3; |
116 static final int commentPaddingD = commentPadding * 3; |
116 static final int commentPaddingD = commentPadding * 3; |
117 |
117 |
|
118 @SuppressWarnings("serial") // Superclass is not serializable across versions |
118 static class CommentBorder extends LineBorder { |
119 static class CommentBorder extends LineBorder { |
119 CommentBorder() { |
120 CommentBorder() { |
120 super(Color.black, 1); |
121 super(Color.black, 1); |
121 } |
122 } |
122 |
123 |