Search:

Type: Posts; User: jorys22

Search: Search took 0.07 seconds.

  1. Help please i keep getting a runtime error with code that seems correct.

    I am trying to read an object from a file. I have followed the examples in my book and online that i could find. but i keep getting an error saying

    Exception in thread "AWT-EventQueue-0"...
  2. [SOLVED] Re: null pointer exception error for a method calling a graphics obj help please

    yes the variable control is what im refering too. when i try to create it as a main class lvl variable it didn't even compile.

    --- Update ---

    Im sorry i am really struggling with this program...
  3. [SOLVED] Re: null pointer exception error for a method calling a graphics obj help please

    it is null. when i initialize it though its constructor creates a class of panelc which in turn creates a pongTest obj and so it fails. in my instructions my pongTest constructor has to create a...
  4. [SOLVED] Re: null pointer exception error for a method calling a graphics obj help please

    oh its the g im guessing but i dont' know how to assign a value to a graphics variable.

    --- Update ---

    this is where the null pointer is highlighting
    control.draw(g);

    and this is the method...
  5. [SOLVED] Re: null pointer exception error for a method calling a graphics obj help please

    here is the full stackTrace
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at test.pongTest$panelc.paintComponent(pongTest.java:74)
    at...
  6. [SOLVED] null pointer exception error for a method calling a graphics obj help please

    I am trying to get a paddleball game working and as i create my paintComponent i have it call a method from a different class and its giving me this error

    Exception in thread "AWT-EventQueue-0"...
  7. Replies
    8
    Views
    1,742

    Re: TRANSLATION NEEDED

    your suppose to read you text and figure this out not ask us to tell you how to do it
  8. Thread: HELP NEEDED

    by jorys22
    Replies
    3
    Views
    1,085

    Re: HELP NEEDED

    you could use a double array and just enter in the rooms and floors then when somebody selects floor 2 room2 have a method retireve the correlating array location. and add it to a string to output
  9. Need Help Solving a Graphics Passing Issue.

    deleted
  10. Im completly lost using actionevents could somebody look at my code and help

    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import java.awt.GridLayout;
    import javax.swing.JRadioButton;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import...
Results 1 to 10 of 10