Does the Swing Designer parser understand the factory method "javax.swing.Box.createHorizontalGlue()"?
I am trying to align a JMenu on the right-hand side of a JMenuBar with SwingDesigner. Usually I do this with a sequence of statements such as:
menuBar.add(fileMenu);
menuBar.add(Box.createHorizontalGlue());
menuBar.add(helpMenu);
This has the effect that the fileMenu is aligned on the left and the helpMenu is aligned on the right. I can't get this to work in Swing Designer, do you know an alternate way to achieve the same effect? Cheers,
Eric Wohlstadter
University of British Columbia