animation time calculation added
merged
Merge branch 'master' of https://github.com/hageldave/UsefulStuff.git

Conflicts:
	src/PanelSwitchingPanel.java