Johnson
January 13th, 1999, 09:31 AM
URGENT , PLEASE HELPE ME
|
Click to See Complete Forum and Search --> : How can I distinguish Different OS's and do something in accordance with that Johnson January 13th, 1999, 09:31 AM URGENT , PLEASE HELPE ME Zafir Anjum January 13th, 1999, 11:11 AM One approach would be to use the value returned from UIManager.getSystemLookAndFeelClassName() Paolo Milani January 25th, 1999, 10:08 AM It's against all the principles of Java philosophy. If you are writing an application you would't need such information. Simply, doing like that you'll end up losing portability, and maintenance becomes a nightmare. Consider trying a different approach to your problem. Alternatively, you could use external libraries to accomplish system-specific operations (see the JNI API). codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |