Search in sources :

Example 6 with Path

use of org.beanfabrics.Path in project grafikon by jub77.

the class EditInfoDialog method createRoutePanel.

private JPanel createRoutePanel(Font font) {
    JPanel routePanel = new JPanel();
    GridBagLayout gbl_routePanel = new GridBagLayout();
    routePanel.setLayout(gbl_routePanel);
    JLabel label = new JLabel(ResourceLoader.getString("info.route.number"));
    GridBagConstraints gbc_label = new GridBagConstraints();
    gbc_label.anchor = GridBagConstraints.NORTHWEST;
    gbc_label.insets = new Insets(0, 5, 0, 5);
    gbc_label.gridx = 0;
    gbc_label.gridy = 0;
    routePanel.add(label, gbc_label);
    BnTextAreaGrey routeNumberTextArea = new BnTextAreaGrey();
    routeNumberTextArea.setColumns(35);
    routeNumberTextArea.setRows(3);
    javax.swing.JScrollPane scrollPane1 = new javax.swing.JScrollPane();
    GridBagConstraints gbc_scrollPane1 = new GridBagConstraints();
    gbc_scrollPane1.anchor = GridBagConstraints.NORTHWEST;
    gbc_scrollPane1.insets = new Insets(0, 5, 0, 5);
    gbc_scrollPane1.gridx = 0;
    gbc_scrollPane1.gridy = 1;
    gbc_scrollPane1.weightx = 1.0;
    gbc_scrollPane1.fill = GridBagConstraints.HORIZONTAL;
    routePanel.add(scrollPane1, gbc_scrollPane1);
    scrollPane1.setViewportView(routeNumberTextArea);
    routeNumberTextArea.setFont(font);
    JLabel label_1 = new JLabel(ResourceLoader.getString("info.routes"));
    GridBagConstraints gbc_label_1 = new GridBagConstraints();
    gbc_label_1.anchor = GridBagConstraints.NORTHWEST;
    gbc_label_1.insets = new Insets(0, 5, 0, 5);
    gbc_label_1.gridx = 0;
    gbc_label_1.gridy = 2;
    routePanel.add(label_1, gbc_label_1);
    javax.swing.JScrollPane scrollPane2 = new javax.swing.JScrollPane();
    GridBagConstraints gbc_scrollPane2 = new GridBagConstraints();
    gbc_scrollPane2.weighty = 1.0;
    gbc_scrollPane2.insets = new Insets(0, 5, 5, 5);
    gbc_scrollPane2.anchor = GridBagConstraints.NORTHWEST;
    gbc_scrollPane2.gridx = 0;
    gbc_scrollPane2.gridy = 3;
    gbc_scrollPane2.weightx = 1.0;
    gbc_scrollPane2.fill = GridBagConstraints.BOTH;
    routePanel.add(scrollPane2, gbc_scrollPane2);
    BnTextAreaGrey routesTextArea = new BnTextAreaGrey();
    routesTextArea.setColumns(35);
    routesTextArea.setRows(5);
    scrollPane2.setViewportView(routesTextArea);
    routesTextArea.setFont(font);
    routeNumberTextArea.setModelProvider(provider);
    routeNumberTextArea.setPath(new Path("routeNumbers"));
    routesTextArea.setModelProvider(provider);
    routesTextArea.setPath(new Path("routeNodes"));
    return routePanel;
}
Also used : Path(org.beanfabrics.Path) JPanel(javax.swing.JPanel) BnTextAreaGrey(net.parostroj.timetable.gui.components.BnTextAreaGrey) org.beanfabrics.swing(org.beanfabrics.swing) JLabel(javax.swing.JLabel)

Example 7 with Path

use of org.beanfabrics.Path in project grafikon by jub77.

the class EditRegionDialog method initComponents.

private void initComponents() {
    ActionListener closeListener = evt -> setVisible(false);
    BnButton okButton = new BnButton();
    javax.swing.JButton cancelButton = new javax.swing.JButton();
    // NOI18N
    okButton.setText(ResourceLoader.getString("button.ok"));
    okButton.addActionListener(closeListener);
    // NOI18N
    cancelButton.setText(ResourceLoader.getString("button.cancel"));
    cancelButton.addActionListener(closeListener);
    JPanel panel = new JPanel();
    panel.setBorder(new EmptyBorder(5, 5, 5, 5));
    getContentPane().add(panel, BorderLayout.CENTER);
    GridBagLayout gbLayout = new GridBagLayout();
    gbLayout.columnWeights = new double[] { 0.0, 1.0 };
    gbLayout.rowWeights = new double[] { 0.0, 0.0, 0.0 };
    panel.setLayout(gbLayout);
    // NOI18N
    JLabel nameLabel = new JLabel(ResourceLoader.getString("edit.region.name"));
    GridBagConstraints dlCons = new GridBagConstraints();
    dlCons.anchor = GridBagConstraints.WEST;
    dlCons.insets = new Insets(0, 0, 5, 5);
    dlCons.gridx = 0;
    dlCons.gridy = 0;
    panel.add(nameLabel, dlCons);
    BnTextField nameTextField = new BnTextField();
    GridBagConstraints dtfCons = new GridBagConstraints();
    dtfCons.insets = new Insets(0, 0, 5, 0);
    dtfCons.anchor = GridBagConstraints.NORTH;
    dtfCons.fill = GridBagConstraints.HORIZONTAL;
    dtfCons.gridx = 1;
    dtfCons.gridy = 0;
    panel.add(nameTextField, dtfCons);
    nameTextField.setColumns(30);
    nameTextField.setModelProvider(provider);
    nameTextField.setPath(new Path("name"));
    // NOI18N
    JLabel localeLabel = new JLabel(ResourceLoader.getString("edit.region.locale"));
    GridBagConstraints llCons = new GridBagConstraints();
    llCons.anchor = GridBagConstraints.WEST;
    llCons.insets = new Insets(0, 0, 5, 5);
    llCons.gridx = 0;
    llCons.gridy = 1;
    panel.add(localeLabel, llCons);
    BnComboBox localeComboBox = new BnComboBox();
    GridBagConstraints ltfCons = new GridBagConstraints();
    ltfCons.insets = new Insets(0, 0, 5, 0);
    ltfCons.fill = GridBagConstraints.HORIZONTAL;
    ltfCons.gridx = 1;
    ltfCons.gridy = 1;
    panel.add(localeComboBox, ltfCons);
    localeComboBox.setModelProvider(provider);
    localeComboBox.setPath(new Path("locale"));
    // NOI18N
    JLabel superRegionLabel = new JLabel(ResourceLoader.getString("edit.region.super.region"));
    GridBagConstraints srlCons = new GridBagConstraints();
    srlCons.anchor = GridBagConstraints.WEST;
    srlCons.insets = new Insets(0, 0, 5, 5);
    srlCons.gridx = 0;
    srlCons.gridy = 2;
    panel.add(superRegionLabel, srlCons);
    BnComboBox superRegionComboBox = new BnComboBox();
    GridBagConstraints srltfCons = new GridBagConstraints();
    srltfCons.insets = new Insets(0, 0, 5, 0);
    srltfCons.fill = GridBagConstraints.HORIZONTAL;
    srltfCons.gridx = 1;
    srltfCons.gridy = 2;
    panel.add(superRegionComboBox, srltfCons);
    superRegionComboBox.setModelProvider(provider);
    superRegionComboBox.setPath(new Path("superRegion"));
    // NOI18N
    JLabel colorRegionLabel = new JLabel(ResourceLoader.getString("edit.region.color.region"));
    GridBagConstraints cclCons = new GridBagConstraints();
    cclCons.anchor = GridBagConstraints.WEST;
    cclCons.insets = new Insets(0, 0, 5, 5);
    cclCons.gridx = 0;
    cclCons.gridy = 3;
    panel.add(colorRegionLabel, cclCons);
    BnCheckBox colorRegionCheckBox = new BnCheckBox();
    colorRegionCheckBox.setBorder(null);
    GridBagConstraints cccbCons = new GridBagConstraints();
    cccbCons.insets = new Insets(0, 0, 5, 0);
    cccbCons.fill = GridBagConstraints.HORIZONTAL;
    cccbCons.gridx = 1;
    cccbCons.gridy = 3;
    panel.add(colorRegionCheckBox, cccbCons);
    colorRegionCheckBox.setModelProvider(provider);
    colorRegionCheckBox.setPath(new Path("colorRegion"));
    JScrollPane scrollPane = new JScrollPane();
    BnTable mapTable = new BnTable();
    Dimension viewportSize = mapTable.getPreferredScrollableViewportSize();
    viewportSize.setSize(0, mapTable.getRowHeight() * DEFAULT_ROW_COUNT);
    mapTable.setPreferredScrollableViewportSize(viewportSize);
    GridBagConstraints mapCons = new GridBagConstraints();
    mapCons.insets = new Insets(0, 0, 5, 0);
    mapCons.fill = GridBagConstraints.BOTH;
    mapCons.gridx = 0;
    mapCons.gridy = 4;
    mapCons.weighty = 1.0;
    mapCons.gridwidth = 2;
    panel.add(scrollPane, mapCons);
    scrollPane.setViewportView(mapTable);
    mapTable.setModelProvider(provider);
    mapTable.setPath(new Path("colorMap"));
    // NOI18N
    mapTable.addColumn(new BnColumn(new Path("color"), ResourceLoader.getString("edit.region.color")));
    // NOI18N
    mapTable.addColumn(new BnColumn(new Path("region"), ResourceLoader.getString("edit.region.region")));
    mapTable.setSortable(true);
    JPanel addRemovePanel = new JPanel();
    GridBagConstraints arCons = new GridBagConstraints();
    arCons.insets = new Insets(0, 0, 5, 0);
    arCons.fill = GridBagConstraints.HORIZONTAL;
    arCons.gridx = 0;
    arCons.gridy = 5;
    arCons.gridwidth = 2;
    panel.add(addRemovePanel, arCons);
    addRemovePanel.setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0));
    BnButton addButton = GuiComponentUtils.createBnButton(GuiIcon.ADD, 2);
    addRemovePanel.add(addButton);
    addButton.setModelProvider(provider);
    addButton.setPath(new Path("add"));
    addRemovePanel.add(Box.createHorizontalStrut(5));
    BnButton removeButton = GuiComponentUtils.createBnButton(GuiIcon.REMOVE, 2);
    addRemovePanel.add(removeButton);
    removeButton.setModelProvider(provider);
    removeButton.setPath(new Path("remove"));
    Component verticalGlue = Box.createVerticalGlue();
    GridBagConstraints vgCons = new GridBagConstraints();
    vgCons.fill = GridBagConstraints.VERTICAL;
    vgCons.insets = new Insets(0, 0, 0, 5);
    vgCons.gridx = 0;
    vgCons.gridy = 6;
    panel.add(verticalGlue, vgCons);
    JPanel buttonPanel = new JPanel();
    FlowLayout flowLayout = (FlowLayout) buttonPanel.getLayout();
    flowLayout.setAlignment(FlowLayout.RIGHT);
    getContentPane().add(buttonPanel, BorderLayout.SOUTH);
    buttonPanel.add(okButton);
    buttonPanel.add(cancelButton);
    okButton.setModelProvider(provider);
    okButton.setPath(new Path("ok"));
}
Also used : BnTable(org.beanfabrics.swing.table.BnTable) ActionListener(java.awt.event.ActionListener) BnTextField(org.beanfabrics.swing.BnTextField) Collection(java.util.Collection) GuiComponentUtils(net.parostroj.timetable.gui.utils.GuiComponentUtils) Region(net.parostroj.timetable.model.Region) Path(org.beanfabrics.Path) BnCheckBox(org.beanfabrics.swing.BnCheckBox) BnComboBox(org.beanfabrics.swing.BnComboBox) java.awt(java.awt) ModelProvider(org.beanfabrics.ModelProvider) BnColumn(org.beanfabrics.swing.table.BnColumn) RegionPM(net.parostroj.timetable.gui.pm.RegionPM) ResourceLoader(net.parostroj.timetable.gui.utils.ResourceLoader) GuiIcon(net.parostroj.timetable.gui.utils.GuiIcon) Locale(java.util.Locale) EmptyBorder(javax.swing.border.EmptyBorder) TrainDiagram(net.parostroj.timetable.model.TrainDiagram) BnButton(org.beanfabrics.swing.BnButton) javax.swing(javax.swing) Path(org.beanfabrics.Path) BnCheckBox(org.beanfabrics.swing.BnCheckBox) javax.swing(javax.swing) ActionListener(java.awt.event.ActionListener) BnTextField(org.beanfabrics.swing.BnTextField) BnComboBox(org.beanfabrics.swing.BnComboBox) BnButton(org.beanfabrics.swing.BnButton) EmptyBorder(javax.swing.border.EmptyBorder) BnColumn(org.beanfabrics.swing.table.BnColumn) BnTable(org.beanfabrics.swing.table.BnTable)

Example 8 with Path

use of org.beanfabrics.Path in project grafikon by jub77.

the class LocalizedStringPM method initImpl.

private LolizationEditResult initImpl(LocalizedString string, Collection<Locale> availableLocales, boolean editable) {
    if (currentResult != null) {
        currentResult.finishBuild();
        currentResult = null;
    }
    if (string == null) {
        this.strings.clear();
        this.string.setText(null);
        this.string.setEditable(false);
        return null;
    }
    this.string.setEditable(true);
    currentResult = editable ? new EditResultImpl() : null;
    Collection<Locale> stringLocales = string.getLocales();
    Set<Locale> locales = new HashSet<>(availableLocales);
    locales.addAll(stringLocales);
    strings.clear();
    for (Locale locale : locales) {
        String text = string.getLocalizedString(locale);
        strings.add(new StringWithLocalePM(text, locale));
    }
    this.string.setText(string.getDefaultString());
    strings.sortBy(Arrays.asList(new SortKey(true, new Path("locale"))));
    return currentResult;
}
Also used : StringWithLocale(net.parostroj.timetable.model.LocalizedString.StringWithLocale) Locale(java.util.Locale) Path(org.beanfabrics.Path) SortKey(org.beanfabrics.model.SortKey) LocalizedString(net.parostroj.timetable.model.LocalizedString) HashSet(java.util.HashSet)

Example 9 with Path

use of org.beanfabrics.Path in project grafikon by jub77.

the class EditEngineClassDialog method initComponents.

private void initComponents() {
    ActionListener closeListener = evt -> setVisible(false);
    BnButton okButton = new BnButton();
    javax.swing.JButton cancelButton = new javax.swing.JButton();
    // NOI18N
    okButton.setText(ResourceLoader.getString("button.ok"));
    okButton.addActionListener(closeListener);
    // NOI18N
    cancelButton.setText(ResourceLoader.getString("button.cancel"));
    cancelButton.addActionListener(closeListener);
    JPanel panel = new JPanel();
    panel.setBorder(new EmptyBorder(5, 5, 5, 5));
    getContentPane().add(panel, BorderLayout.CENTER);
    GridBagLayout gbLayout = new GridBagLayout();
    panel.setLayout(gbLayout);
    // NOI18N
    JLabel nameLabel = new JLabel(ResourceLoader.getString("edit.engine.class.name"));
    GridBagConstraints dlCons = new GridBagConstraints();
    dlCons.anchor = GridBagConstraints.WEST;
    dlCons.insets = new Insets(0, 0, 5, 5);
    dlCons.gridx = 0;
    dlCons.gridy = 0;
    panel.add(nameLabel, dlCons);
    BnTextField nameTextField = new BnTextField();
    GridBagConstraints dtfCons = new GridBagConstraints();
    dtfCons.insets = new Insets(0, 0, 5, 0);
    dtfCons.anchor = GridBagConstraints.NORTH;
    dtfCons.fill = GridBagConstraints.HORIZONTAL;
    dtfCons.gridx = 1;
    dtfCons.gridy = 0;
    panel.add(nameTextField, dtfCons);
    nameTextField.setColumns(30);
    nameTextField.setModelProvider(localProvider);
    nameTextField.setPath(new Path("name"));
    // NOI18N
    JLabel localeLabel = new JLabel(ResourceLoader.getString("edit.engine.class.group.key"));
    GridBagConstraints llCons = new GridBagConstraints();
    llCons.anchor = GridBagConstraints.WEST;
    llCons.insets = new Insets(0, 0, 5, 5);
    llCons.gridx = 0;
    llCons.gridy = 1;
    panel.add(localeLabel, llCons);
    BnTextField groupKeyTextField = new BnTextField();
    GridBagConstraints ltfCons = new GridBagConstraints();
    ltfCons.insets = new Insets(0, 0, 5, 0);
    ltfCons.fill = GridBagConstraints.HORIZONTAL;
    ltfCons.gridx = 1;
    ltfCons.gridy = 1;
    panel.add(groupKeyTextField, ltfCons);
    groupKeyTextField.setModelProvider(localProvider);
    groupKeyTextField.setPath(new Path("groupKey"));
    Component verticalGlue = Box.createVerticalGlue();
    GridBagConstraints vgCons = new GridBagConstraints();
    vgCons.fill = GridBagConstraints.VERTICAL;
    vgCons.insets = new Insets(0, 0, 0, 5);
    vgCons.gridx = 0;
    vgCons.gridy = 2;
    panel.add(verticalGlue, vgCons);
    JPanel buttonPanel = new JPanel();
    FlowLayout flowLayout = (FlowLayout) buttonPanel.getLayout();
    flowLayout.setAlignment(FlowLayout.RIGHT);
    getContentPane().add(buttonPanel, BorderLayout.SOUTH);
    buttonPanel.add(okButton);
    buttonPanel.add(cancelButton);
    okButton.setModelProvider(localProvider);
    okButton.setPath(new Path("ok"));
}
Also used : FlowLayout(java.awt.FlowLayout) IModelProvider(org.beanfabrics.IModelProvider) Link(org.beanfabrics.Link) Insets(java.awt.Insets) ActionListener(java.awt.event.ActionListener) BnTextField(org.beanfabrics.swing.BnTextField) JDialog(javax.swing.JDialog) View(org.beanfabrics.View) Window(java.awt.Window) EngineClassPM(net.parostroj.timetable.gui.pm.EngineClassPM) Path(org.beanfabrics.Path) GridBagConstraints(java.awt.GridBagConstraints) Component(java.awt.Component) Box(javax.swing.Box) ModelProvider(org.beanfabrics.ModelProvider) ResourceLoader(net.parostroj.timetable.gui.utils.ResourceLoader) JLabel(javax.swing.JLabel) EmptyBorder(javax.swing.border.EmptyBorder) ModelSubscriber(org.beanfabrics.ModelSubscriber) BorderLayout(java.awt.BorderLayout) GridBagLayout(java.awt.GridBagLayout) BnButton(org.beanfabrics.swing.BnButton) JPanel(javax.swing.JPanel) Path(org.beanfabrics.Path) JPanel(javax.swing.JPanel) GridBagConstraints(java.awt.GridBagConstraints) Insets(java.awt.Insets) FlowLayout(java.awt.FlowLayout) GridBagLayout(java.awt.GridBagLayout) JLabel(javax.swing.JLabel) ActionListener(java.awt.event.ActionListener) BnTextField(org.beanfabrics.swing.BnTextField) BnButton(org.beanfabrics.swing.BnButton) EmptyBorder(javax.swing.border.EmptyBorder) Component(java.awt.Component)

