@Test public void testGetGraphPanelContainer() { System.out.println("getGraphPanelContainer"); DbMonGui instance = new DbMonGui(); JPanel result = instance.getGraphPanelContainer(); assertNotNull(result); }
@Override protected JPanel getGraphPanelContainer() { JPanel panel = new JPanel(new BorderLayout()); JPanel innerTopPanel = new JPanel(new BorderLayout()); errorPane = new JScrollPane(); errorPane.setMinimumSize(new Dimension(100, 50)); errorPane.setPreferredSize(new Dimension(100, 50)); errorTextArea = new JTextArea(); errorTextArea.setForeground(Color.red); errorTextArea.setBackground(new Color(255, 255, 153)); errorTextArea.setEditable(false); errorPane.setViewportView(errorTextArea); registerPopup(); innerTopPanel.add(createSamplerPanel(), BorderLayout.NORTH); innerTopPanel.add(errorPane, BorderLayout.SOUTH); innerTopPanel.add(getFilePanel(), BorderLayout.CENTER); panel.add(innerTopPanel, BorderLayout.NORTH); errorPane.setVisible(false); return panel; }
DbMonGui extends AbstractOverTimeVisualizer { @Override protected JPanel getGraphPanelContainer() { JPanel panel = new JPanel(new BorderLayout()); JPanel innerTopPanel = new JPanel(new BorderLayout()); errorPane = new JScrollPane(); errorPane.setMinimumSize(new Dimension(100, 50)); errorPane.setPreferredSize(new Dimension(100, 50)); errorTextArea = new JTextArea(); errorTextArea.setForeground(Color.red); errorTextArea.setBackground(new Color(255, 255, 153)); errorTextArea.setEditable(false); errorPane.setViewportView(errorTextArea); registerPopup(); innerTopPanel.add(createSamplerPanel(), BorderLayout.NORTH); innerTopPanel.add(errorPane, BorderLayout.SOUTH); innerTopPanel.add(getFilePanel(), BorderLayout.CENTER); panel.add(innerTopPanel, BorderLayout.NORTH); errorPane.setVisible(false); return panel; } }
DbMonGui extends AbstractOverTimeVisualizer { @Override protected JPanel getGraphPanelContainer() { JPanel panel = new JPanel(new BorderLayout()); JPanel innerTopPanel = new JPanel(new BorderLayout()); errorPane = new JScrollPane(); errorPane.setMinimumSize(new Dimension(100, 50)); errorPane.setPreferredSize(new Dimension(100, 50)); errorTextArea = new JTextArea(); errorTextArea.setForeground(Color.red); errorTextArea.setBackground(new Color(255, 255, 153)); errorTextArea.setEditable(false); errorPane.setViewportView(errorTextArea); registerPopup(); innerTopPanel.add(createSamplerPanel(), BorderLayout.NORTH); innerTopPanel.add(errorPane, BorderLayout.SOUTH); innerTopPanel.add(getFilePanel(), BorderLayout.CENTER); panel.add(innerTopPanel, BorderLayout.NORTH); errorPane.setVisible(false); return panel; } DbMonGui(); }
DbMonGui extends AbstractOverTimeVisualizer { @Override protected JPanel getGraphPanelContainer() { JPanel panel = new JPanel(new BorderLayout()); JPanel innerTopPanel = new JPanel(new BorderLayout()); errorPane = new JScrollPane(); errorPane.setMinimumSize(new Dimension(100, 50)); errorPane.setPreferredSize(new Dimension(100, 50)); errorTextArea = new JTextArea(); errorTextArea.setForeground(Color.red); errorTextArea.setBackground(new Color(255, 255, 153)); errorTextArea.setEditable(false); errorPane.setViewportView(errorTextArea); registerPopup(); innerTopPanel.add(createSamplerPanel(), BorderLayout.NORTH); innerTopPanel.add(errorPane, BorderLayout.SOUTH); innerTopPanel.add(getFilePanel(), BorderLayout.CENTER); panel.add(innerTopPanel, BorderLayout.NORTH); errorPane.setVisible(false); return panel; } DbMonGui(); @Override String getWikiPage(); @Override String getLabelResource(); @Override String getStaticLabel(); void clearErrorMessage(); @Override void clearData(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void configure(TestElement te); @Override void add(SampleResult res); }
DbMonGui extends AbstractOverTimeVisualizer { @Override protected JPanel getGraphPanelContainer() { JPanel panel = new JPanel(new BorderLayout()); JPanel innerTopPanel = new JPanel(new BorderLayout()); errorPane = new JScrollPane(); errorPane.setMinimumSize(new Dimension(100, 50)); errorPane.setPreferredSize(new Dimension(100, 50)); errorTextArea = new JTextArea(); errorTextArea.setForeground(Color.red); errorTextArea.setBackground(new Color(255, 255, 153)); errorTextArea.setEditable(false); errorPane.setViewportView(errorTextArea); registerPopup(); innerTopPanel.add(createSamplerPanel(), BorderLayout.NORTH); innerTopPanel.add(errorPane, BorderLayout.SOUTH); innerTopPanel.add(getFilePanel(), BorderLayout.CENTER); panel.add(innerTopPanel, BorderLayout.NORTH); errorPane.setVisible(false); return panel; } DbMonGui(); @Override String getWikiPage(); @Override String getLabelResource(); @Override String getStaticLabel(); void clearErrorMessage(); @Override void clearData(); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement te); @Override void configure(TestElement te); @Override void add(SampleResult res); static final String[] columnIdentifiers; static final Class[] columnClasses; }