使用Java设置显示器的亮度和对比度 [英] Seting the monitor brightness and contrast using java

查看:459
本文介绍了使用Java设置显示器的亮度和对比度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我有一个项目,需要使用java程序更改显示器的亮度和对比度.我在互联网上搜索,他们都在提供图片和android解决方案.但是我的要求是在我的应用程序中,我有一个文本框,在其中输入一个数值(亮度和对比度值),监视器屏幕必须有所不同.

所以任何人都可以给我一些建议或链接来解决我的问题.


在此先感谢
Arun

Hello every one

I am having a project where i need to change the monitor brightness and contrast using java program . I searched in internet they all are giving solution for image and android . But My requirement is in my application i am having a text box where i enter a numeric value (brightness and contrast value) the monitor screen has to vary .

So can anybody give me some suggestion or a link to solve my problem.


Thanks in advance
Arun

推荐答案

不能做的事情:
您的显示器是硬件设备.每个硬件设备都不同.每个制造商都在处理不同的问题.您无法更改显示器的亮度或对比度.

可以做什么:
您可以更改显示Java应用程序的显示JAVA组件所用的颜色.组件的基本扩展确实有很大帮助.

AWT中的绘画& Swing @ java.sun.com [ ^ ]
What you can not do:
Your monitor is a hardware device. Each hardware device is different. Each manufacturer is handling it different. You can not change the brightness nor the contrast of the monitor.

What you can do:
You can change the colors the displayed JAVA components of a JAVA application are shown with. A basic extension of the components does help a lot.

Painting in AWT & Swing @ java.sun.com[^]


这篇关于使用Java设置显示器的亮度和对比度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