Example 10 with Path

use of org.beanfabrics.Path in project grafikon by jub77.

the class CopyTrainDialog method initComponents.

private void initComponents() {
    ActionListener closeListener = evt -> setVisible(false);
    BnTextField nameTextField = new BnTextField();
    BnTextField timeTextField = new BnTextField();
    BnButton okButton = new BnButton();
    javax.swing.JButton cancelButton = new javax.swing.JButton();
    // NOI18N
    javax.swing.JLabel jLabel1 = new javax.swing.JLabel(ResourceLoader.getString("copy.train.name"));
    // NOI18N
    javax.swing.JLabel jLabel2 = new javax.swing.JLabel(ResourceLoader.getString("copy.train.time"));
    nameTextField.setColumns(20);
    timeTextField.setColumns(20);
    // NOI18N
    okButton.setText(ResourceLoader.getString("button.ok"));
    okButton.addActionListener(closeListener);
    // NOI18N
    cancelButton.setText(ResourceLoader.getString("button.cancel"));
    cancelButton.addActionListener(closeListener);
    BnCheckBox reversedCheckBox = new BnCheckBox();
    // NOI18N
    reversedCheckBox.setText(ResourceLoader.getString("copy.train.reversed"));
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    layout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap().addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addGroup(layout.createParallelGroup(Alignment.LEADING).addComponent(jLabel1).addComponent(jLabel2)).addPreferredGap(ComponentPlacement.RELATED).addGroup(layout.createParallelGroup(Alignment.LEADING).addComponent(reversedCheckBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE).addComponent(timeTextField).addComponent(nameTextField))).addGroup(Alignment.TRAILING, layout.createSequentialGroup().addComponent(okButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE).addPreferredGap(ComponentPlacement.RELATED).addComponent(cancelButton))).addContainerGap()));
    layout.setVerticalGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap().addGroup(layout.createParallelGroup(Alignment.BASELINE).addComponent(jLabel1).addComponent(nameTextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)).addPreferredGap(ComponentPlacement.RELATED).addGroup(layout.createParallelGroup(Alignment.BASELINE).addComponent(jLabel2).addComponent(timeTextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)).addPreferredGap(ComponentPlacement.RELATED).addComponent(reversedCheckBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE).addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addGroup(layout.createParallelGroup(Alignment.BASELINE).addComponent(cancelButton).addComponent(okButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)).addContainerGap()));
    getContentPane().setLayout(layout);
    nameTextField.setModelProvider(provider);
    nameTextField.setPath(new Path("number"));
    timeTextField.setModelProvider(provider);
    timeTextField.setPath(new Path("time"));
    reversedCheckBox.setModelProvider(provider);
    reversedCheckBox.setPath(new Path("reversed"));
    okButton.setModelProvider(provider);
    okButton.setPath(new Path("ok"));
    pack();
    this.setResizable(false);
}
Also used : ActionListener(java.awt.event.ActionListener) BnTextField(org.beanfabrics.swing.BnTextField) Window(java.awt.Window) Path(org.beanfabrics.Path) ComponentPlacement(javax.swing.LayoutStyle.ComponentPlacement) BnCheckBox(org.beanfabrics.swing.BnCheckBox) ModelProvider(org.beanfabrics.ModelProvider) Alignment(javax.swing.GroupLayout.Alignment) CopyTrainPM(net.parostroj.timetable.gui.pm.CopyTrainPM) BnButton(org.beanfabrics.swing.BnButton) javax.swing(javax.swing) Train(net.parostroj.timetable.model.Train) ResourceLoader(net.parostroj.timetable.utils.ResourceLoader) Path(org.beanfabrics.Path) BnCheckBox(org.beanfabrics.swing.BnCheckBox) javax.swing(javax.swing) ActionListener(java.awt.event.ActionListener) BnTextField(org.beanfabrics.swing.BnTextField) BnButton(org.beanfabrics.swing.BnButton)

Aggregations

Path (org.beanfabrics.Path)12 ActionListener (java.awt.event.ActionListener)7 ModelProvider (org.beanfabrics.ModelProvider)7 BnButton (org.beanfabrics.swing.BnButton)6 java.awt (java.awt)5 javax.swing (javax.swing)5 JLabel (javax.swing.JLabel)5 BnTextField (org.beanfabrics.swing.BnTextField)5 JPanel (javax.swing.JPanel)4 EmptyBorder (javax.swing.border.EmptyBorder)4 ResourceLoader (net.parostroj.timetable.gui.utils.ResourceLoader)4 BorderLayout (java.awt.BorderLayout)3 FlowLayout (java.awt.FlowLayout)3 Locale (java.util.Locale)3 TrainDiagram (net.parostroj.timetable.model.TrainDiagram)3 org.beanfabrics.swing (org.beanfabrics.swing)3 BnComboBox (org.beanfabrics.swing.BnComboBox)3 Window (java.awt.Window)2 Collection (java.util.Collection)2 JButton (javax.swing.JButton)2