< prev index next >
src/java.desktop/share/classes/sun/applet/AppletPanel.java
Print this page
*** 232,250 ****
--- 232,252 ----
/**
* Minimum size
*/
@Override
+ @SuppressWarnings("deprecation")
public Dimension minimumSize() {
return new Dimension(defaultAppletSize.width,
defaultAppletSize.height);
}
/**
* Preferred size
*/
@Override
+ @SuppressWarnings("deprecation")
public Dimension preferredSize() {
return new Dimension(currentAppletSize.width,
currentAppletSize.height);
}
*** 698,707 ****
--- 700,710 ----
* Load the applet into memory.
* Runs in a seperate (and interruptible) thread from the rest of the
* applet event processing so that it can be gracefully interrupted from
* things like HotJava.
*/
+ @SuppressWarnings("deprecation")
private void runLoader() {
if (status != APPLET_DISPOSE) {
showAppletStatus("notdisposed");
return;
}
< prev index next >