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

Search:

Type: Posts; User: Ray Newman

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    1,142

    Re: Port Scanning ERROR

    If you're using NetBeans you should be able to set a break point on

    s = new Socket(addr,i)
    run debug and then inspect your addr and i variables when the debugger breaks. They're probably not...
  2. Replies
    2
    Views
    1,305

    Re: Mortgage Calculator help

    I don't understand how you are getting the exception that you specified. You should be getting something like this after letting NetBeans create the constructor:
    Exception in thread "main"...
  3. Replies
    9
    Views
    2,177

    Re: Not Resolving the classpath to a file

    Add "archive="jCharts-0.7.5.jar" to your applet tag.

    (i.e., <html><body><applet code="SwingDemo.class" archive="jCharts-0.7.5.jar" width='350' height='300'></applet</body></html>)

    Ray
  4. Re: non-static method create(java.lang.String) cannot be referenced from a static con

    You need to add the static keyword to the create method in the TicTacToe class if you want to invole it without creating an instance of TicTacToe. So change:

    public TicTacToe create(String input)...
  5. Replies
    5
    Views
    6,076

    Re: Help with java (null pointer exception)

    Look at the JavaDocs for HashMap. Your code is trying to iterate the HashMap using an index and that's not the way you loop through the HashMap members.


    public String getAllRallies ()
    ...
  6. Replies
    1
    Views
    898

    Re: It did not look as problem

    The exception is being thrown because your Serial class does not implement java.io.Serializable.
    Ray
  7. Replies
    2
    Views
    887

    Re: Code will not compile

    There are several reasons your code will not compile. Beyond getting it compile you have some additional problems but I'll leave that to you to ponder.

    You define a public class Zone in the same...
  8. Replies
    2
    Views
    985

    Re: Need help with code to test dates

    In your toString method you are testing the value of the "month" variable but you never assigned a value to month.
Results 1 to 8 of 8





Click Here to Expand Forum to Full Width

Featured