put applet into web page
2014-08-21 00:00
218 查看
<applet width="200" height="200" archive="ImageIconApplet.jar" code="com.whitefang34.ImageIconApplet" />
package com.whitefang34; public class ImageIconApplet extends JApplet { public void init() { URL url = getClass().getResource("/images/WhiteFang34.jpg"); ImageIcon icon = new ImageIcon(url); JLabel label = new JLabel(icon, JLabel.CENTER); add(label); } }
相关文章推荐
- Web page construct -- Head first into HTML
- put a ContextMenu into the header of a TabPage z
- Saving a Web Page Into A Single File
- chm Navigation to the webpage was canceled解决方法
- asp.net web page 中如何添加引用
- Sys.WebForms.PageRequestManagerServerErrorException: (status code was 12029)
- Compare Two object and put the result into xmlFile
- 第一个jsp---page(外加web.xml)
- How WebKit Loads a Web Page
- RFS(六)Open Browser后,页面显示This is the initial start page for the WebDriver server.的解决办法
- [轻微]WEB服务器启用了OPTIONS方法/如何禁止DELETE,PUT,OPTIONS等协议访问应用程序/tomcat下禁用不安全的http方法
- Microsoft.VisualStudio.Web.PageInspector.Loader
- html5学习_MyFirstWebPage_语法的概念与框架
- 二十六、使用${pageContext.request.contextPath}指定js资源包、以及经由web.xml指定.action等的理解
- Infinite Scroll To Load More Content in Webpage Using Ajax, and Jquery
- Web Control 开发系列(二) 深入解析Page的PostBack过程和IPostBackDataHandler
- WebApi Serialize Entity Framework objects into JSON(webapi下将实体对象序列化为Json)
- ONJava.com -- Web 服务实现中的概念分离 --> page 2
- 解读Web Page Diagnostics网页细分图
- [CareerCup] 12.4 Test a Webpage 测试一个网页