Skip to content
Snippets Groups Projects
Commit 4b777615 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

added JScrollPane for attributes tree (CONTROLGUI-390)

parent 8b94d089
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ import fr.soleil.lib.project.swing.Splash;
public class CometeTrend extends JFrame implements ITrendFileListener {
private static final long serialVersionUID = 2581054961564129497L;
private static final long serialVersionUID = -4976136351985828913L;
private static final Logger LOGGER = LoggerFactory.getLogger(CometeTrend.class);
......@@ -62,6 +62,7 @@ public class CometeTrend extends JFrame implements ITrendFileListener {
private TrendMenu trendMenu;
private ChartPanel chartPanel;
private TrendTreePanel attributeTree;
private JScrollPane attributeTreeScrollPane;
private JSplitPane splitPane;
private JTextArea console;
private JScrollPane consoleScrollPane;
......@@ -140,13 +141,14 @@ public class CometeTrend extends JFrame implements ITrendFileListener {
}
private void initSplitPane() {
splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, attributeTree, chartPanel);
splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, attributeTreeScrollPane, chartPanel);
splitPane.setOneTouchExpandable(true);
splitPane.setDividerLocation(dividerLocation);
}
private void initAttributeTree() {
attributeTree = new TrendTreePanel(controller, trendMenu.getAddAttributesAction());
attributeTreeScrollPane = new JScrollPane(attributeTree);
}
private void initTrendMenu() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment