Borders are painted for some controls that are selected by the toolkit by default. If a control needs a border but is not on its list, it is possible to force borders in the following ways:
widget.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TREE_BORDER); or widget.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER);
If borders would normally be painted for a control, but they are not wanted, it is possible to suppress them in the following way:
widget.setData(FormToolkit.KEY_DRAW_BORDER, Boolean.FALSE);@param parent the parent that owns the children for which the border needs to be painted.
|
|