private Component createInfoBox() { Box infoBox = new Box(BoxLayout.PAGE_AXIS); infoBox.add(Box.createRigidArea(new Dimension(0, 7))); infoBox.add(createAuthorPanel()); infoBox.add(Box.createRigidArea(new Dimension(0, 7))); infoBox.add(createLicensePanel()); infoBox.add(Box.createRigidArea(new Dimension(0, 7))); infoBox.add(createDocPanel()); return infoBox; }
private Component createInfoBox() { Box infoBox = new Box(BoxLayout.PAGE_AXIS); infoBox.setBorder(ComponentFactory.createTitledBorder("Plugin info")); infoBox.add(Box.createRigidArea(new Dimension(0, 10))); infoBox.add(createAuthorPanel()); infoBox.add(Box.createRigidArea(new Dimension(0, 10))); infoBox.add(createLicensePanel()); infoBox.add(Box.createRigidArea(new Dimension(0, 20))); infoBox.add(createDocPanel()); return infoBox; }
private Component createInfoBox() { Box infoBox = new Box(BoxLayout.PAGE_AXIS); infoBox.setBorder(ComponentFactory.createTitledBorder("Plugin info")); infoBox.add(Box.createRigidArea(new Dimension(0, 10))); infoBox.add(createAuthorPanel()); infoBox.add(Box.createRigidArea(new Dimension(0, 10))); infoBox.add(createLicensePanel()); infoBox.add(Box.createRigidArea(new Dimension(0, 20))); infoBox.add(createDocPanel()); return infoBox; }