List of usage examples for java.awt AWTException printStackTrace
public void printStackTrace(PrintStream s)
From source file:com.grillecube.editor.ModelEditor.java
private void useRobot() { try {// w w w . j a va 2 s .c o m this._robot = new Robot(); this._engine.getRenderer().getGLFWWindow().addMouseEnterListener(this); this._engine.getRenderer().getGLFWWindow().addMouseExitListener(this); } catch (AWTException e) { Logger.get().log(Level.WARNING, "Tried to a use Robot but it failed: ModelWindow.useRobot()"); e.printStackTrace(Logger.get().getPrintStream()); } }