What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Dec 10, 2007 by james.strachan
SwingX  

UFace supports the Swing widgets available in the SwingX Project.

UIComposite

To be able to create widgets with UFace you need to get a UIComposite to represent the Panel you are gonna add widgets to. You can see this in action in the examples in the org.ufacekit.ui.swingx test area.

You can create a UIComposite as follows in your JFace application.

JXFrame frame = new JXFrame();
Container container = frame.getContentPane();
UIComposite root = new SwingXComposite(container);

// now I can create some UI components
UIFactory factory = root.getFactory();
factory.createTable(root, ...);


Sign in to add a comment