# "Table Header font" property for the Alarm Journal Component

**URL:** <https://forum.inductiveautomation.com/t/table-header-font-property-for-the-alarm-journal-component/8518>\
**Category:** Ignition\
**Created:** [June 4, 2014, 3:47pm UTC](https://forum.inductiveautomation.com/t/table-header-font-property-for-the-alarm-journal-component/8518 "2014-06-04T15:47:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 4, 2014, 3:47pm UTC](https://forum.inductiveautomation.com/t/table-header-font-property-for-the-alarm-journal-component/8518/1 "2014-06-04T15:47:38Z")

</div>

Can you please add “Table Header font” property for the Alarm Journal Component.  
We have it for the Alarm Status Component.

---

<div class="post-metadata">

**Author:** ![gianluca.selvatici](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gianluca.selvatici](https://forum.inductiveautomation.com/u/gianluca.selvatici)\
**Post date:** [March 5, 2019, 1:42pm UTC](https://forum.inductiveautomation.com/t/table-header-font-property-for-the-alarm-journal-component/8518/2 "2019-03-05T13:42:51Z")

</div>

same request please add the property

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 5, 2019, 4:08pm UTC](https://forum.inductiveautomation.com/t/table-header-font-property-for-the-alarm-journal-component/8518/3 "2019-03-05T16:08:50Z")

</div>

As a workaround, you can put in the visionWindowsOpened script

```auto
target = system.gui.getParentWindow(event).getComponentForPath('Root Container.TabAlarmJournal')

table = FieldUtils.readField(target, "table", True)
header = table.getTableHeader()
header.setFont(header.getFont().deriveFont(Font.BOLD)) 

```

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [August 20, 2019, 8:14am UTC](https://forum.inductiveautomation.com/t/table-header-font-property-for-the-alarm-journal-component/8518/4 "2019-08-20T08:14:46Z")

</div>

Just to ‘complete’ your code for posterity:

```auto
from org.apache.commons.lang3.reflect import FieldUtils
from java.awt import Font

target = system.gui.getParentWindow(event).getComponentForPath('Root Container.Alarm Journal')

table = FieldUtils.readField(target, "table", True)
header = table.getTableHeader()
font_Size = 16
font = Font("Arial Narrow", Font.BOLD, font_Size)
#header.setFont(header.getFont().deriveFont(Font.BOLD)) 
header.setFont(font)

```
