no need to use swing & jfxpanel