标题: IntroSpector [打印本页] 作者: 杨曾荣 时间: 2012-2-22 15:04 标题: IntroSpector 看一下定义了两个类的代码,解决一个问题
public class ReflectPoint {
private int x;
private int y;
public ReflectPoint(){}
public ReflectPoint(int x, int y) {
super();
this.x = x;
this.y = y;
}
下面还有x、y的get、set方法
public class IntroSpectorTest {
public static void main(String[] args) throws IntrospectionException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {