Examples: IsResize property

This agent toggles whether a column is resizable.

import lotus.domino.*;

public class JavaAgent extends AgentBase {

  public void NotesMain() {

    try {
      Session session = getSession();
      AgentContext agentContext = session.getAgentContext();

      // (Your code goes here) 
      Database db = agentContext.getCurrentDatabase();
      View view = db.getView("All Documents");
      ViewColumn vc = view.getColumn(5);
      vc.setResize(!vc.isResize());
      System.out.println("IsResize = " + vc.isResize());
        
    } catch(Exception e) {
      e.printStackTrace();
    }
  }
}