Search in sources :

Example 1 with EscapeFrame

use of replete.gui.windows.EscapeFrame in project n2a by frothga.

the class RoundedPanel method main.

public static void main(String[] args) {
    JFrame f = new EscapeFrame();
    RoundedPanel r;
    r = new RoundedPanel();
    // r.setLayout(new BorderLayout());
    // r.add(new JLabel("asdfasf"), BorderLayout.NORTH);
    // r.add(new JButton("afds"), BorderLayout.CENTER);
    Lay.BLtg(r, "N", Lay.BL("C", Lay.GL(2, 1, Lay.lb("Group #"), new JComboBox(new Object[] { "Mixed", "Latin Hypercube", "Monte Carlo" }), "opaque=false"), "E", Lay.BL("C", Lay.BL("W", Lay.lb("#"), "C", new JTextField(10)), "E", new IconButton(ImageUtil.getImage("cancel.gif"), "remove group!"), "opaque=false"), "bg=yellow,eb=10,opaque=false"), "C", Lay.BxL("Y", Lay.lb("adfasdf" + " Const(" + 3333 + ")"), "eb=10,opaque=false"));
    Lay.BLtg(f, "C", r, "size=[500,500],center=2,visible");
}
Also used : EscapeFrame(replete.gui.windows.EscapeFrame) JComboBox(javax.swing.JComboBox) IconButton(replete.gui.controls.IconButton) JFrame(javax.swing.JFrame) JTextField(javax.swing.JTextField)

Aggregations

JComboBox (javax.swing.JComboBox)1 JFrame (javax.swing.JFrame)1 JTextField (javax.swing.JTextField)1 IconButton (replete.gui.controls.IconButton)1 EscapeFrame (replete.gui.windows.EscapeFrame)1