Search:

Type: Posts; User: hooshdar3

Search: Search took 0.10 seconds.

  1. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    Java programming is a part of their undergraduate program, while we are graduate students.
  2. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    Grid computing has nothing to do with OOP.Its a form of distributed computing.

    --- Update ---



    There is just one actionPerformed() method, so the problem is fairly pin-pointed
  3. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    Why should I use one class per Dialog?
    What would be System.out.println() good for? I am seeing that the first button works when clicked, while the second doesn't (they should both close the...
  4. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    My latest, shortened code is:


    import java.io.*;
    import java.util.*;
    import java.util.concurrent.TimeUnit;
    import com.sun.management.OperatingSystemMXBean;
    import...
  5. Replies
    37
    Views
    3,711

    Re: Empty dialog

    The check boxes will read "OS version", "CPU architecture", etc , according to which some boolean variables are set, which help to decide which fields of a stored object in a queue will be...
  6. Replies
    37
    Views
    3,711

    Re: Empty dialog

    I have studied some examples, but believe me or not, I have no teacher. Never had any teacher.


    --- Update ---

    Multiple threads merged.


    They each work , but the problem is that I have...
  7. Replies
    37
    Views
    3,711

    Re: Empty dialog

    What's the use of reading oracle tutorials when I must use openjdk?

    I will post my original code, OK.

    --- Update ---

    My original code

    import java.io.*;
    import java.util.*;
  8. Replies
    37
    Views
    3,711

    JCheckBox

    Hello.

    Why is it that ticking JCheckBox objects make seamingly no effect in:

    import java.io.*;
    import java.util.*;
    import java.util.concurrent.TimeUnit;
    import...
  9. Replies
    37
    Views
    3,711

    Re: Empty dialog

    I changed it to FlowLayout()

    I am new to Java. I wastesting to discover the problem. I changed the pane type from Container to JFrame

    It is just that My professor wanted me to write a java...
  10. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    I am still without solution
  11. Replies
    37
    Views
    3,711

    Re: Empty dialog

    Nothing.I have pasted all the code
  12. Replies
    37
    Views
    3,711

    Empty dialog

    Hi.
    What is it that an empty dialog appears as the result of my code?
    my code:

    import java.lang.System;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;

    public class t{
  13. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    No, not yet.
    Don't know how to upgrade to see if the problem resolves
  14. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    ok



    import java.io.*;
    import java.util.*;
    import java.util.concurrent.TimeUnit;
    import com.sun.management.OperatingSystemMXBean;
    import java.lang.management.ManagementFactory;
    import...
  15. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    Yes, that is how I declared it.

    The for-loop has in its body:


    OperatingSystemMXBean osBean = (com.sun.management.OperatingSystemMXBean)
    ManagementFactory.getOperatingSystemMXBean();
    ...
  16. Replies
    37
    Views
    3,711

    Re: cannot find symbol:getSystemCpuLoad()

    osBean is defined as:


    OperatingSystemMXBean osBean = (com.sun.management.OperatingSystemMXBean)
    ManagementFactory.getOperatingSystemMXBean();

    and the error text reads:
    ...
  17. Replies
    37
    Views
    3,711

    cannot find symbol:getSystemCpuLoad()

    Hi.
    What's the problem with my errorring line?


    import java.io.*;
    import java.util.*;
    import java.util.concurrent.TimeUnit;
    import com.sun.management.OperatingSystemMXBean;
    import...
Results 1 to 17 of 17