Why does the java application move with the selection of desktop spaces?

If I change the desktop space, the window of my Java application follows the selected space. No matter what space you select, my java application always appears on it. Is there an osX configuration or java compiler indicator that links the windows of the java application to the desktop space from which it was originally executed?