public class Java2DKeyListener implements KeyListener {
@Override
public void keyPressed(KeyEvent e) {
if (e.getKeyCode() == KeyEvent.VK_F1) {
new ConfigWindow();
return;
}
if (e.getKeyCode() == 113) {
JFrame j = ((Java2DWindow) Render.getWindow()).getWindow();