How to call java external files?
Hi, everybody, do anyone know is it possible to call java external files?
For example, I have created an applet, "Webpage.java", in this applet, I use GridBagLayout to organize its container which comprises banner, body, and bottom-banner as for example.
I would like to use Label to create a banner, place an image on the body part, and again, a Label at the bottom-banner. Instead of writing all the coding in "Webpage.java", I write coding and save it in separate .java files.
So, if I create another three java files such as "Banner.java", "MyImage.java" and "BottomBanner.java", is there any way for "Webpage.java" to call those three java files so that those three external java files can be executed in "Webpage.java"?
|