Sample Code Sample Code: Customize 1st Column Header


Properties properties = ...

// Header for the default column in details view.
properties.setPropertyObject(
    VConsoleProperties.DEFAULTCOLUMNHEADER,
    "My Column");

// Pixel width of the column grid during large/small icon view.
// Typically, you wouldn't hardcode the value as shown here, but
// should compute the value based on the font used in the View
// pane.
properties.setProperty(
    VConsoleProperties.DEFAULTCOLUMNWIDTH,
    "28");