javax.swing.JApplet.getAppletContext()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(86)

本文整理了Java中javax.swing.JApplet.getAppletContext()方法的一些代码示例,展示了JApplet.getAppletContext()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JApplet.getAppletContext()方法的具体详情如下:
包路径:javax.swing.JApplet
类名称:JApplet
方法名:getAppletContext

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 );

相关文章