Examples of repaint()


Examples of prefuse.Display.repaint()

            int x = e.getX(),   y = e.getY();
            int dx = x-m_xDown, dy = y-m_yDown;
            display.pan(dx,dy);
            m_xDown = x;
            m_yDown = y;
            display.repaint();
        }
    }
   
    /**
     * @see java.awt.event.MouseListener#mouseReleased(java.awt.event.MouseEvent)
View Full Code Here

Examples of processing.app.EditorToolbar.repaint()

        public void run() {
          Box upper = (Box)splitPane.getComponent(0);         
          upper.remove(0);
          upper.add(nextToolbar, 0);
          upper.validate();
          nextToolbar.repaint();
          toolbar = nextToolbar;
          // The toolbar responds to shift down/up events
          // in order to show the alt version of toolbar buttons.
          // With toolbar switch, KeyListener has to be changed as well
          for (KeyListener kl : textarea.getKeyListeners()) {
View Full Code Here

Examples of ptolemy.plot.Plot.repaint()

                for (int i = 1; i < pltdata.length; i++) {
                    plt.addPoint(0, i / 8000.0, pltdata[i], true);
                }
            }

            plt.repaint();
        } catch (IOException ex) {
            cleanup();

            // FIXME: fill in stack trace?
            IOException newException = new IOException();
View Full Code Here

Examples of rex.graphics.mdxeditor.mdxbuilder.dnd.DragElement.repaint()

    SwingUtilities.convertPointToScreen(point, this);
    SwingUtilities.convertPointFromScreen(point, glassPane);
    //System.out.println("CCC");
    glassPane.setPoint(point);
    glassPane.showString(false);
    glassPane.repaint();
    //End
  }
}
View Full Code Here

Examples of rlforj.ui.ascii.CharVisualCanvas.repaint()

          Font f=c.getSelectedFont();
//          System.out.println(Integer.toString(c1)+" "+f);
          cv.font=f;
          cv.disp=c1;
          cvc.forceRedrawAll(); cvc.repaint();
          cvc9.forceRedrawAll(); cvc9.repaint();
          refreshCode(cv);
        }
      }
    });
    bottom2.add(fc);
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.visualisation.ui.graphpane.GraphPane.repaint()

        Set<IVertex> vertices = graphPane.getSelectedVertices();
        for (IVertex v : vertices) {
            graphPane.getGraphModel().moveVertex(v, dx, dy);
        }
        MovingTool.from = mouseLocation;
        graphPane.repaint();
    }

    public void mouseReleased(MouseEvent e) {
        Composite c = new Composite();
        Point mouseLocation = e.getPoint();
View Full Code Here

Examples of simtools.diagram.DiagramComponent.repaint()

                if ((e.getModifiers() & InputEvent.BUTTON1_MASK) == InputEvent.BUTTON1_MASK) {
                    DiagramComponent d = JSynoptic.gui.getActiveComponent();
                    if (d != null) {
                        if (!d.getDiagramSelection().isEmpty()) {
                            d.getDiagramSelection().unselect();
                            d.repaint();
                        }
                    }
                }
            }
        });
View Full Code Here

Examples of syberiada.SyberiadaFrame.repaint()

                    gra.init(opcjaDo);
                    gra.setAlpha(0);
                    parent.add(gra);
                    parent.setComponentZOrder(gra, 0);
                    sFrame.validate();
                    sFrame.repaint();
                    gra.appear(1f, 100, 200); //1000, 200
                }
                @Override
                public void mousePressed(MouseEvent e) {
                }
View Full Code Here

Examples of tcg.scada.sim.iecsim.datastore.DataStoreFrame.repaint()

  public void internalFrameClosing(InternalFrameEvent e)
  {
    DataStoreFrame frame = (DataStoreFrame) e.getInternalFrame();
    frame.setStatusString("Closing OCC Sub-system. Please wait...");
    frame.repaint();
    frame.close();
  }

  public void internalFrameDeiconified(InternalFrameEvent e)
  {
View Full Code Here

Examples of unbbayes.draw.UShape.repaint()

    int n = this.getComponentCount();

    for (int i = 0; i < n; i++) {
      UShape shape = (UShape) this.getComponent(i);
        shape.resizeToFitText();
        shape.repaint();
    }
   
    updateLines();
   
    setShapeStateAll(UShape.STATE_NONE, null);
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.