Examples of paintImmediately()


Examples of javax.swing.JComponent.paintImmediately()

                    Widget widget, Point point, Transferable transferable) {
                Image dragImage = getImageFromTransferable(transferable);
                JComponent view = getView();
                Graphics2D g2 = (Graphics2D) view.getGraphics();
                Rectangle visRect = view.getVisibleRect();
                view.paintImmediately(visRect.x, visRect.y, visRect.width, visRect.height);
                g2.drawImage(dragImage,
                        AffineTransform.getTranslateInstance(point.getLocation().getX(),
                        point.getLocation().getY()),
                        null);
                LayoutCalculator calc = UpdateNodeTask.getInstance().getLastScore().layoutCalculator;
View Full Code Here

Examples of javax.swing.JComponent.paintImmediately()

    protected void paintTransparentFrame() {
        Dimension size = component.getComponent().getSize();
        if (component.getComponent() instanceof JComponent) {
            JComponent jc = (JComponent) component.getComponent();
            jc.paintImmediately(0, 0, size.width, size.height);
        }
        if (disposed)
            return;
        size = component.getSize();
        Point location = component.getLocation();
View Full Code Here

Examples of javax.swing.JPanel.paintImmediately()

              toolBarPanel.getHeight() - 1);
        }

        if (!oldCueLineBounds.equals(mCueLine.getBounds())) {
          Graphics2D g2d = (Graphics2D) toolBarPanel.getGraphics();
          toolBarPanel.paintImmediately(oldCueLineBounds);

          Color color = new Color(255, 0, 0, 180);
          g2d.setColor(color);
          g2d.fill(mCueLine);
View Full Code Here

Examples of javax.swing.JProgressBar.paintImmediately()

                if (jpb != null) {
                        jpb.setIndeterminate(false);
                        jpb.setMaximum(total);
                        jpb.setValue(value);
                        if (ThreadWorks.Swing.isEventDispatchThread()) {
                                jpb.paintImmediately(jpb.getBounds());
                        } else {
                                jpb.repaint();
                        }
                }
                return id;
View Full Code Here

Examples of org.broad.igv.ui.dnd.GhostGlassPane.paintImmediately()

                UIUtilities.invokeOnEventThread(new Runnable() {

                    public void run() {
                        Rectangle bounds = new Rectangle(getBounds());
                        bounds.height = 10000;
                        glassPane.paintImmediately(bounds);
                    }
                });
            }
        }
View Full Code Here

Examples of org.pushingpixels.flamingo.api.common.popup.JPopupPanel.paintImmediately()

    }
    List<PopupInfo> popups = PopupPanelManager.defaultManager()
        .getShownPath();
    for (PopupPanelManager.PopupInfo popup : popups) {
      JPopupPanel popupPanel = popup.getPopupPanel();
      popupPanel.paintImmediately(new Rectangle(0, 0, popupPanel
          .getWidth(), popupPanel.getHeight()));
    }
  }

  public void addKeyTipListener(KeyTipListener keyTipListener) {
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.