Move swing implementation to external project