| MenuBarWithConstraints.java |
1 import java.awt.Container;
2
3 import org.swixml.SwingEngine;
4
5 // $Id: MenuBarWithConstraints.java,v 1.1 2005/08/22 21:20:01 tichy Exp $
6 /**
7 * Sample program to show a menubar with constraints attribute in it.
8 *
9 */
10public class MenuBarWithConstraints {
11
12 /**
13 * @param args
14 * @throws Exception if something goes wrong
15 */
16 public static void main(String[] args) throws Exception {
17 SwingEngine se = new SwingEngine();
18 Container container = se.render("xml/menu-bar.xml");
19 container.setVisible(true);
20 }
21
22}
23| MenuBarWithConstraints.java |