/**
* Creates a new <code>BeanInstance</code> instance given the fully qualified
* name of the bean
*
* @param container a <code>JComponent</code> to add the bean to
* @param beanName the fully qualified name of the bean
* @param x the x coordinate of the bean
* @param y th y coordinate of the bean
*/
public BeanInstance(JComponent container, String beanName, int x, int y,
Integer... tab) {
m_x = x;
m_y = y;
// try and instantiate the named component
try {
m_bean = Beans.instantiate(null, beanName);
} catch (Exception ex) {
ex.printStackTrace();
return;
}
addBean(container, tab);
}
BeanInstance.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:umple
作者:
评论列表
文章目录