OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 74 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 74 Rev 181
Line 12... Line 12...
12
    private JSplitPane split;
12
    private JSplitPane split;
13
 
13
 
14
    public TableModifyMainPanel(Extension extension) {
14
    public TableModifyMainPanel(Extension extension) {
15
        this.setLayout(new GridLayout(1, 1));
15
        this.setLayout(new GridLayout(1, 1));
16
        final TableModifyLeftPanel newLeftComponent = new TableModifyLeftPanel(extension, this);
16
        final TableModifyLeftPanel newLeftComponent = new TableModifyLeftPanel(extension, this);
17
        split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, newLeftComponent, new JPanel());
17
        this.split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, newLeftComponent, new JPanel());
18
        this.add(split);
18
        this.add(this.split);
19
    }
19
    }
20
 
20
 
21
    public void setRightPanel(JComponent p) {
21
    public void setRightPanel(JComponent p) {
22
        this.invalidate();
22
        this.invalidate();
23
        split.setRightComponent(p);
23
        this.split.setRightComponent(p);
24
        this.revalidate();
24
        this.revalidate();
25
        this.repaint();
25
        this.repaint();
26
    }
26
    }
27
}
27
}