Launches the associated editor application and opens a file for editing.
@param file the file to be opened for editing
@throws NullPointerException if the specified file is {@code null}
@throws IllegalArgumentException if the specified file doesn'texist
@throws UnsupportedOperationException if the current platformdoes not support the {@link Desktop.Action#EDIT} action
@throws IOException if the specified file has no associatededitor, or the associated application fails to be launched
@throws SecurityException if a security manager exists and its{@link java.lang.SecurityManager#checkRead(java.lang.String)}method denies read access to the file, or {@link java.lang.SecurityManager#checkWrite(java.lang.String)} methoddenies write access to the file, or it denies the AWTPermission("showWindowWithoutWarningBanner") permission, or the calling thread is not allowed to create a subprocess
@see java.awt.AWTPermission
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.