Java 8 GroupLayout - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 GroupLayout class.

This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setAutoCreateContainerGaps, setAutoCreateGaps, setHorizontalGroup
6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setHorizontalGroup, setVerticalGroup
6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setAutoCreateContainerGaps, setAutoCreateGaps, setHorizontalGroup
6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setHorizontalGroup, setVerticalGroup
    public StatisticsPanelWholeApplication(AnalyseUIController uiController) {
		this.dataControl = uiController;
        setBackground(PANELBACKGROUND);
		createWholeApplicationPanel(); 
		createLayout(); 
        setLayout(groupLayout);
	} 
 
	private void createWholeApplicationPanel() { 
        FlowLayout flowLayout1 = (FlowLayout) this.getLayout();
        flowLayout1.setAlignment(FlowLayout.LEFT);
        this.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
        this.setBorder(new TitledBorder(dataControl.translate("FullApplication")));
		totalPackagesLabel = new JLabel();
		totalPackagesNumber = new JLabel("-");
		totalClassesLabel = new JLabel();
		totalClassesNumber = new JLabel("-");
		totalLinesOfCodeLabel = new JLabel();
		totalLinesOfCodeNumber = new JLabel("-");
		nrOfDependenciesLabel = new JLabel();

6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setHorizontalGroup, setVerticalGroup
        violationTable.setModel(tableModel);
        violationsScrollPane.setViewportView(violationTable);
        violationTable.setBackground(PANELBACKGROUND);
        violationTable.setAutoCreateRowSorter(true);
         
        setLayout(theLayout);
    } 
 
    private void createLayout() { 
        ruleScrollPane = new HelpableJScrollPane();
        ruleScrollPane.setBorder(new TitledBorder(ServiceProvider.getInstance().getLocaleService().getTranslatedString("ViolationsPerRuleTotalTitle")));
        violationsScrollPane = new HelpableJScrollPane();
        violationsScrollPane.setBorder(new TitledBorder(ServiceProvider.getInstance().getLocaleService().getTranslatedString("Violations")));
 
        theLayout = new GroupLayout(this);
        theLayout.setHorizontalGroup(theLayout.createParallelGroup(Alignment.TRAILING)
            .addGroup(theLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(theLayout.createParallelGroup(Alignment.TRAILING)
	                .addComponent(ruleScrollPane, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 497, Short.MAX_VALUE)

6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setHorizontalGroup, setVerticalGroup
6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setAutoCreateContainerGaps, setAutoCreateGaps, setHorizontalGroup
6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setHorizontalGroup, setVerticalGroup
    public StatisticsPanelSelection(AnalyseUIController uiController) {
		this.dataControl = uiController;
        setBackground(PANELBACKGROUND);
		createWholeApplicationPanel(); 
		createLayout(); 
        setLayout(groupLayout);
	} 
 
	private void createWholeApplicationPanel() { 
        FlowLayout flowLayout1 = (FlowLayout) this.getLayout();
        flowLayout1.setAlignment(FlowLayout.LEFT);
        this.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
        this.setBorder(new TitledBorder(dataControl.translate("Selection")));
		selectionPackagesLabel = new JLabel();
		selectionPackagesNumber = new JLabel("-");
		selectionClassesLabel = new JLabel();
		selectionClassesNumber = new JLabel("-");
		selectionLinesOfCodeLabel = new JLabel();
		selectionLinesOfCodeNumber = new JLabel("-");
		emtyLabelSettingTheSize1 = new JLabel("");

6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setAutoCreateContainerGaps, setAutoCreateGaps, setHorizontalGroup
6
CodeRank
This code example shows how to use the following methods:createParallelGroup, createSequentialGroup, setHorizontalGroup, setVerticalGroup
6
CodeRank
See Code Examples for Java 8 GroupLayout Methods: