CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 1999
    Location
    India , Kerala
    Posts
    3

    How can I distinguish Different OS's and do something in accordance with that



    URGENT , PLEASE HELPE ME

  2. #2
    Join Date
    May 1999
    Posts
    93

    Re: How can I distinguish Different OS's and do something in accordance with that



    One approach would be to use the value returned from


    UIManager.getSystemLookAndFeelClassName()




  3. #3
    Join Date
    Apr 1999
    Posts
    10

    Re: How can I distinguish Different OS's and do something in accordance with that



    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).

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured