Added swing version that is portable.