Package java.awt

Examples of java.awt.Container.repaint()


    } else {
      Container parent = InternalWindow.this.getParent();
      if (parent != null) {
        parent.remove(InternalWindow.this);
        parent.validate();
        parent.repaint();
      }
    }
    // notify listeners
    for (CloseListener listener : closeListeners) {
      listener.windowClosed(this);
View Full Code Here


                  @Override
                  public void run() {
                    Disposer.dispose(processIcon);
                    Container parent = processIcon.getParent();
                    parent.remove(processIcon);
                    parent.repaint();
                    pingEDT.ping(); // repaint title
                    synchronized (usages) {
                      if (visibleNodes.isEmpty()) {
                        if (usages.isEmpty()) {
                          String text = UsageViewBundle.message("no.usages.found.in",
View Full Code Here

        public void run()
        {
            if (url == null) {
                editor.setCursor(cursor);
                Container parent = editor.getParent();
                parent.repaint();
                return;
            }

            Document doc = editor.getDocument();
            try {
View Full Code Here

          @Override
          public void run() {
            Disposer.dispose(processIcon);
            Container parent = processIcon.getParent();
            parent.remove(processIcon);
            parent.repaint();
            pingEDT.ping(); // repaint title
            synchronized (usages) {
              if (visibleNodes.isEmpty()) {
                if (usages.isEmpty()) {
                  String text = UsageViewBundle.message("no.usages.found.in", searchScopePresentableName(options, project));
View Full Code Here

            log.info("Refresh: no AWT context");
            return;
        }
        final Container root = ctx.getAwtRoot();
        if (root != null) {
            root.repaint();
        } else {
            log.info("Refresh: no AWT root");
        }
    }
View Full Code Here

    {
      final Container container = label.getParent();
      if (container != null)
      {
        container.remove(label);
        container.repaint();
      }
    }
  }

  protected void handleExceptionClick()
View Full Code Here

    {
      final Container container = label.getParent();
      if (container != null)
      {
        container.remove(label);
        container.repaint();
      }
    }
  }

  private class ActiveContextChangeListener implements PropertyChangeListener
View Full Code Here

      if (parent != null) {
        Rectangle bounds = component.getBounds();

        parent.remove(component);
        parent.repaint(bounds.x, bounds.y, bounds.width, bounds.height);
      }
    }
    owner = null;
  }
View Full Code Here

        desktop.setBounds(0, 0, w, h - controlBarHeight);
        awtRoot.add(controlBar);
        controlBar.setBounds(0, h - controlBarHeight, w, controlBarHeight);

        awtRoot.invalidate();
        awtRoot.repaint();
        System.out.println("controlBar.bounds=" + controlBar.getBounds());
        System.out.println("desktop.bounds=" + desktop.getBounds());

        // Update desktopmanager
        desktop.setDesktopManager(new DesktopManagerImpl());
View Full Code Here

                taskBar.setPreferredSize(new Dimension(w, controlBarHeight));
                awtRoot.add(taskBar, BorderLayout.SOUTH);
                awtRoot.add(desktopPane, BorderLayout.CENTER);

                awtRoot.invalidate();
                awtRoot.repaint();

                // Update desktopmanager
                desktopPane.setDesktopManager(new DesktopManagerImpl());
                desktopPane.addContainerListener(new DesktopContainerListener());
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.