public class GenericNodePage extends FormPage implements JcrExplorerConstants {
private final static Log log = LogFactory.getLog(GenericNodePage.class);
public class GenericNodePage extends FormPage implements JcrExplorerConstants {
private final static Log log = LogFactory.getLog(GenericNodePage.class);
- try {
- tk = managedForm.getToolkit();
- ScrolledForm form = managedForm.getForm();
- GridLayout twt = new GridLayout(3, false);
- twt.marginWidth = twt.marginHeight = 0;
+ tk = managedForm.getToolkit();
+ ScrolledForm form = managedForm.getForm();
+ GridLayout twt = new GridLayout(3, false);
+ twt.marginWidth = twt.marginHeight = 5;
- form.getBody().setLayout(twt);
-
- createPropertiesPart(form.getBody());
- } catch (Exception e) {
- e.printStackTrace();
- }
+ form.getBody().setLayout(twt);
+ createPropertiesPart(form.getBody());