src/main/java/com/mxgraph/swing/mxGraphComponent.java
protected void installFocusHandler()
	{
		graphControl.addMouseListener(new MouseAdapter()
		{
			public void mousePressed(MouseEvent e)
			{
				if (!hasFocus())
				{
					requestFocus();
				}
			}
		});
	}
/**
	 * installs a handler to set the focus to the container.
	 */
installs a handler to set the focus to the container.
installs a handler to set the focus to the container .
protected void installFocusHandler()
	{
		graphControl.addMouseListener(new MouseAdapter()
		{
			public void mousePressed(MouseEvent e)
			{
				if (!hasFocus())
				{
					requestFocus();
				}
			}
		});
	}
protected void installFocusHandler ( ) { graphControl . addMouseListener ( new MouseAdapter ( ) { public void mousePressed ( MouseEvent e ) { if ( ! hasFocus ( ) ) { requestFocus ( ) ; } } } ) ; }
installs a handler to set the focus to the container.
installs a handler to set the focus to the container .