1
我将创建一个具有JFileChooser打开对话框的applet jar。我想改变它的图标。如何将页面图标设置为Jfilechooser对话框
frame = parentFrame;
ImageIcon icon = new ImageIcon("com/biztree/docmntui/client/applet/favicon.gif");
frame.setIconImage(icon.getImage());
然后
int returnVal = fileChooser.showOpenDialog(frame);
,当我运行小程序正常工作。
但当我试图在GWT网页中运行它显示java默认图标。