|
![]() |
名片设计 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实现的屏幕抓图(源代码) · JSP+JAVASCRIPT实现类似MSDN CSDN导航树效果 · 用javascript实现的日期时间输入控件 · 在JAVA应用程序中如何实现FTP的功能 (转) · 应用JAVA技术实现数据库应用系统 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |