Guest User

Untitled

a guest
Jul 20th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.71 KB | None | 0 0
  1. package com.commander4j.subwindow;
  2.  
  3. import com.commander4j.composite.cLogin;
  4. import com.commander4j.composite.cProcesOrder;
  5. import com.vaadin.ui.Button;
  6. import com.vaadin.ui.CheckBox;
  7. import com.vaadin.ui.Label;
  8. import com.vaadin.ui.Window;
  9.  
  10. public class sWindow extends Window {
  11.     public sWindow() {
  12.         /*
  13.          * Make the window modal, which will disable all other components while
  14.          * it is visible
  15.          */
  16.         setModal(false);
  17.  
  18.         setWidth("800px");
  19.         setHeight("200px");
  20.         center();
  21.        
  22.         setCaption("Sharing options");
  23.  
  24.         Button close = new Button("OK");
  25.         addComponent(new cProcesOrder());
  26.         addComponent(close);
  27.  
  28.     }
  29.  
  30. }
Add Comment
Please, Sign In to add comment