adding IFrame and class for javafx