/** * DOCUMENT ME! * * @param c DOCUMENT ME! * @param x DOCUMENT ME! * @param y DOCUMENT ME! */ public static void set(GridBagConstraints c, int x, int y) { set(c, x, y, 1, 1, 0, 0, GridBagConstraints.NONE); }
public ColorRenderer(boolean isBordered) { super(); this.isBordered = isBordered; setOpaque(true); //MUST do this for background to show up. }
MJSlider(double x, double y, double currentValue) { super((int) x, (int) y, (int) currentValue); setMajorTickSpacing((maximum - minimum) / 4); setPaintTicks(true); addChangeListener(this); }
/** Creates new form AttributeMatrixImportDialog */ public ImportAttributeMatrixDialog(java.awt.Frame parent, boolean modal) { super(parent, modal); initComponents(); status = false; pack(); }
/** * @return Returns the metadataTable. */ private JTable getMetadataTable() { if (metadataTable == null) { metaTM.addTableModelListener(new metadataTableListener()); metadataTable = new JTable(metaTM); metadataTable.setRowSelectionAllowed(true); } return metadataTable; }
private void updateOnHeightPixels(int newHeightPixels) { double newZoom = ((double) newHeightPixels) / ((double) originalHeight); updateOnZoom(newZoom); }
private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: status = false; this.dispose(); }
/** * DOCUMENT ME! * * @param c DOCUMENT ME! * @param s DOCUMENT ME! */ public static void inset(GridBagConstraints c, int s) { inset(c, s, s, s, s); }
/** * Creates a new GridBagGroup object. * * @param panel DOCUMENT ME! */ public GridBagGroup(JPanel panel) { this.panel = panel; init(); }
/** * Creates a new GraphObjectSelection object. */ public GraphObjectSelection() { initialize(); }
ShrinkExpandGraph(String change, double m) { super(change); setPreferredMenu("Layout"); this.m = m; }
public void actionPerformed(ActionEvent e) { ExportBitmapOptionsDialog.this.dispose(); } }
public void actionPerformed(ActionEvent e) { GinyEdgeControlDialog.this.dispose(); } } // OKAction
public void actionPerformed(ActionEvent e) { popupTextArea.dispose(); } } // QuitAction
public void actionPerformed(ActionEvent e) { update(); }
private void cancelButtonMouseClicked(java.awt.event.MouseEvent evt) { // TODO add your handling code here: this.dispose(); }
/** * DOCUMENT ME! * * @param c DOCUMENT ME! * @param x DOCUMENT ME! * @param y DOCUMENT ME! * @param w DOCUMENT ME! * @param h DOCUMENT ME! */ public static void set(GridBagConstraints c, int x, int y, int w, int h) { set(c, x, y, w, h, 0, 0, GridBagConstraints.NONE); }
private void updateOnWidthPixels(int newWidthPixels) { double newZoom = ((double) newWidthPixels) / ((double) originalWidth); updateOnZoom(newZoom); }
private void importButtonActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: status = true; this.dispose(); }