an alternative to swing's geometry classes