Results 1 to 4 of 4
  1. #1
    simplo is offline Member
    Join Date
    Aug 2010
    Posts
    14
    Rep Power
    0

    Default Graphik CPU usage

    Hi ,
    Please i need to know how to build the graphik that show the signal resolution or CPU usage in Java : ( I mean some think like the blue graphik in the Windows task Manager for CPU usage history or Physical memory usage history) .
    I receiced data from some source and i need to convert this data in a graphik representation like in the Window Tas Manager .

    Thank you !!

  2. #2
    Maxideon is offline Member
    Join Date
    Jun 2010
    Posts
    28
    Rep Power
    0

    Default

    Run the Java2D demo in your jdk folder.

    [java folder]/demo/jfc/Java2D/

    In the demo there is a "MemoryMonitor" widget that shows a bar graph of your current memory use and a little line graph next to it showing memory use over time. The source code for that gui widget is in the source folder.

    You can probably adapt it to your needs, or if not that, then it should give you and idea how to make your own.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

  4. #4
    simplo is offline Member
    Join Date
    Aug 2010
    Posts
    14
    Rep Power
    0

    Default

    Thank you for reply . I will try it. I think there is also a way to build an simply code for that. I have some implementations ideas i will also try it .
    thanks !!

Similar Threads

  1. SerialModemGateway() Usage
    By ajaxjagadish in forum Advanced Java
    Replies: 1
    Last Post: 03-25-2010, 08:24 AM
  2. Usage of List
    By vasavi.singh in forum New To Java
    Replies: 0
    Last Post: 03-12-2009, 02:51 PM
  3. HashMap usage
    By vasavi.singh in forum New To Java
    Replies: 4
    Last Post: 03-05-2009, 04:50 PM
  4. usage of Hashtable
    By venu2807 in forum New To Java
    Replies: 4
    Last Post: 01-27-2009, 03:36 AM
  5. Usage of HTTPS
    By Sayed in forum Advanced Java
    Replies: 8
    Last Post: 12-06-2008, 10:02 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
  •