CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Java Programming > Java Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Java Programming Ask your Java programming question and help out others with theirs.

    Closed Thread
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old January 13th, 1999, 09:31 AM
    Johnson Johnson is offline
    Junior Member
     
    Join Date: Jan 1999
    Location: India , Kerala
    Posts: 3
    Johnson is an unknown quantity at this point (<10)
    How can I distinguish Different OS's and do something in accordance with that



    URGENT , PLEASE HELPE ME
      #2    
    Old January 13th, 1999, 11:11 AM
    Zafir Anjum Zafir Anjum is offline
    Member
     
    Join Date: May 1999
    Posts: 93
    Zafir Anjum is an unknown quantity at this point (<10)
    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    
    Old January 25th, 1999, 10:08 AM
    Paolo Milani Paolo Milani is offline
    Junior Member
     
    Join Date: Apr 1999
    Posts: 10
    Paolo Milani is an unknown quantity at this point (<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).
    Closed Thread

    Bookmarks
    Go Back   CodeGuru Forums > Java Programming > Java Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 04:16 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009