Search:

Type: Posts; User: SashaThompson

Search: Search took 0.07 seconds.

  1. Replies
    12
    Views
    1,452

    Re: Problem with Java Classes, in an applet

    I think the null variable is the boolean, isPoliteForm but I don't know why it doesn't have a valid value...
  2. Replies
    12
    Views
    1,452

    Re: Problem with Java Classes, in an applet

    Hope I did it right!
  3. Replies
    12
    Views
    1,452

    Re: Problem with Java Classes, in an applet

    I think there is an error with the object because it seems that no value is assigned to the object because it is coming up with the same error and that line is where the object is being called, also...
  4. Replies
    12
    Views
    1,452

    Re: Problem with Java Classes, in an applet

    I found that variable, I deleted the variable len for the purpose of seeing if that got rid of the error and once I deleted it I got the same issue but it said no value was being assigned to...
  5. Replies
    12
    Views
    1,452

    Re: Problem with Java Classes, in an applet

    Error Message:
    Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
    at MiniMajorProject.itemStateChanged(MiniMajorProject.java:36)
    at java.awt.Checkbox.processItemEvent(Unknown...
  6. Replies
    12
    Views
    1,452

    Problem with Java Classes, in an applet

    Here is my main piece of code:


    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;

    public class MiniMajorProject extends Applet implements KeyListener, ItemListener {
    ...
Results 1 to 6 of 6