Package com.jgoodies.forms.builder

Examples of com.jgoodies.forms.builder.DefaultFormBuilder.addSeparator()


                ("8dlu, left:pref, 8dlu, fill:150dlu, 4dlu, fill:pref", // 4dlu, left:pref, 4dlu",
                        "pref, 6dlu, pref, 6dlu, pref, 6dlu, pref, 6dlu, pref, 6dlu, "
                                    +"pref, 6dlu, pref, 6dlu, pref, 6dlu, pref");
        DefaultFormBuilder builder = new DefaultFormBuilder(layout);
        CellConstraints cc = new CellConstraints();
        builder.addSeparator(Globals.lang("Editor options"), cc.xyw(1,1, 5));
        builder.add(autoOpenForm, cc.xy(2, 3));
        builder.add(disableOnMultiple, cc.xy(2, 5));
        builder.add(showSource, cc.xy(2, 7));
        builder.add(defSource, cc.xy(2, 9));
        builder.add(autoComplete, cc.xy(2, 11));
View Full Code Here


        CellConstraints cc = new CellConstraints();

        /*JLabel description = new JLabel("<HTML>"+Globals.lang("JabRef can switch journal names between "
            +"abbreviated and full form. Since it knows only a limited number of journal names, "
            +"you may need to add your own definitions.")+"</HTML>");*/
        builder.addSeparator(Globals.lang("Personal journal list"), cc.xyw(2,1,6));

        //builder.add(description, cc.xyw(2,1,6));
        builder.add(newFile, cc.xy(3,2));
        builder.add(newNameTf, cc.xy(5,2));
        builder.add(browseNew, cc.xy(7,2));
View Full Code Here

        butBul.addGridded(remove);

        butBul.addGlue();
        builder.add(butBul.getPanel(), cc.xy(7,4));

        builder.addSeparator(Globals.lang("External files"), cc.xyw(2,6,6));
        externalFilesPanel.setLayout(new BorderLayout());
        //builder.add(/*new JScrollPane(*/externalFilesPanel/*)*/, cc.xyw(2,8,6));

        setLayout(new BorderLayout());
        builder.getPanel().setBorder(BorderFactory.createEmptyBorder(5,5,5,5));//createMatteBorder(1,1,1,1,Color.green));
View Full Code Here

   
    builder.nextLine(2);
    map.append(builder,"Field.cost"); //$NON-NLS-1$
    map.append(builder,"Field.work"); //$NON-NLS-1$
    builder.nextLine(4);
    builder.addSeparator(Messages.getString("TaskInformationDialog.Dates")); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.start"); //$NON-NLS-1$
    map.append(builder,"Field.finish"); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.baselineStart"); //$NON-NLS-1$
View Full Code Here

        .getRow(), 8));
    builder.nextLine(2);
    map.append(builder,"Field.wbs"); //$NON-NLS-1$
    map.append(builder,"Field.markTaskAsMilestone",3); //$NON-NLS-1$
    builder.nextLine(2);
    builder.addSeparator(Messages.getString("TaskInformationDialog.ConstrainTask")); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.constraintType"); //$NON-NLS-1$
    map.appendSometimesReadOnly(builder,"Field.constraintDate"); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.deadline"); //$NON-NLS-1$
View Full Code Here

    map.append(builder,"Field.constraintType"); //$NON-NLS-1$
    map.appendSometimesReadOnly(builder,"Field.constraintDate"); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.deadline"); //$NON-NLS-1$
    builder.nextLine(4);
    builder.addSeparator("  "); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.taskType"); //$NON-NLS-1$
    map.append(builder,"Field.effortDriven",3); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.taskCalendar"); //$NON-NLS-1$
View Full Code Here

      JScrollPane ssPane = SpreadSheet.createScrollPaneForTable(costTableSpreadsheets[i]);
      costTabbedPane.addTab(costRateTable.getName(),ssPane);
    }
    createCostTableSpreadsheets();
    builder.nextLine(2);
    builder.addSeparator(Messages.getString("Text.CostRateTables")); //$NON-NLS-1$
    builder.nextLine(2);
    builder.add(costTabbedPane,cc.xyw(builder.getColumn(), builder
        .getRow(), 5));
    builder.nextLine(2);
    map.append(builder,"Field.accrueAt"); //$NON-NLS-1$
View Full Code Here

    builder.nextLine(2);
    builder.append(reschedule);
    builder.append(Messages.getString("UpdateProjectDialogBox.RescheduleCompletedWorkToStartAfter")); //$NON-NLS-1$
    builder.append(rescheduleDateChooser);
    builder.nextLine(8);
    builder.addSeparator(""); //$NON-NLS-1$
    builder.nextLine(2);
    builder.append(Messages.getString("UpdateProjectDialogBox.For")); //$NON-NLS-1$
    builder.nextLine(2);
    builder.nextColumn(2);
    builder.append(entireProject);
View Full Code Here

    builder.setDefaultDialogBorder();
    CellConstraints cc = new CellConstraints();
    builder.append(Messages.getString("BaselineDialog.Baseline")); //$NON-NLS-1$
    builder.append(baseline);
    builder.nextLine(2);
    builder.addSeparator(""); //$NON-NLS-1$
    builder.nextLine(2);
    builder.append(Messages.getString("BaselineDialog.For")); //$NON-NLS-1$
    builder.nextLine(2);
    builder.append(entireProject);
    builder.nextLine(2);
View Full Code Here

    CellConstraints cc = new CellConstraints();

    // task names span whole dialog
    builder.add(taskNames,cc.xyw(builder.getColumn(), builder.getRow(), builder.getColumnCount()));
    builder.nextLine(2);
    builder.addSeparator(""); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.name",5); //$NON-NLS-1$
    builder.nextLine(2);
    map.append(builder,"Field.percentComplete"); //$NON-NLS-1$
    map.append(builder,"Field.duration"); //$NON-NLS-1$
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.