Hello everyone. This is my first post also my first question. I just started using Java about three months ago. So far I've really only done the basics. Still trying to learn it. Anyway, on with the question.

For my java class I have built a simple program to genreate a random number and then display the number. NOW I am charged with the task of building a GUI interface for this small program. I have already built the interface but I cannot for the life of me figure out the syntax involved in calling my custom number class and displaying the result on a canvas in my GUI program.

Any help is GREATLY appreciated.