Lines Matching refs:component

195         // Check if the parent component is an option pane.  If so we need to
487 Component component = getComponent();
489 if (component != null) {
490 Container parent = component.getParent();
493 Rectangle bounds = component.getBounds();
495 parent.remove(component);
503 Component component = getComponent();
505 if (component != null) {
506 component.setSize(component.getPreferredSize());
526 Component component = getComponent();
527 if(owner != null && component != null) {
534 Rectangle bnd = component.getBounds();
553 Component component = getComponent();
554 if (owner != null && component != null) {
555 int popupWidth = component.getWidth();
556 int popupHeight = component.getHeight();
714 Container component = (Container)getComponent();
716 component.removeAll();
750 Component component = getComponent();
752 component.setLocation(p.x, p.y);
754 parent.add(component, JLayeredPane.POPUP_LAYER, 0);
756 parent.add(component);
761 JComponent component = new JPanel(new BorderLayout(), true);
763 component.setOpaque(true);
764 return component;
778 JComponent component = (JComponent)getComponent();
780 component.setOpaque(contents.isOpaque());
781 component.setLocation(ownerX, ownerY);
782 component.add(contents, BorderLayout.CENTER);
874 Component component = getComponent();
897 component.setVisible(false);
898 component.setLocation(p.x, p.y);
899 parent.add(component, JLayeredPane.POPUP_LAYER,
905 component.setLocation(p.x, p.y);
906 component.setVisible(false);
907 parent.add(component);
909 component.setVisible(true);
913 Panel component = new MediumWeightComponent();
921 component.add(rootPane, BorderLayout.CENTER);
922 return component;
932 Component component = getComponent();
934 component.setLocation(ownerX, ownerY);
937 component.validate();