Update EditorActions.java

Manually added the printComp function because it wouldn't upload from IntelliJ.