/**
* Constructor taking the parent frame, the customizer component
* and the target bean as arguments.
*/
public CustomizerDialog(Frame frame, Customizer customizer, Object target) {
super(frame, customizer.getClass().getName(), true);
setLayout(null);
body = (Component) customizer;
add(body);
doneButton = new Button("Done");
doneButton.addActionListener(this);
add(doneButton);
int x = frame.getLocation().x + 30;
int y = frame.getLocation().y + 100;
setLocation(x, y);
setVisible(true);
}
CustomizerDialog.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:passage
作者:
评论列表
文章目录