, .
My Swing 9 (, , , , , , , )
:
view -> logger, controller, utils, model
controller -> logger, application, model, utils
application -> service, model, utils, platform
service -> persistence, model, utils
platform -> model
utils -> no dependencies
model -> no dependencies
logger -> model, utils
, .
, ( ), (, JFrame, JFace = ).
(, ) , .
But I think the data block works the same way. I assume you are structure dependent. My solution is wrong, so if I want to switch from Swing to swt, don’t worry, I just implement it for swt and my business logic remains intact.
You should all think that design is bigger. (And use maven.)
source
share