< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/InfoWindow.java

Print this page

        

*** 69,78 **** --- 69,79 ---- protected void setCloser(Runnable action, int time) { closer.set(action, time); } // Must be executed on EDT. + @SuppressWarnings("deprecation") protected void show(Point corner, int indent) { assert SunToolkit.isDispatchThreadForAppContext(this); pack();
*** 96,105 **** --- 97,107 ---- super.show(); closer.schedule(); } + @SuppressWarnings("deprecation") public void hide() { closer.close(); } private class Closer implements Runnable {
*** 123,132 **** --- 125,135 ---- XToolkit.remove(this); doClose(); } // WARNING: this method may be executed on Toolkit thread. + @SuppressWarnings("deprecation") private void doClose() { SunToolkit.executeOnEventHandlerThread(InfoWindow.this, new Runnable() { public void run() { InfoWindow.super.hide(); invalidate();
< prev index next >