Switch from JPanel to Canvas