The problem is in the latest version of Java from April 16, 2019. Cannot insert images after upgrading to this version. Please author FreeMind to update the program.