本文整理了Java中javax.swing.JApplet.getAppletContext()
方法的一些代码示例,展示了JApplet.getAppletContext()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JApplet.getAppletContext()
方法的具体详情如下:
包路径:javax.swing.JApplet
类名称:JApplet
方法名:getAppletContext
暂无
代码示例来源:origin: org.opencadc/cadc-app-kit
public AppletContext getAppletContext() { return applet.getAppletContext(); }
代码示例来源:origin: joel-costigliola/assertj-swing
/**
* @return the collection of {@code Applet}s within the {@code AppletContext}.
*/
@RunsInEDT
@Nonnull public Enumeration<Applet> getApplets() {
Enumeration<Applet> applets = applet.getAppletContext().getApplets();
return applets != null ? applets : enumeration(Collections.<Applet> emptyList());
}
}
代码示例来源:origin: joel-costigliola/assertj-swing
@RunsInEDT
@Nullable private static AppletContext appletContext(final @Nonnull JApplet applet) {
return execute(() -> applet.getAppletContext());
}
代码示例来源:origin: joel-costigliola/assertj-swing
/**
* Returns the {@code JApplet} of the given its name in the {@code AppletContext}.
*
* @param name the name of the {@code JApplet}.
* @return the {@code Applet} with the given name.
*/
@RunsInEDT
public Applet getApplet(@Nonnull String name) {
return applet.getAppletContext().getApplet(name);
}
代码示例来源:origin: org.biojava.thirdparty/forester
final String frame_name ) throws IOException {
if ( is_applet ) {
applet.getAppletContext().showDocument( uri.toURL(), frame_name );
内容来源于网络,如有侵权,请联系作者删除!