| 46 | } |
| 47 | |
| 48 | @SuppressWarnings("unchecked") |
| 49 | @Override |
| 50 | public void initGui() { |
| 51 | super.initGui(); |
| 52 | int x = (width - xSize) / 2; |
| 53 | int y = (height - ySize) / 2; |
| 54 | |
| 55 | Keyboard.enableRepeatEvents(true); |
| 56 | |
| 57 | textField = new GuiTextField(this.fontRendererObj, TEXT_X, TEXT_Y, TEXT_WIDTH, TEXT_HEIGHT); |
| 58 | textField.setMaxStringLength(BuildCraftBuilders.MAX_BLUEPRINTS_NAME_SIZE); |
| 59 | textField.setText(testCase.testName); |
| 60 | textField.setFocused(true); |
| 61 | |
| 62 | compress = new GuiButton(0, x + 5, y + 50, 120, 20, ""); |
| 63 | compress.displayString = "Compress"; |
| 64 | buttonList.add(compress); |
| 65 | |
| 66 | save = new GuiButton(0, x + 5, y + 75, 120, 20, ""); |
| 67 | save.displayString = "Save"; |
| 68 | buttonList.add(save); |
| 69 | } |
| 70 | |
| 71 | @Override |
| 72 | public void onGuiClosed() { |