⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debug15_5beaninfo.java

📁 程序练习中包括书中实例程序代码和练习中要用到的代码,是压缩文件
💻 JAVA
字号:
package questions.c15;
import java.beans.*;
public class Debug15_5BeanInfo extends SimpleBeanInfo {
   public PropertyDescriptor[] getPropertyDescriptors() {
      PropertyDescriptor[] pds = null;
      try {
         pds = new PropertyDescriptor[] {
            new PropertyDescriptor( "corners",
                                    Debug15_5.class ),
         };
         pds[0].setShortDescription(
            "The shape of the rectangle's corners" );
         pds[0].setBound( false );

      } catch( IntrospectionException ix ) {
         ix.printStackTrace();
         return super.getPropertyDescriptors();
      }
      return pds;
   }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -