1 /*
2 * Copyright (C) 2000 Bill Bereza
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Author: Bill Bereza
19 * email : bereza@pobox.com
20 * url : http://www.pobox.com/~bereza/
21 */
22 package net.bereza.gui;
23
24 import java.text.DateFormat;
25
26 /**
27 * DateRenderer is a TableCellRender which displays dates in
28 * some date format.
29 *
30 * @author $Author: bereza $
31 * @version $Revision: 1.2 $
32 * <p>
33 * $Log: DateRenderer.java,v $
34 * Revision 1.2 2000/03/30 01:57:21 bereza
35 * Added copyright header
36 *
37 * Revision 1.1 2000/03/12 15:17:54 bereza
38 * Initial revision
39 *
40 * <p>
41 * $Id: DateRenderer.java,v 1.2 2000/03/30 01:57:21 bereza Exp $
42 */
43 public class DateRenderer extends FormatRenderer
44 {
45 public DateRenderer()
46 {
47 this(DateFormat.getInstance());
48 }
49
50 public DateRenderer(DateFormat f)
51 {
52 super(f);
53 }
54 }
55