mercredi 14 mai 2014

GUI structure organise


Vote count:

0




How would one best organise his GUI. I have a JFrame which will hold my application. Currently I have put all JPanel, JTables and others which will fill up the JRame inside the JFrame class.


I instantiate them there and save them in a local field. Would it be a better practice as to make a seperate class for each JPanel,JTable and use getters and setters to manipulate the objects?


For example. My current GUI class is about 3500 lines long which gets more complicated over time.


Thanks in advance.



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire