/** * Returns a panel to be displayed with the AboutAction. * * @return the panel with some information on the scripting panel */ protected JPanel getAboutPanel() { JPanel result; JPanel panel; result = new JPanel(new BorderLayout()); result.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); // image result.add(new JLabel(ComponentHelper.getImageIcon(IMAGES_DIR + "/jython_medium.png")), BorderLayout.CENTER); // links panel = new JPanel(new GridLayout(5, 1)); panel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); result.add(panel, BorderLayout.SOUTH); panel.add(new JLabel("Jython homepage")); panel.add(BrowserHelper.createLink("http://www.jython.org/", null)); panel.add(new JLabel(" ")); panel.add(new JLabel("Weka and Jython")); panel.add(BrowserHelper.createLink("http://weka.wikispaces.com/Using+Weka+from+Jython", null)); return result; }
/** * Returns a panel to be displayed with the AboutAction. * * @return the panel with some information on the scripting panel */ protected JPanel getAboutPanel() { JPanel result; JPanel panel; result = new JPanel(new BorderLayout()); result.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); // image result.add(new JLabel(ComponentHelper.getImageIcon(IMAGES_DIR + "/groovy_medium.png")), BorderLayout.CENTER); // links panel = new JPanel(new GridLayout(5, 1)); panel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); result.add(panel, BorderLayout.SOUTH); panel.add(new JLabel("Groovy homepage")); panel.add(BrowserHelper.createLink("http://groovy.codehaus.org/", null)); panel.add(new JLabel(" ")); panel.add(new JLabel("Weka and Groovy")); panel.add(BrowserHelper.createLink("http://weka.wikispaces.com/Using+Weka+from+Groovy", null)); return result; }
/** * Returns a panel to be displayed with the AboutAction. * * @return the panel with some information on the scripting panel */ protected JPanel getAboutPanel() { JPanel result; JPanel panel; result = new JPanel(new BorderLayout()); result.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); // image result.add(new JLabel(ComponentHelper.getImageIcon(IMAGES_DIR + "/jython_medium.png")), BorderLayout.CENTER); // links panel = new JPanel(new GridLayout(5, 1)); panel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); result.add(panel, BorderLayout.SOUTH); panel.add(new JLabel("Jython homepage")); panel.add(BrowserHelper.createLink("http://www.jython.org/", null)); panel.add(new JLabel(" ")); panel.add(new JLabel("Weka and Jython")); panel.add(BrowserHelper.createLink("http://weka.wikispaces.com/Using+Weka+from+Jython", null)); return result; }
/** * Returns a panel to be displayed with the AboutAction. * * @return the panel with some information on the scripting panel */ protected JPanel getAboutPanel() { JPanel result; JPanel panel; result = new JPanel(new BorderLayout()); result.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); // image result.add(new JLabel(ComponentHelper.getImageIcon(IMAGES_DIR + "/groovy_medium.png")), BorderLayout.CENTER); // links panel = new JPanel(new GridLayout(5, 1)); panel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); result.add(panel, BorderLayout.SOUTH); panel.add(new JLabel("Groovy homepage")); panel.add(BrowserHelper.createLink("http://groovy.codehaus.org/", null)); panel.add(new JLabel(" ")); panel.add(new JLabel("Weka and Groovy")); panel.add(BrowserHelper.createLink("http://weka.wikispaces.com/Using+Weka+from+Groovy", null)); return result; }