找回密码
 立即注册
framegetContentPanepageProxylabel | 企业管理 2022-09-23 82 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
续之前上传的这计模式,这次是联系纯code
代码片段如下:
importjavax.swing.
;
publicclassTest{
publicstaticvoidmain(Stringargs){
JFrameframe=newJFrame(quot<imgsrc="static/image/smiley/default/titter.gif"smilieid="9"border="0"alt=""/>roxytestclient);
JLabellabel=newJLabel(Loadingwebpage......);
frame.getContentPane().add(label);
PageProxypageProxy=newPageProxy();
frame.getContentPane().add(pageProxy);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(400,300);
//frame.pack();
frame.setVisible(true);
pageProxy.label.setText(aaa);
}
}

(Continue the pattern uploaded before, this time contact pure code
The code snippet is as follows:
importjavax.swing.
;
publicclassTest{
publicstaticvoidmain(Stringargs){
JFrameframe=newJFrame(quot<imgsrc="static/image/smiley/default/titter.gif"smilieid="9"border="0"alt=""/>roxytestclient);
JLabellabel=newJLabel(Loadingwebpage...);
frame.getContentPane().add(label);
PageProxypageProxy=newPageProxy();
frame.getContentPane().add(pageProxy);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(400,300);
//frame.pack();
frame.setVisible(true);
pageProxy.label.setText(aaa);
}
})

[下载]10543729824.rar




上一篇:[零基础学JAVA]Java SE应用部分-34.Java常用API类库
下一篇:mysql跟sqlserver2000驱动jar包