Search in sources :

Example 1 with ElementSelectionPanel

use of net.parostroj.timetable.gui.components.ElementSelectionPanel in project grafikon by jub77.

the class EditFNConnetionDialog method addSelectionPanel.

private void addSelectionPanel(FilterType filterType, JTabbedPane tabbedPane) {
    ElementSelectionPanel<Node> selectionPanel = new ElementSelectionPanel<Node>();
    selectionPanels.put(filterType, selectionPanel);
    selectionPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
    tabbedPane.addTab(ResourceLoader.getString(filterType.getResourceKey()), null, selectionPanel, null);
}
Also used : Node(net.parostroj.timetable.model.Node) ElementSelectionPanel(net.parostroj.timetable.gui.components.ElementSelectionPanel) EmptyBorder(javax.swing.border.EmptyBorder)

Aggregations

EmptyBorder (javax.swing.border.EmptyBorder)1 ElementSelectionPanel (net.parostroj.timetable.gui.components.ElementSelectionPanel)1 Node (net.parostroj.timetable.model.Node)1