I use eclipse and when I run my program it says this
"libprism_sw.dylib” cannot be opened because the developer cannot be verified. and “libprism_es2.dylib” cannot be opened because the developer cannot be verified.
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
public class try1 extends Application {
public void start(Stage arg0) {
// TODO Auto-generated method stub\
Image[] array = { new Image("Screen Shot 2020-12-19 at 9.07.20 AM"),
new Image("Screen Shot 2021-02-25 at 10.47.43 AM") };
int n = (int) (Math.random() * 4);
Pane pane = new Pane();
ImageView imgv = new ImageView(array[n]);
pane.getChildren().add(imgv);
Scene scene = new Scene(pane);
arg0.setScene(scene);
arg0.show();
}
public static void main(String[] args) {
// TODO Auto-generated method stub\
lanuch(args);
}
private static void lanuch(String[] args) {
// TODO Auto-generated method stub
}
}
Any solutions?