Quaqua 8.0 2011-10-02

ch.randelshofer.quaqua
Class QuaquaPopupFactory

java.lang.Object
  extended by javax.swing.PopupFactory
      extended by ch.randelshofer.quaqua.QuaquaPopupFactory

public class QuaquaPopupFactory
extends javax.swing.PopupFactory

QuaquaPopupFactory to work around a bug with heavy weight popups on Java 1.4 in full screen mode.

This class must not be used with J2SE 6 on OS X 10.6, because it causes popups to appear behind modal dialog windows if one of the ancestor windows has "isAlwaysOnTop" set to true.

Version:
$Id: QuaquaPopupFactory.java 414 2011-07-29 20:55:05Z wrandelshofer $
Author:
Werner Randelshofer

Constructor Summary
QuaquaPopupFactory()
           
 
Method Summary
 javax.swing.Popup getPopup(java.awt.Component owner, java.awt.Component contents, int x, int y)
           
 
Methods inherited from class javax.swing.PopupFactory
getSharedInstance, setSharedInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaquaPopupFactory

public QuaquaPopupFactory()
Method Detail

getPopup

public javax.swing.Popup getPopup(java.awt.Component owner,
                                  java.awt.Component contents,
                                  int x,
                                  int y)
                           throws java.lang.IllegalArgumentException
Overrides:
getPopup in class javax.swing.PopupFactory
Throws:
java.lang.IllegalArgumentException

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.