use of maspack.widgets.LabeledWidget in project artisynth_core by artisynth.
the class MuscleFibreAgent method createBundleWidgets.
private void createBundleWidgets() {
myBundlePanel = new PropertyPanel();
LabeledWidget widget;
widget = (LabeledWidget) myBundlePanel.addWidget(myBundle.getProperty("name"));
widget.setLabelText("bundle name");
widget = (LabeledWidget) myBundlePanel.addWidget(myBundle.getProperty("renderProps"));
widget.setLabelText("bundle renderProps");
myBundlePanel.setAlignmentX(Component.LEFT_ALIGNMENT);
myContentPane.addWidget(myBundlePanel);
}
Aggregations