def METHOD_NAME(self):
    self.box_left = QHBoxLayout()
    self.box_main = QVBoxLayout()
    self.smpl_text = QTextEdit()
    self.smpl_text.setStyleSheet("font: normal 12pt monospace")
    self.smpl_text.setTabStopWidth(12)
    self.smpl_text.keyPressEvent
    self.java_text = QTextEdit()
    self.java_text.setStyleSheet("font: normal 12pt monospace")
    self.java_text.setTabStopWidth(12)
    if os.path.exists("/tmp/smplgui_py_smpl_text.cocci"):
        self.smpl_text.setPlainText(open("/tmp/smplgui_py_smpl_text.cocci").read()[0:-1])
    if os.path.exists("/tmp/smplgui_py_java_text.java"):
        self.java_text.setPlainText(open("/tmp/smplgui_py_java_text.java").read()[0:-1])
    self.output_text = QTextEdit()
    self.output_text.setStyleSheet("font: normal 12pt monospace")
    self.output_text.setTabStopWidth(12)
    self.output_text.setPlainText("SmPL to the left, Java to the right.\nF5 to execute.\nF6 to select mode.")
    self.box_left.addWidget(self.smpl_text)
    self.box_left.addWidget(self.java_text)
    self.box_main.addWidget(self.wrap_layout(self.box_left))
    self.box_main.addWidget(self.output_text)
    self.setCentralWidget(self.wrap_layout(self.box_main))
    self.setGeometry(100,100,1000,600)
    self.setWindowTitle("smplgui")
    self.installEventFilter(self)
    self.show()