Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How can I change the Windows wallpaper in Java ?

pvfpvf Member Posts: 6
I want to change the Windows wallpaper using Java. I know that I should use C or Visual Basic, but still I am wondering if there is a way to do this in Java.

Comments

  • KyonKyon Member Posts: 113
    Hi.

    You could use JNI (java native interface) for this, since you'd need to call some system library's method to change the wallpaper. You can find out how JNI works at http://java.sun.com/docs/books/tutorial/native1.1/index.html

    Nevertheless, I don't know which libraries would be responsible for changing the wallpaper - perhaps you might want to take a look at the MSDN Library at microsoft.com for this.

    Cheers,
    Kyon

    -- planning is the substitution of hazard by error --

  • Andre YoungAndre Young USAMember Posts: 0

    __ ( http://forcoder.org ) free video tutorials and ebooks about / R, Swift, Python, C, MATLAB, JavaScript, C#, Assembly, Perl, Java, Scratch, Objective-C, C++, Go, PHP, Visual Basic, Delphi, Visual Basic .NET, PL/SQL, Ruby Transact-SQL, COBOL, Alice, Fortran, F#, Erlang, VBScript, LabVIEW, SAS, Apex, Scala, Crystal, Prolog, Dart, Lisp, Rust, Julia, Ada, Awk, Lua, FoxPro, Hack, ML, Logo, Clojure, Scheme, Kotlin, ABAP, D, Bash / ______

Sign In or Register to comment.