Need help with assignment! please
I have an assignment where I had to create a simple 5 question math quiz. The quiz is to be displayed in a showInputDialog box.
I have completed all the code to do this and it seems to all work well.
However, after I am done I need to display the results (questions asked, questions correct, and percentage) of the quiz in an applet window using drawString.
Because my main code to perform the above functions is in a .java file I am unable to use drawString at the end of the file to display the results. Eclipse is telling me that drawString cannot be used in a static class. But when I try to add the new appropriate applet class into the file it does not recognize the variables from the static class.
I am newto JAVA and I am wondering if this is even possible?
Thanks for any help in advance.