There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
Piet Souris wrote:hi Vijiyarathan,
two remarks that I want to make:
1) never make a variable static unless absolutely necessary! Even if you intend to never change them.
2) in your MainWindow you have the fields topPanel, et cetera. Nothing wrong with that, but do you need these references? If not, then you might as well do (in the constructor)
I prefer PAGE_START over NORTH, because NORTH is absolute, while PAGE_START takes the Locale into consideration: if a locale has a page going from bottom to top. then PAGE_START will put the panel at the bottom. But that is just a minor detail.

Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Vijiyarathan wrote:
The main thing i want to know is how I personally can come up with these solutions you came up with.
There are three kinds of actuaries: those who can count, and those who can't.
