You want to create a main() method that is executed when you run java.
So, for example, for your project, when you try run java DrawPanel, The class DrawPanel must be a public class in a file...
Type: Posts; User: Zaphod_b
You want to create a main() method that is executed when you run java.
So, for example, for your project, when you try run java DrawPanel, The class DrawPanel must be a public class in a file...