Java/GWT/VerticalPanel
Use vertical panel
package com.jexp.gwt.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.HTML;
public class GWTClient implements EntryPoint {
public void onModuleLoad() {
VerticalPanel vp = new VerticalPanel();
vp.setSpacing(8);
vp.add(new HTML("Normal text box:"));
vp.add(new HTML("Password text box:"));
vp.add(new HTML("Text area:"));
RootPanel.get().add(vp);
}
}