02 2010 档案

摘要:1. 运行:regsvr32 %windir%/system32/vbscript.dll (其实这一步也可以省,确保万一,还是执行吧)2. 运行:msdtc -resetlog3. 重新安装IIS4. 请把IIS的根目录设置到其他盘!养成好习惯总没错~ 阅读全文
posted @ 2010-02-20 19:26 robin.won 阅读(266) 评论(0) 推荐(0)
摘要:#include using namespace std;void Permutations(char *array,const int k,const int m){ if(k==m) { for(int i=0;i<=m;i++) cout<<array[i]<<""; cout<<endl; } else{ for(int i=k;i<=m;i++) { swap(array[k],array[i]); Permutations(array,k+1,m); swap(array[k],array[i]); } }}int 阅读全文
posted @ 2010-02-12 20:21 robin.won 阅读(166) 评论(0) 推荐(0)
摘要:Panel可以实现ImageObserver接口,所以Panel类后添加“implements ImageObserver”,在Panel的构造方法中初始化Buffer Image对象,然后在Paint语句中添加Graphics的DrawImage方法,其Observer参数为this。实例如下:class MyPanel extends JPanel implements MouseListener, ImageObserver { BufferedImage bi; private static final long serialVersionUID = 1L; public MyPane 阅读全文
posted @ 2010-02-12 20:20 robin.won 阅读(1583) 评论(0) 推荐(0)
摘要:1. 在paint中new BufferedImage;2. Graphics2D=bufferedimage.createGraphics();3. Graphics2D.draw;4. Graphics.drawImage. 阅读全文
posted @ 2010-02-12 20:18 robin.won 阅读(400) 评论(0) 推荐(0)
摘要:import java.awt.Color;import java.awt.Graphics;import java.awt.Graphics2D;import javax.swing.JFrame;import javax.swing.JPanel;public class MyFrame extends JFrame { /** * */ privatestatic final long serialVersionUID = 1L; classMyPanel extends JPanel { /** * */ privatestatic final long serialVersion.. 阅读全文
posted @ 2010-02-05 22:37 robin.won 阅读(825) 评论(0) 推荐(0)