Setting display in MIDLet is simple. First you have to declare Display and Form that you want to display. Set the display in the startApp method using setCurrent method of Display class.
Java Code:
private Display display;
private Form form = new Form("Main Form");
...
 public void startApp() {
    display.setCurrent(form);
  }