Пример #1
0
 private void initGUI() {
   Label label = new GenericLabel(ChatColor.RED + script.getName());
   scriptField = new GenericTextField();
   scriptField.setMinHeight(150);
   scriptField.setMinWidth(100);
   scriptField.setTabIndex(3);
   Container c = new GenericContainer();
   c.setLayout(ContainerType.VERTICAL);
   c.addChild(label);
   c.addChild(scriptField);
   attachWidget(lib, c);
 }