To communicate with display driver of system..
1 posts in topic
Flat View  Flat View

Posted By:   Pooja_Chotani
Posted On:   Wednesday, March 6, 2002 10:59 PM


How can i build an API in java to communicate with display driver store ,the prog./commands it use ti display gui on monitor and use the same prog./commnads to display on new window in system.

Re: To communicate with display driver of system..

Posted By:   Prasanna_Varadhan  
Posted On:   Wednesday, April 17, 2002 11:21 AM

Pooja.. you need to understand that you cannot talk to the display driver or the repository for it using java, the reason java is cross-platform is becuase it takes out all the hardware and system dependecies out from the developers hands and puts it into a VM... when you run a java program you run inside the java VM (or call it a sandbox) you cannot touch anything outside it... there is however one way you can do it using JNI (Java Native Interfaces) where in you actually develop the stuff in C and then port the interface onto java... try looking at the java web site for more info on JNI...

all the best.
About | Sitemap | Contact