Hi there,
After selecting mode my program displays a frame (extends JFrame) with the menu bar. When user selects any option (eg Search by Name). control in Program goes to another file(without extends JFrame) that has different gui components(including JPanel(s) but not JFrame) and other relevant code. Now I remove any previous existing panel and display this new panel(s) inthe old frame with same menu bar. ofcourse used Singelton for this.
I read in some forums on net that singelton in GUI does not work good in some operating systems when have many clients. Another says Singelton
pattern is anti pattern.
Can you, my fellows, please give your opinion about this or any better design.
Thanks! in Advance
Best Regards!