[Openproj-commitlog] openproj_ui/src/com/projity/pm/graphic/gantt GanttRenderer.java, 1.1, 1.2
Open Source desktop project management
Brought to you by:
akheirol
From: l <sur...@us...> - 2007-10-10 01:14:49
|
Update of /cvsroot/openproj/openproj_ui/src/com/projity/pm/graphic/gantt In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8748/src/com/projity/pm/graphic/gantt Modified Files: GanttRenderer.java Log Message: font as param Index: GanttRenderer.java =================================================================== RCS file: /cvsroot/openproj/openproj_ui/src/com/projity/pm/graphic/gantt/GanttRenderer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- GanttRenderer.java 15 Aug 2007 23:28:27 -0000 1.1 +++ GanttRenderer.java 10 Oct 2007 01:14:51 -0000 1.2 @@ -30,7 +30,7 @@ use the latest text at http://www.projity.com/license for your modifications. You may not remove this license text from the source files.] -Attribution Information: Attribution Copyright Notice: Copyright © 2006, 2007 +Attribution Information: Attribution Copyright Notice: Copyright � 2006, 2007 Projity, Inc. Attribution Phrase (not exceeding 10 words): Powered by OpenProj, an open source solution from Projity. Attribution URL: http://www.projity.com Graphic Image as provided in the Covered Code as file: openproj_logo.png with @@ -103,6 +103,8 @@ import com.projity.timescale.TimeInterval; import com.projity.timescale.TimeIterator; import com.projity.util.DateTime; +import com.projity.util.Environment; +import com.projity.util.FontUtil; public class GanttRenderer extends GraphRenderer implements Serializable { /** @@ -293,7 +295,7 @@ rendererPane=new CellRendererPane(); container.add(rendererPane); } - component.setFont(Font.decode("TimesRoman BOLD 11")); + component.setFont(FontUtil.getFont(null,Environment.GANTT_ANNOTATIONS_FONT)); fontMetrics=component.getFontMetrics(component.getFont()); } |