Search in sources :

Example 1 with CompareGens

use of org.twak.tweed.CompareGens in project chordatlas by twak.

the class SkelGen method getUI.

@Override
public JComponent getUI() {
    JPanel ui = new JPanel(new ListDownLayout());
    ui.add(new JLabel("To edit: use select tool, right click on buildings"));
    JButton compare = new JButton("compare to mesh");
    compare.addActionListener(l -> new CompareGens(this, blockGen));
    ui.add(compare);
    JButton pf = new JButton("all procedural facades");
    pf.addActionListener(l -> cgaAll());
    ui.add(pf);
    JButton proc = new JButton("CGA facades");
    return ui;
}
Also used : JPanel(javax.swing.JPanel) ListDownLayout(org.twak.utils.ui.ListDownLayout) CompareGens(org.twak.tweed.CompareGens) JButton(javax.swing.JButton) JLabel(javax.swing.JLabel)

Aggregations

JButton (javax.swing.JButton)1 JLabel (javax.swing.JLabel)1 JPanel (javax.swing.JPanel)1 CompareGens (org.twak.tweed.CompareGens)1 ListDownLayout (org.twak.utils.ui.ListDownLayout)1