在一个窗体上的上面放置两个按钮“Open”和“Save”,在一个JFrame的窗体上放置一个文本区,点击“Open”按钮,弹出打开对话框,选择一个文件打开后,在文本区中显示 “Opening:新建文本文档.txt.”,若选择了“取消”,则在文本区中显示“Open command cancdlled by user.”,点击“Save”按钮,弹出保存对话框,选择“保存”后,在文本区中显示 “Saving:新建文本文档.txt”,若选择了“取消”,则在文本区中显示Save command cancdlled by user
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000864s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.085979s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001084s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001165s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001042s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003393s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000960s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003899s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.016619s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001197s ]
UPDATE `jrk_articles` SET `hits` = 1 WHERE `id` = 581721 [ RunTime:0.012269s ]