At the top of a file, have this text:
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
Now, block select from (1,1) to (2, 3).
Now type "x".
The result is
poxrt java.awt.GridBagConstraints;
poxrt java.awt.GridBagLayout;
poxrt java.awt.GridLayout;
In VS2014, the result is:
xport java.awt.GridBagConstraints;
xport java.awt.GridBagLayout;
xport java.awt.GridLayout;