摘要: 表结构:create table view(id int unsigned NOT NULL AUTO_INCREMENT, catid int,title varchar(256),picture MEDIUMBLOB, content TEXT,PRIMARY KEY (id));java类操作:import java.awt.Image; import java.io.*; import java.nio.ByteBuffer; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQ 阅读全文
posted @ 2012-06-16 14:41 MXi4oyu 阅读(1300) 评论(0) 推荐(0) 编辑
摘要: import java.awt.*; import java.awt.image.BufferedImage; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; public class ScaleIcon implements Icon { private BufferedImage i = null; private Icon icon = null; public ScaleIcon(Icon... 阅读全文
posted @ 2012-06-16 14:37 MXi4oyu 阅读(1428) 评论(0) 推荐(0) 编辑