java swing + fx implementation