I think that the article I wrote a few years ago for java. Net is still correct today. Doing everything in one monolithic class gets you going faster in the beginning, but becomes a mess quite fast.
I highly recommend doing the separation between the model (in your main class) and the view (UI delegate). The view is responsible for.
I think that the article I wrote a few years ago for java. Net is still correct today. Doing everything in one monolithic class gets you going faster in the beginning, but becomes a mess quite fast.
I highly recommend doing the separation between the model (in your main class) and the view (UI delegate). The view is responsible for: interaction with the user - mouse, keyboard etc. Painting creating "worker" subcomponents as necessary In the medium and long run this is the approach that has been validated over and over again in the Flamingo component suite, which you can use as an extra reference point (in addition to how core Swing components are implemented).
1 I've relied on and cited this article frequently. – trashgod Jun 9 '10 at 2:38.
Using UI delegates is a good idea if you think that your component should look different for different Look And Feels. Also it is generally a good idea from design point of view to separate you presentation from your component Even when overrding paintComponent you can still put any sub components on it. Using null layout you arbitrarey position your components.
Alternatively you can use layouts too. Here is a very good starting point for you.
1 Same article! :-) – trashgod Jun 9 '10 at 2:40 Yea...only 2 hours before Kirill posted his answer :) – eugener Jun 9 '10 at 11:33.
I think that the article I wrote a few years ago for java.net is still correct today. Doing everything in one monolithic class gets you going faster in the beginning, but becomes a mess quite fast. I highly recommend doing the separation between the model (in your main class) and the view (UI delegate).
The view is responsible for.
Here is a very good starting point for you.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.