Results 1 to 2 of 2
  1. #1
    erosenthil is offline Member
    Join Date
    Aug 2009
    Rep Power

    Question how to change windows xp background image through java

    Is it possible to change the background image of the os(windows xp) through java program. if so which object do i use. any example program.

  2. #2
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Not directly, no. Java doesn't have OS-specific features built-in. You could interface with a native routine to do it via JNI (Java Native Interface), or execute an external process via Runtime.exec, but frankly you'd be better off using a native language that gives you direct access to the OS API.

    There is some discussion about this here.

Similar Threads

  1. Replies: 4
    Last Post: 03-21-2009, 06:48 PM
  2. my code doesn't change background color
    By javanoobita in forum New To Java
    Replies: 5
    Last Post: 02-22-2009, 05:30 AM
  3. JButton onClick change color background
    By behrk2 in forum AWT / Swing
    Replies: 6
    Last Post: 07-09-2008, 04:54 PM
  4. when muse pressed the background change
    By pcman in forum Java Applets
    Replies: 1
    Last Post: 03-18-2008, 12:51 AM
  5. Background image in java
    By toby in forum AWT / Swing
    Replies: 1
    Last Post: 07-29-2007, 07:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts