Added code to enable JTree to autoupdate itself every 15 seconds, once
User opens the Add Room Frame.
Added this to the MainFrame constructor:
myTimer = new Timer(15000, new ActionListener() {
public void actionPerformed(ActionEvent e) {
InitTree();
And added this to the addRoomMenuItem:
if(!myTimer.isRunning()) myTimer.start();
To Do:
The next task is the heart of the system - and probably the most important one.
I will start implementing Classroom Allocation Algorithms.