![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
swing
wulliam
[url]http://www.javaxx.com[/url][url]http://www.senofo.com[/url]
展开
-
addKeyListener
在panel中addKeyListener无效: this.addKeyListener(new SearchKeyAdapter()); 但是用registerKeyboardAction就可以了。 KeyStroke ks = KeyStroke.getKeyStroke registerKeyboardAction2008-03-24 22:38:23 · 743 阅读 · 0 评论 -
Java Image resize
[code="java"] BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, BufferedImage.TYPE_INT_RGB); Graphics2D graphics2D = targetImage.createGraphics(); ...原创 2010-01-24 20:42:04 · 361 阅读 · 0 评论