@Override public void artifactsChanged(ArrayList<Artifact> newArtifacts) { setArtifacts(newArtifacts); repaint(); } }
public JPanel createAndAttachPlotterLegendPanel() { JPanel flashyNewJayPanel = new JPanel(); PlotterLegendPanel plotterLegendPanel = new PlotterLegendPanel(plotter2dAdapter); plotterLegendPanel.setPreferredSize(new Dimension(500, 500)); addArtifactsChangedListener(plotterLegendPanel); flashyNewJayPanel.setLayout(new BorderLayout()); flashyNewJayPanel.add(panel, "Center"); flashyNewJayPanel.add(plotterLegendPanel, "South"); return flashyNewJayPanel; }
public void setArtifacts(ArrayList<Artifact> artifacts) { this.artifacts.clear(); this.artifacts.addAll(artifacts); repaint(); }
public PlotterLegendPanel createPlotterLegendPanel() { PlotterLegendPanel plotterLegendPanel = new PlotterLegendPanel(plotter2dAdapter); addArtifactsChangedListener(plotterLegendPanel); return plotterLegendPanel; }
setPreferredSize(new Dimension(400, y+deltaY));
public JPanel createAndAttachPlotterLegendPanel() { JPanel flashyNewJayPanel = new JPanel(); PlotterLegendPanel plotterLegendPanel = new PlotterLegendPanel(plotter2dAdapter); plotterLegendPanel.setPreferredSize(new Dimension(500, 500)); addArtifactsChangedListener(plotterLegendPanel); flashyNewJayPanel.setLayout(new BorderLayout()); flashyNewJayPanel.add(panel, "Center"); flashyNewJayPanel.add(plotterLegendPanel, "South"); return flashyNewJayPanel; }
public void setArtifacts(ArrayList<Artifact> artifacts) { this.artifacts.clear(); this.artifacts.addAll(artifacts); repaint(); }
public PlotterLegendPanel createPlotterLegendPanel() { PlotterLegendPanel plotterLegendPanel = new PlotterLegendPanel(plotter2dAdapter); addArtifactsChangedListener(plotterLegendPanel); return plotterLegendPanel; }
setPreferredSize(new Dimension(400, y+deltaY));
@Override public void artifactsChanged(ArrayList<Artifact> newArtifacts) { setArtifacts(newArtifacts); repaint(); } }