Search:

Type: Posts; User: SashaThompson

Search: Search took 0.26 seconds.

  1. Output in applet keeps painting over the top of itself

    This code is for a java applet, and you enter a word, hit the enter key, then click a check box and then the answer will output just below the check box, if you enter a word, hit the enter key, then...
  2. Replies
    12
    Views
    1,450

    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...
  3. Replies
    12
    Views
    1,450

    Re: Problem with Java Classes, in an applet

    Hope I did it right!
  4. Replies
    12
    Views
    1,450

    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...
  5. Replies
    12
    Views
    1,450

    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...
  6. Replies
    12
    Views
    1,450

    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...
  7. Replies
    12
    Views
    1,450

    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 7 of 7