Results 1 to 2 of 2
- 08-18-2009, 11:40 AM #1
Member
- Join Date
- Aug 2009
- Posts
- 1
- Rep Power
- 0
- 08-18-2009, 12:57 PM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 339
- Rep Power
- 5
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
-
How to change the default background color of a DISABLED JButton
By ryogananda in forum Java AppletsReplies: 4Last Post: 03-21-2009, 05:48 PM -
my code doesn't change background color
By javanoobita in forum New To JavaReplies: 5Last Post: 02-22-2009, 04:30 AM -
JButton onClick change color background
By behrk2 in forum AWT / SwingReplies: 6Last Post: 07-09-2008, 04:54 PM -
when muse pressed the background change
By pcman in forum Java AppletsReplies: 1Last Post: 03-17-2008, 11:51 PM -
Background image in java
By toby in forum AWT / SwingReplies: 1Last Post: 07-29-2007, 07:15 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks