Examples of GBC


Examples of org.openstreetmap.josm.tools.GBC

    public final JTabbedPane getTabPane() {
        return tabpane;
    }
   
    protected final void createPreferenceTabWithScrollPane(PreferenceTabbedPane gui, JPanel panel) {
        GBC a = GBC.eol().insets(-5,0,0,0);
        a.anchor = GBC.EAST;
       
        JScrollPane scrollPane = new JScrollPane(panel);
        scrollPane.setBorder(null);
View Full Code Here

Examples of org.openstreetmap.josm.tools.GBC

        }
    }

    @Override
    public void addGui(JPanel testPanel) {
        GBC a = GBC.eol();
        a.anchor = GridBagConstraints.EAST;

        testPanel.add(new JLabel(name+" :"), GBC.eol().insets(3,0,0,0));

        prefCheckKeys = new JCheckBox(tr("Check property keys."), Main.pref.getBoolean(PREF_CHECK_KEYS, true));
View Full Code Here

Examples of org.openstreetmap.josm.tools.GBC

            }
        };
        prefOther.addActionListener(otherUploadEnabled);
        otherUploadEnabled.actionPerformed(null);

        GBC a = GBC.eol().insets(-5,0,0,0);
        a.anchor = GBC.EAST;
        testPanel.add( new JLabel(tr("On demand")), GBC.std() );
        testPanel.add( new JLabel(tr("On upload")), a );

        allTests = OsmValidator.getTests();
View Full Code Here

Examples of org.openstreetmap.josm.tools.GBC

    public void addGui(JPanel testPanel) {
        checkEnabled = new JCheckBox(name, enabled);
        checkEnabled.setToolTipText(description);
        testPanel.add(checkEnabled, GBC.std());

        GBC a = GBC.eol();
        a.anchor = GridBagConstraints.EAST;
        checkBeforeUpload = new JCheckBox();
        checkBeforeUpload.setSelected(testBeforeUpload);
        testPanel.add(checkBeforeUpload, a);
    }
View Full Code Here

Examples of org.openstreetmap.josm.tools.GBC

        add(nameText, GBC.std().insets(3,0,0,0));
        add(helpText, GBC.std().insets(3,0,0,0).fill(GBC.HORIZONTAL));

        progressBar.setMaximum(PleaseWaitProgressMonitor.PROGRESS_BAR_MAX);
        progressBar.setVisible(false);
        GBC gbc = GBC.eol();
        gbc.ipadx = 100;
        add(progressBar,gbc);
        progressBar.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
View Full Code Here

Examples of org.openstreetmap.josm.tools.GBC

        boolean ticked = yLayer.thumbsLoaded || Main.pref.getBoolean("geoimage.showThumbs", false);
        cbShowThumbs = new JCheckBox(tr("Show Thumbnail images on the map"), ticked);
        cbShowThumbs.setEnabled(!yLayer.thumbsLoaded);

        int y=0;
        GBC gbc = GBC.eol();
        gbc.gridx = 0;
        gbc.gridy = y++;
        panelTf.add(panelCb, gbc);

        gbc = GBC.eol().fill(GBC.HORIZONTAL).insets(0,0,0,12);
View Full Code Here

Examples of scalaExec.gui.GBC

                 // for all selected files
              // approve toolbox
            // ActionPerformed
        });
                    
            scalaSciToolboxesPanel.add(helpPanel, new GBC(0, 0, 6, 1 ));
            scalaSciToolboxesPanel.add(buttonsPanel, new GBC(0, 1, 6, 1));
            scalaSciToolboxesPanel.add(new JLabel("Available ScalaSci Toolboxes for Loading: "), new GBC(0, 2, 1, 1));
            scalaSciToolboxesPanel.add(availableToolboxesScrollPane, new GBC(1, 2, 2, 1 ));
            scalaSciToolboxesPanel.add(new JLabel("  Currently Loaded ScalaSci Toolboxes:  "), new GBC(3, 2, 1, 1));
            scalaSciToolboxesPanel.add(loadedToolboxesScrollPane, new GBC(4, 2, 2, 1));
         
  return scalaSciToolboxesPanel;
 
                   
     }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.