Examples of WrapLayout


Examples of com.camick.WrapLayout

    this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    this.setLayout(new BorderLayout());
    filterField = new JTextField(20);
    this.add(filterField,BorderLayout.NORTH);
   
    JPanel centerPanel = new JPanel(new WrapLayout());
   
    privateBox = new JCheckBox("Private",true);
    centerPanel.add(privateBox);
   
    srBox = new JCheckBox("Summoner's Rift",true);
View Full Code Here

Examples of com.camick.WrapLayout

    topPanel.add(nameTitlePanel, BorderLayout.CENTER);
    this.add(topPanel, BorderLayout.NORTH);

    JTabbedPane tabbedPane = new JTabbedPane();

    this.skinsPanel = new JPanel(new WrapLayout());
    JScrollPane skinScroller = new VerticalJScrollPane(this.skinsPanel);
    skinScroller.getVerticalScrollBar().setUnitIncrement(16);
    tabbedPane.addTab(championDetailedViewMessages.getString("skins"), skinScroller);
   
   
View Full Code Here

Examples of com.camick.WrapLayout

  public int size;
  public String filter;
  protected MouseListener optionalMouseListener;
 
  public ChampionsPanel(IconSize size, String filter) {
    super(new WrapLayout());
    champions = new ArrayList<Champion>();
    this.size = size.number;
    this.filter = filter;
    populateChampions();
  }
View Full Code Here

Examples of com.google.gwt.dev.shell.WrapLayout

      byte[] agentIconBytes, TabPanelCollection tabPanelCollection,
      String moduleName) {
    super(new BorderLayout());
    this.tabPanelCollection = tabPanelCollection;
    topPanel = new JPanel();
    sessionDropdownPanel = new JPanel(new WrapLayout());
    sessionDropdownPanel.add(new JLabel("Session: "));
    sessionDropdown = new JComboBox();
    sessionDropdown.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        Session session = (Session) sessionDropdown.getSelectedItem();
        selectSession(session);
      }

    });
    sessionDropdown.setRenderer(new SessionRenderer());
    sessionDropdownPanel.add(sessionDropdown);
    sessionDropdownPanel.setEnabled(false);
    sessionDropdownPanel.setVisible(false);
    topPanel.add(sessionDropdownPanel);
    moduleDropdownPanel = new JPanel(new WrapLayout());
    moduleDropdownPanel.add(new JLabel("Module: "));
    moduleDropdown = new JComboBox();
    moduleDropdown.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of com.google.gwt.dev.shell.WrapLayout

  public WebServerPanel(int serverPort, TreeLogger.Type maxLevel,
      File logFile, final RestartAction restartServerAction) {
    super(new BorderLayout());
    logWindow = new SwingLoggerPanel(maxLevel, logFile);
    if (restartServerAction != null) {
      JPanel panel = new JPanel(new WrapLayout());
      JButton restartButton = new JButton("Restart Server");
      restartButton.setMnemonic(KeyEvent.VK_R);
      restartButton.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of com.google.gwt.dev.shell.WrapLayout

    regexFilter = "";
    levelFilter = maxLevel;
    // TODO(jat): how to make the topPanel properly layout items
    // when the window is resized
    topPanel = new JPanel(new BorderLayout());
    JPanel logButtons = new JPanel(new WrapLayout());
    JButton expandButton = new JButton("Expand All");
    expandButton.setMnemonic(KeyEvent.VK_E);
    expandButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of nf.co.haxter.gui.layouts.WrapLayout

    panelFieldInfo.setLayout(new BorderLayout(0, 0));

    JPanel panelListControls = new JPanel();
    panelListControls.setBorder(new LineBorder(new Color(0, 0, 0)));
    panelFieldInfo.add(panelListControls, BorderLayout.NORTH);
    panelListControls.setLayout(new WrapLayout());

    JButton btnAddField = new JButton("Add Field...");
    panelListControls.add(btnAddField);

    JButton btnRemoveField = new JButton("Remove Field");
    btnRemoveField.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent paramActionEvent) {
        FieldNode fn = list.getSelectedValue();
        if (fn != null) {
          fieldModel.removeElement(fn);
          cNode.fields.remove(fn);
        }
      }
    });
    panelListControls.add(btnRemoveField);

    JButton btnUpdateField = new JButton("Update Field");
    panelListControls.add(btnUpdateField);

    JPanel panelFieldStuff = new JPanel();
    panelFieldInfo.add(panelFieldStuff);
    panelFieldStuff.setLayout(new BorderLayout(0, 0));

    tabbedPane = new JTabbedPane(JTabbedPane.TOP);
    tabbedPane.setVisible(false);
    panelFieldStuff.add(tabbedPane, BorderLayout.CENTER);

    JPanel panelNameData = new JPanel();
    tabbedPane.addTab("Name Data", null, panelNameData, null);
    panelNameData.setLayout(new GridLayout(0, 2, 0, 0));

    JLabel lblName = new JLabel("Name: ");
    panelNameData.add(lblName);

    textFieldName = new JTextField();
    panelNameData.add(textFieldName);
    textFieldName.setColumns(10);

    JLabel lblDescriptor = new JLabel("Descriptor: ");
    panelNameData.add(lblDescriptor);

    textFieldDescriptor = new JTextField();
    panelNameData.add(textFieldDescriptor);
    textFieldDescriptor.setColumns(10);

    JLabel lblSignature = new JLabel("Signature: ");
    panelNameData.add(lblSignature);

    textFieldSignature = new JTextField();
    panelNameData.add(textFieldSignature);
    textFieldSignature.setColumns(10);

    JLabel lblInitialValue = new JLabel("Initial Value: ");
    panelNameData.add(lblInitialValue);

    JPanel panelInitialValueInfo = new JPanel();
    panelNameData.add(panelInitialValueInfo);
    panelInitialValueInfo.setLayout(new BorderLayout(0, 0));

    textFieldInitialValue = new JTextField();
    panelInitialValueInfo.add(textFieldInitialValue, BorderLayout.CENTER);
    textFieldInitialValue.setColumns(10);

    comboBoxInitialValueType = new JComboBox();
    comboBoxInitialValueType.setModel(new DefaultComboBoxModel(InitialValueType.values()));
    panelInitialValueInfo.add(comboBoxInitialValueType, BorderLayout.EAST);

    JPanel panelModifiers = new JPanel();
    tabbedPane.addTab("Modifiers", null, panelModifiers, null);
    panelModifiers.setLayout(new BorderLayout(0, 0));

    JPanel panelAccessModifiers = new JPanel();
    panelModifiers.add(panelAccessModifiers, BorderLayout.WEST);
    panelAccessModifiers.setLayout(new BoxLayout(panelAccessModifiers, BoxLayout.Y_AXIS));

    rdbtnPublic = new JRadioButton("PUBLIC");
    buttonGroup.add(rdbtnPublic);
    panelAccessModifiers.add(rdbtnPublic);

    rdbtnProtected = new JRadioButton("PROTECTED");
    buttonGroup.add(rdbtnProtected);
    panelAccessModifiers.add(rdbtnProtected);

    rdbtnPrivate = new JRadioButton("PRIVATE");
    buttonGroup.add(rdbtnPrivate);
    panelAccessModifiers.add(rdbtnPrivate);

    rdbtnDefault = new JRadioButton("DEFAULT");
    buttonGroup.add(rdbtnDefault);
    panelAccessModifiers.add(rdbtnDefault);

    JPanel panelOtherModifiers = new JPanel();
    panelModifiers.add(panelOtherModifiers);
    panelOtherModifiers.setLayout(new WrapLayout());

    chckbxStatic = new JCheckBox("STATIC");
    panelOtherModifiers.add(chckbxStatic);

    chckbxFinal = new JCheckBox("FINAL");
