|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
Color pixel = new Color(0,0,0); Robot robot; Point mousepoint; int R,G,B; MouseInfo mouseinfo; robot = new Robot(); mousepoint = mouseinfo.getPointerInfo().getLocation(); pixel = robot.getPixelColor(mousepoint.x,mousepoint.y); R = pixel.getRed(); G = pixel.getGreen(); B = pixel.getBlue(); 返回类别: 教程 上一教程: Refactoring Notes-Refactoring Methods(3) 下一教程: 一个用来保存参数的容器类 您可以阅读与"java实现屏幕取色"相关的教程: · 一个简朴的用JAVA实现的屏幕抓图(源代码) · bug? Hbm2JavaTask无法实现joined-subclass单独配置文件(2.1.2) · 用JAVA SERVLET实现文件上载 · JAVA实现:文件选择器中运行.EXE文件 · 实现Java与C语言接口 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |