Results 1 to 2 of 2
  1. #1
    sushil is offline Member
    Join Date
    Oct 2009
    Posts
    8
    Rep Power
    0

    Exclamation Problem in knowing the status of windows

    Hi
    I am doing project in distributing system in java
    i just want to know how to check the status of memory(i.e how much memory is used and how much is empty) in window using java

    so plz help me out

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    the Runtime class (here)
    has methods to get the total and free memory. You can likely call this and have the values formatted and printed to your window.
    This is the memory of the Java VM of course, not the host's system memory.

Similar Threads

  1. Problem in knowing the status of windows
    By sushil in forum AWT / Swing
    Replies: 1
    Last Post: 10-04-2009, 01:48 AM
  2. Need help in knowing how to clear buffer.
    By tedstevens in forum New To Java
    Replies: 1
    Last Post: 08-20-2009, 05:02 AM
  3. Knowing which IP address is active
    By sukatoa in forum Networking
    Replies: 2
    Last Post: 05-05-2009, 04:01 PM
  4. problem with HTTP Status 404
    By orkun in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 02-05-2009, 09:28 PM
  5. Replies: 1
    Last Post: 11-21-2008, 02:13 AM

Posting Permissions

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