• Post Reply Bookmark Topic Watch Topic
  • New Topic

api in java to access the os services  RSS feed

 
priya pm
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to change the desktop background and foreground color using the java language...can anyone let me know how to do so?
 
Rob Spoor
Sheriff
Posts: 21050
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is an external program that can do it (for Linux that's quite normal) use Runtime.exec or ProcessBuilder. If not, then JNI is the only way to go.

Also, please read your private messages regarding an important announcement.

Thank you,

Rob
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!