Help Creating an object

The problem I am having is I am trying to display car models by outputting a message to a jtext are with a displaying a message of the cars, I dont know what I am doing wrong or how to go about creating the object. The error i am getting when i click Display car model is shown below. I have cars and customers instanciated in a different class.

Any help would be really appreciated

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!