Examples of revalidate()


Examples of xgenerator.ui.swing.MetadataTable.revalidate()

     
      //metadataTableModel.removeRow(selectedRow);
      //metadataTableModel.removeRowEditable(selectedRow);
      //metadataTableModel.removeOneRow(selectedRow);
      metadataTableModel.removeRow(selectedRow);
      metadataTable.revalidate();
      metadataTable.updateUI();
      JOptionPane.showMessageDialog(ui, "删除行成功!");
    } catch (Exception ex) {
      ex.printStackTrace();
      JOptionPane.showMessageDialog(ui, "删除行失败!");
View Full Code Here

Examples of xgenerator.ui.swing.MetadataTable.revalidate()

//      metadataTable.setModel(metadataTableModel); //在这里metadataTableModel没有变
//      metadataTable.setColumnModel(metadataTable.setPreferredTableColumnStyle());
     
      ModelMetadata modelMetadata = metadataTableModel.updateDataVector(dataSourceName, tableName);
      metadataTable.setPreferredTableColumnStyle();
      metadataTable.revalidate();
      metadataTable.updateUI();

      String filterTableNamePrefix = generatorGui.getFilterTableNamePrefixField().getText();
      String filterTableNameSuffix = generatorGui.getFilterTableNameSufferField().getText();
//      String filterColumnNamePrefix = generatorGui.getFilterColumnNamePrefixField().getText();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.