View Full Code Here

Examples of nf.co.haxter.gui.layouts.WrapLayout

    buttonGroup.add(rdbtnDefault);
    panelAccessModifiers.add(rdbtnDefault);

    JPanel panelOtherModifiers = new JPanel();
    panelModifiers.add(panelOtherModifiers, BorderLayout.EAST);
    panelOtherModifiers.setLayout(new WrapLayout());

    chckbxStatic = new JCheckBox("STATIC");
    panelOtherModifiers.add(chckbxStatic);

    chckbxAbstract = new JCheckBox("ABSTRACT");
    panelOtherModifiers.add(chckbxAbstract);

    chckbxFinal = new JCheckBox("FINAL");
    panelOtherModifiers.add(chckbxFinal);

    chckbxEnum = new JCheckBox("ENUM");
    panelOtherModifiers.add(chckbxEnum);

    JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);

    panelMisc = new JPanel();
    tabbedPane.addTab("Misc.", null, panelMisc, null);
    panelMisc.setLayout(new GridLayout(0, 2, 0, 0));

    lblClassVersion = new JLabel("Class Version: ");
    panelMisc.add(lblClassVersion);

    comboBoxClassVersion = new JComboBox<ClassVersion>();
    comboBoxClassVersion.setModel(new DefaultComboBoxModel(ClassVersion.values()));
    comboBoxClassVersion.setSelectedIndex(v);

    panelMisc.add(comboBoxClassVersion);
    tabbedPane.addTab("Modifiers", panelModifiers);
    tabbedPane.addTab("Names", panelNames);
    panelNames.setLayout(new BorderLayout(0, 0));

    panelNamesInner = new JPanel();
    panelNames.add(panelNamesInner);
    panelNamesInner.setLayout(new GridLayout(0, 2, 0, 0));

    lblClassName = new JLabel("Class Name: ");
    panelNamesInner.add(lblClassName);

    textFieldClassName = new JTextField(parse(cNode.name));
    panelNamesInner.add(textFieldClassName);
    textFieldClassName.setColumns(10);

    lblSuperClassName = new JLabel("Super Class Name: ");
    panelNamesInner.add(lblSuperClassName);

    textFieldSuperClassName = new JTextField(parse(cNode.superName));
    panelNamesInner.add(textFieldSuperClassName);
    textFieldSuperClassName.setColumns(10);

    lblPlaceholder = new JLabel("Signature: ");
    panelNamesInner.add(lblPlaceholder);

    textFieldSignature = new JTextField(parse(cNode.signature));
    panelNamesInner.add(textFieldSignature);
    textFieldSignature.setColumns(10);

    lblOuterClass = new JLabel("Outer Class: ");
    panelNamesInner.add(lblOuterClass);

    textFieldOuterClass = new JTextField(parse(cNode.outerClass));
    panelNamesInner.add(textFieldOuterClass);
    textFieldOuterClass.setColumns(10);

    lblOuterMethod = new JLabel("Outer Method: ");
    panelNamesInner.add(lblOuterMethod);

    textFieldOuterMethod = new JTextField(parse(cNode.outerMethod));
    panelNamesInner.add(textFieldOuterMethod);
    textFieldOuterMethod.setColumns(10);

    lblOuterMethodDescriptor = new JLabel("Outer Method Descriptor: ");
    panelNamesInner.add(lblOuterMethodDescriptor);

    textFieldOuterMethodDesc = new JTextField(parse(cNode.outerMethodDesc));
    panelNamesInner.add(textFieldOuterMethodDesc);
    textFieldOuterMethodDesc.setColumns(10);

    lblSourceFile = new JLabel("Source File: ");
    panelNamesInner.add(lblSourceFile);

    textFieldSourceFile = new JTextField(parse(cNode.sourceFile));
    panelNamesInner.add(textFieldSourceFile);
    textFieldSourceFile.setColumns(10);

    lblSourceDebug = new JLabel("Source Debug: ");
    panelNamesInner.add(lblSourceDebug);

    textFieldSourceDebug = new JTextField(parse(cNode.sourceDebug));
    panelNamesInner.add(textFieldSourceDebug);
    textFieldSourceDebug.setColumns(10);
    add(tabbedPane);

    JPanel panelInterfaces = new JPanel();
    tabbedPane.addTab("Interfaces", null, panelInterfaces, null);
    panelInterfaces.setLayout(new BorderLayout(0, 0));

    listInterfaces = new JList<String>();
    listInterfaces.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    panelInterfaces.add(listInterfaces);
    interfaceModel = new DefaultListModel<String>();
    for (String inter : (List<String>) cNode.interfaces) {
      interfaceModel.addElement(inter);
    }
    listInterfaces.setModel(interfaceModel);

    panelInterfaceControls = new JPanel();
    panelInterfaces.add(panelInterfaceControls, BorderLayout.NORTH);
    panelInterfaceControls.setLayout(new WrapLayout());

    btnAddInterface = new JButton("Add...");
    panelInterfaceControls.add(btnAddInterface);
    btnAddInterface.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent paramActionEvent) {
View Full Code Here

Examples of nf.co.haxter.gui.layouts.WrapLayout

    panelAccessModifiers.add(rdbtnDefault);
   
    JPanel panelOtherModifiers = new JPanel();
    panelAllModifiers.add(panelOtherModifiers);
    panelOtherModifiers.setAutoscrolls(true);
    WrapLayout wl_panelOtherModifiers = new WrapLayout();
    wl_panelOtherModifiers.setAlignment(FlowLayout.LEADING);
    panelOtherModifiers.setLayout(wl_panelOtherModifiers);
   
    chckbxStatic = new JCheckBox("STATIC");
    panelOtherModifiers.add(chckbxStatic);
   
View Full Code Here

Examples of org.gephi.ui.components.WrapLayout

        initComponents();
        if (UIUtils.isAquaLookAndFeel()) {
            columnManipulatorsPanel.setBackground(UIManager.getColor("NbExplorerView.background"));
        }

        columnManipulatorsPanel.setLayout(new WrapLayout(WrapLayout.CENTER, 25, 20));
        setName(NbBundle.getMessage(DataTableTopComponent.class, "CTL_DataTableTopComponent"));
        setIcon(ImageUtilities.loadImage(ICON_PATH));

        //toolbar
        Border b = (Border) UIManager.get("Nb.Editor.Toolbar.border"); //NOI18N
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.