ch.randelshofer.quaqua
Class QuaquaPopupFactory
java.lang.Object
javax.swing.PopupFactory
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
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 |
QuaquaPopupFactory
public QuaquaPopupFactory()
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