I've observing.....and my assignment have 3 GUI's very similar - local client, remote client and server starter . I mean....all of then have one central panel with input datas and one south painel with 2 buttons...local client and remote client have "connect" and "exit" buttons....server stater have "start" and "exit" buttons.
Wich is the best approach to solve this implementation ?
1. Duplicate all code inside all classes ?
2. Use an inteligent config painel with MVC like Dennis's DVD that in runtime display apropriated widgets ?
3. Use inheritance, centralizing the duplicate code in some super-class ?
4. There are anothers approach ?
What do you ranches have used or thought about ?