public static void dispatchOperation(final JTextPane textResult, String operation, String tableName) {
        if (operation.contains("refresh")) {
            HTableDdls.listTables();
        }
        else if (operation.contains("disable")) {
            HTableDdls.disableTable(tableName, textResult);
        }
        else if (operation.contains("enable")) {
            HTableDdls.enableTable(tableName, textResult);
        }
        else if (operation.contains("truncate")) {
            HTableDdls.truncateTable(tableName, textResult);
        }
        else if (operation.contains("drop")) {
            HTableDdls.dropTable(tableName, textResult);
        }
        else if (operation.contains("describe")) {
            HTableDdls.describeTable(tableName, textResult);
        }
        else if (operation.contains("create")) {
            CreateTableDialog dialog = new CreateTableDialog(null);
            dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
            dialog.setVisible(true);
            // HTableDdls.createTable(tableName, textResult);
        }
        else if (operation.contains("multioperate")) {
            MultiTableOperationDialog dialog = new MultiTableOperationDialog();
            dialog.setVisible(true);
        }
    }