Lines Matching defs:owner
65 * Creates a <code>Popup</code> for the Component <code>owner</code>
66 * containing the Component <code>contents</code>. <code>owner</code>
70 * A null <code>owner</code> implies there is no valid parent.
77 * @param owner Component mouse coordinates are relative to, may be null
83 protected Popup(Component owner, Component contents, int x, int y) {
88 reset(owner, contents, x, y);
147 void reset(Component owner, Component contents, int ownerX, int ownerY) {
149 component = createComponent(owner);
187 private Window getParentWindow(Component owner) {
190 if (owner instanceof Window) {
191 window = (Window)owner;
193 else if (owner != null) {
194 window = SwingUtilities.getWindowAncestor(owner);
207 Component createComponent(Component owner) {
212 return new HeavyWeightWindow(getParentWindow(owner));
261 * Used if no valid Window ancestor of the supplied owner is found.