If you are developing a game or an application with custom user interface, you will need another class that extends Canvas, but this is the bare minimum.
Having all your application code in one or two classes is not Object Oriented programming. It is not easy to develop like this if you use a simple text editor, but it can be done with current IDEs like Eclipse or NetBeans.
Keep in mind that, for achieving small jar files, you will need to use development techniques not related to OO.
No comments:
Post a Comment