public TitlesComponent(
     WizardDialog _CurUnoDialog,
     int _iStep,
     int _iCompPosX,
     int _iCompPosY,
     int _iCompWidth,
     int _uitextfieldcount,
     String _slblColumnNames,
     String _slblColumnTitles,
     int _firsthelpindex) {
   super(
       _CurUnoDialog,
       null,
       _iStep,
       _iCompPosX,
       _iCompPosY,
       _iCompWidth,
       _uitextfieldcount,
       18,
       _firsthelpindex);
   CurUnoDialog.insertControlModel(
       "com.sun.star.awt.UnoControlFixedTextModel",
       "lblColumnNames",
       new String[] {
         PropertyNames.PROPERTY_HEIGHT,
         PropertyNames.PROPERTY_LABEL,
         PropertyNames.PROPERTY_POSITION_X,
         PropertyNames.PROPERTY_POSITION_Y,
         PropertyNames.PROPERTY_STEP,
         PropertyNames.PROPERTY_WIDTH
       },
       new Object[] {
         8, _slblColumnNames, new Integer(iLabelPosX), new Integer(iCompPosY - 10), IStep, 60
       });
   CurUnoDialog.insertControlModel(
       "com.sun.star.awt.UnoControlFixedTextModel",
       "lblColumnTitles",
       new String[] {
         PropertyNames.PROPERTY_HEIGHT,
         PropertyNames.PROPERTY_LABEL,
         PropertyNames.PROPERTY_POSITION_X,
         PropertyNames.PROPERTY_POSITION_Y,
         PropertyNames.PROPERTY_STEP,
         PropertyNames.PROPERTY_WIDTH
       },
       new Object[] {8, _slblColumnTitles, 90, new Integer(iCompPosY - 10), IStep, 152});
 }
    public ControlRow(int _index, int _iCompPosY) {
      String slabelname = getColumnName(_index);
      String stextfieldname = getTitleName(_index);

      CurUnoDialog.insertControlModel(
          "com.sun.star.awt.UnoControlFixedTextModel",
          slabelname,
          new String[] {
            PropertyNames.PROPERTY_HEIGHT,
            PropertyNames.PROPERTY_MULTILINE,
            PropertyNames.PROPERTY_POSITION_X,
            PropertyNames.PROPERTY_POSITION_Y,
            PropertyNames.PROPERTY_STEP,
            PropertyNames.PROPERTY_TABINDEX,
            PropertyNames.PROPERTY_WIDTH
          },
          new Object[] {
            16,
            Boolean.TRUE,
            new Integer(iLabelPosX),
            new Integer(_iCompPosY + 1),
            UIConsts.INVISIBLESTEP,
            new Short(curtabindex++),
            30
          });

      xTextComponent =
          CurUnoDialog.insertTextField(
              stextfieldname,
              0,
              null,
              new String[] {
                PropertyNames.PROPERTY_HEIGHT,
                PropertyNames.PROPERTY_HELPURL,
                PropertyNames.PROPERTY_POSITION_X,
                PropertyNames.PROPERTY_POSITION_Y,
                PropertyNames.PROPERTY_STEP,
                PropertyNames.PROPERTY_TABINDEX,
                PropertyNames.PROPERTY_WIDTH
              },
              new Object[] {
                12,
                HelpIds.getHelpIdString(curHelpIndex++),
                new Integer(iLabelPosX + 30),
                new Integer(_iCompPosY),
                UIConsts.INVISIBLESTEP,
                new Short(curtabindex++),
                new Integer(iCompWidth - 90 - 20)
              });
    }