addWidget

Use the core.PatchEditorFrame#addWidget method to insert a SysexWidget of your choice...
addWidget has these constructors:
  1. addWidget(JComponent parent, SysexWidget widget, int gridx, int gridy, int gridwidth, int gridheight, int anchor, int fill, int slidernum)
  2. addWidget(JComponent parent, SysexWidget widget, int gridx, int gridy, int gridwidth, int gridheight, int slidernum)
  3. addWidget(SysexWidget widget, int gridx, int gridy, int gridwidth, int gridheight, int slidernum)
@param: parent : the base JComponent is scrollPane, but your can define your own.
@param: widget : the SysexWidget to add, usually it takes a ParamModel and SysexSender in its constructor.
@param: gridx : the vertical position in the grid. 0 is on top, upgoing numbers mean the vertical position goes down.
@param: gridy : the horizontal position in the grid. 0 is left, upgoing values mean the horizontal position is more to the right.
@param: gridwidth : the number of colums your GridBagLayout has.
@param: gridheight : the number of rows your GridBagLayout has.
@param: anchor : I don't know what this does.
@param: fill : I don't know what this does.
@param: slidernum : the faderbank slider number, for use with midi continuous controllers