gbc.fill = GridBagConstraints.HORIZONTAL; maxCols = Preferences.getInstance().getIntValue( PreferencesKeys.SWITCH_CONTROLES);
    private JPanel initRoutesPanel() {        routesPanel = new JPanel();        layout = new GridBagLayout();        gbc = new GridBagConstraints();        routesPanel.setLayout(layout);        gbc.insets = new Insets(5, 5, 5, 5);        return routesPanel;    }