Java

JavaTM 2 SDK, Standard Edition, v 1.4 ¤Ç¤Î Swing ¤ÎÊѹ¹ÅÀ¤ª¤è¤Ó¿·µ¡Ç½

Swing ¥×¥í¥¸¥§¥¯¥È

¥ê¥ê¡¼¥¹ 1.4.1 ¤ª¤è¤Ó 1.4.2 ¸ÇÍ­¤ÎÊѹ¹ÅÀ

¤³¤Î¥É¥­¥å¥á¥ó¥È¤Ç¤Ï¡¢¤¹¤Ù¤Æ¤Î 1.4.* ¥ê¥ê¡¼¥¹¤Ë´Ø¤¹¤ë¾ðÊó¤òÀâÌÀ¤·¤Þ¤¹¡£1.4.1 ¤ª¤è¤Ó 1.4.2 ¸ÇÍ­¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢¡ÖJava 2 SDK, Standard Edition, v 1.4 ¤«¤é¤Î Swing ¤ÎÊѹ¹ÅÀ¡× ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

¼çÍפÊÊѹ¹ÅÀ

Swing ¤ËÂ礭¤Ê±Æ¶Á¤òÍ¿¤¨¤ë¤è¤¦¤Ê³Æµ¡Ç½¤Ë¤Ä¤¤¤Æ¤Ï¡¢Ä̾¸ÄÊ̤Υɥ­¥å¥á¥ó¥È¤Ëʬ¤±¤ÆÀâÌÀ¤·¤Þ¤¹¡£°Ê²¼¤Î¥ê¥ó¥¯¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¡¢¤½¤ì¤¾¤ì¤Î¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

ÈùºÙ¤ÊÊѹ¹ÅÀ

³Æ¥»¥¯¥·¥ç¥ó¤Ë¡¢´ØÏ¢¤¹¤ë¥¯¥é¥¹¤Î¥»¥Ã¥È¤ËÂФ¹¤ëÊѹ¹ÅÀ¤òÀâÌÀ¤·¤Þ¤¹¡£¤Û¤È¤ó¤É¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢JEditorPane ¤ä JTable ¤Ê¤É¡¢Swing ¤Îñ°ì¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î°ìÉô¤Ç¤¢¤ë¥¯¥é¥¹¤Ë¾ÇÅÀ¤¬Åö¤Æ¤é¤ì¤Æ¤¤¤Þ¤¹¡£³Æ API ¤ÎÊѹ¹¤Ï¡¢Java Developer Connection (JDC) Bug Parade ¤Ë¤¢¤ë¥ì¥Ý¡¼¥È¤Ø¤Î¥ê¥ó¥¯¤È´ØÏ¢ÉÕ¤±¤é¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥µ¥¤¥È¤Ç¡¢Êѹ¹¤ÎÍýͳ¤È¤Ê¤Ã¤¿¥Ð¥°¤ä RFE (µ¡Ç½³ÈÄ¥¤ÎÍ×µá) ¤ò»²¾È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥É¥­¥å¥á¥ó¥È¤Ë¤Ï¡¢³Æ API ¤ÎÊѹ¹¤Ë¤Ä¤¤¤Æ¤Î°Ê²¼¤Î¾ðÊó¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£

¥»¥¯¥·¥ç¥ó


Box

Box ¤¬ JComponent ¤«¤éÇÉÀ¸¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4304100.

½¾Íè¡¢Box ¤Î¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤Ï Component ¤Ç¤·¤¿¡£Box ¤¬ JComponent ¤«¤éÇÉÀ¸¤·¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢¤¿¤È¤¨¤Ð¡¢¶­³¦¤òÀßÄꤷ¤¿¤ê¡¢revalidate ¤òȯ¹Ô¤¹¤ë¤Ê¤É¤Ç¡¢Ä̾ï¤Î Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¤è¤¦¤Ë Box ¤ò»ÈÍѤǤ­¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤ì¤Ë¸Â¤é¤º¡¢»ë³ÐŪ¤ÊÊѹ¹¤ä¤½¤Î¾¤ÎƱÍͤʻë³Ð¾å¤Î¥×¥í¥Ñ¥Æ¥£¤ÎÊѹ¹¤Ç¤â¡¢É¸½àŪ¤Ê Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ÏÄ̾repaint ¤Þ¤¿¤Ï revalidate ¤ò»ÈÍѤ·¤ÆÊѹ¹¤·¤Þ¤¹¤¬¡¢Box ¤Ï¤³¤ÎÆ°ºî¤ËŬ¹ç¤·¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤«¤é¡¢Box ¤ª¤è¤Ó Box.Filler ¤¬ JComponent ¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤«¤éÇÉÀ¸¤¹¤ë¤Î¤Ç¡¢É¸½à Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤è¤ê¶á¤¤Æ°ºî¤ò¤·¤Þ¤¹¡£

BoxLayout ¤¬±¦¤«¤éº¸¡¢¤ª¤è¤Ó²¼¤«¤é¾å¤Ø¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¸þ¤­¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4140833.

BoxLayout ¤Ç¤Ï¡¢¥ì¥¤¥¢¥¦¥È¤¹¤ë Container ¤Î ComponentOrientation ¤¬¹Í褵¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£¤Û¤«¤Î AWT ¥ì¥¤¥¢¥¦¥È¥Þ¥Í¡¼¥¸¥ã¤Ï¡¢JDK 1.2 ¤Ë ComponentOrientation µ¡Ç½¤¬Äɲ䵤줿¤È¤­¤Ë¡¢¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¸þ¤­¤ò¹Íθ¤¹¤ë¤è¤¦¤ËºîÀ®¤µ¤ì¤Þ¤·¤¿¡£¤³¤Îµ¡Ç½¤ò BoxLayout ¤ËÄɲ乤ë¤Èçò«ó·ã¹ãP¡¼¥ë¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥×¥í¥°¥é¥à¤ÇÌò¤ËΩ¤Á¤Þ¤¹¡£BoxLayout ¤Ï¡¢JOptionPane¡¢JToolBar¡¢JMenuBar ¤Ê¤É¤Î¡¢¤½¤Î¾¤Î Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¤âÆâÉôŪ¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£¤³¤Îµ¡Ç½¤òÄɲ乤뤳¤È¤Ï¡¢¤³¤Î¤è¤¦¤Ê¥³¥ó¥Ý¡¼¥Í¥ó¥È¤¬ ComponentOrientation ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¤âɬÍפǤ¹¡£

¤³¤Îµ¡Ç½¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¡¢Äê¿ô¤Î LINE_AXIS ¤È PAGE_AXIS¡¢¤ª¤è¤Ó BoxLayout(Container, int) ¥³¥ó¥¹¥È¥é¥¯¥¿¤¬ BoxLayout ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

¤µ¤é¤Ë¡¢SizeRequirements Æâ¤Î°Ê²¼¤Î¥á¥½¥Ã¥É¤âÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£


JButton

¥Ç¥Õ¥©¥ë¥È¥Ü¥¿¥ó¤¬ Windows LAF ¤Î Focus ¤Ë½¾¤¦

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4659800

¤³¤Î¥Ð¥°¤Ë¤Ä¤¤¤Æ¤Ï¡¢1.4.0 ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¥Ü¥¿¥ó¤Ïɬ¤º¤·¤â focus ¤Ë½¾¤¤¤Þ¤»¤ó¡£¤³¤ì¤Ï 1.4.1 ¤Ç½¤Àµ¤µ¤ì¤Þ¤·¤¿¡£

¶¯Ä´É½¼¨¤µ¤ì¤ëʸ»ú¤Î¿·µ¬¥³¥ó¥È¥í¡¼¥ë

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4138746

AbstractButton ¤È JLabel ¤ÎξÊý¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢¤¢¤ëÆ°ºî¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Ë¥­¡¼¥Ü¡¼¥É¤«¤éÆþÎϤ¹¤ëʸ»ú (¥Ë¡¼¥â¥Ë¥Ã¥¯) ¤òÀßÄê¤Ç¤­¤Þ¤¹¡£javadoc ¤Ç¤Ï¤³¤ì¤é¤Î¥á¥½¥Ã¥É¤Ë¤Ä¤¤¤Æ¡¢ÀßÄꤷ¤¿Ê¸»ú¤¬ºÇ½é¤Ë½Ð¸½¤·¤¿¤È¤­¤ËÂçʸ»ú¤«¾®Ê¸»ú¤«¤Ë¤È¤é¤ï¤ì¤º¶¯Ä´¤µ¤ì¤ë¤ÈÀâÌÀ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤Îµ¡Ç½¤Ï¤Û¤È¤ó¤É¤Î³«È¯¼Ô¤ËŬ¹ç¤·¤Þ¤¹¤¬¡¢Æ±¤¸Ê¸»ú¤¬¤Þ¤¿½Ð¸½¤·¤¿¾ì¹ç¤Ë¤½¤ì¤â¶¯Ä´É½¼¨¤¹¤ëɬÍפ¬¤¢¤ë¾ì¹ç¤â¡¢¤«¤Ê¤ê¤ÎÄøÅÙ¤¢¤ê¤Þ¤¹¡£¼¡¤ËÎã¤ò¼¨¤·¤Þ¤¹¡£¡Ö¥á¥âÄ¢¡×Æâ¤Ç¤Ï¡¢¡Öa¡×¤¬¡Ö̾Á°¤òÉÕ¤±¤ÆÊݸ¡×¤Î¥¢¥¯¥»¥é¥ì¡¼¥¿¤Ç¤¹¤¬¡¢2 ÈÖÌܤΡÖa¡×¤¬¶¯Ä´¤µ¤ì¤ëʸ»ú¤Ç¤¹¡£³«È¯¼Ô¤Ë¤Ï¡¢¤³¤ì¤ò»ØÄê¤Ç¤­¤ëÊýË¡¤¬É¬ÍפǤ¹¡£

¤³¤ÎÌäÂê¤Ï¡¢¿·µ¬¥á¥½¥Ã¥É¤Î AbstractButton.setDisplayedMnemonicIndex ¤ª¤è¤Ó JLabel.setDisplayedMnemonicIndex ¤Ç²ò·è¤Ç¤­¤Þ¤¹¡£setMnemonic ¤Þ¤¿¤Ï setDisplayedMnemonic ¥á¥½¥Ã¥É¤Ç¥Ë¡¼¥â¥Ë¥Ã¥¯¤ò»ØÄꤹ¤ë¤È¡¢setDisplayedMnemonicIndex ¥á¥½¥Ã¥É¤Ç¡¢¶¯Ä´É½¼¨¤µ¤ì¤ëʸ»ú¤òÊѹ¹¤Ç¤­¤Þ¤¹¡£¤µ¤é¤Ë¡¢¿·¤·¤¤ AbstractButton.getDisplayedMnemonicIndex ¤ª¤è¤Ó JLabel.getDisplayedMnemonicIndex ¥á¥½¥Ã¥É¤¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢drawStringUnderlineCharAt ¤¬ javax.swing.plaf.basic.BasicGraphicsUtils ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

AbstractButton.configurePropertiesFromAction ¤Ç ACTION_COMMAND_KEY ¥×¥í¥Ñ¥Æ¥£¤¬Âº½Å¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4457940

¤³¤ì¤Þ¤Ç¡¢AbstractButton ¤Î configurePropertiesFromAction(Action) ¥á¥½¥Ã¥É¤ª¤è¤Ó configurePropertiesFromAction(Action, String[]) ¥á¥½¥Ã¥É¤Ç¤Ï¡¢ACTION_COMMAND_KEY ¥×¥í¥Ñ¥Æ¥£¤¬Âº½Å¤µ¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢¤³¤ÎÅÀ¤¬Âн褵¤ì¤Þ¤·¤¿¡£¤½¤Î¤¿¤á¡¢¼¡¤Ë¼¨¤¹ AbstractButton ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¡¢configurePropertiesFromAction ¥á¥½¥Ã¥É¤Î javadoc ¤¬Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£


JComboBox

JComboBox ¤Ø¤Î PopupMenuListener ¤ÎÄɲÃ

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4287690.

¥³¥ó¥Ü¥Ü¥Ã¥¯¥¹¤Î¥É¥í¥Ã¥×¥À¥¦¥ó¥á¥Ë¥å¡¼¤¬¥Ý¥Ã¥×¥¢¥Ã¥×¤µ¤ì¤¿¤ê¡¢¸µ¤ËÌᤵ¤ì¤¿¤ê¡¢¼è¤ê¾Ã¤µ¤ì¤¿¤ê¤¹¤ë¤È¤­¤Ë¥ê¥¹¥Ê¡¼¤ËÄÌÃΤµ¤ì¤ëµ¡Ç½¤Î¥µ¥Ý¡¼¥È¤ò¡¢Â¿¤¯¤Î³«È¯¼Ô¤¬µá¤á¤Æ¤¤¤Þ¤·¤¿¡£¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢¤³¤Î¤è¤¦¤Ê¥ê¥¹¥Ê¡¼¤ò»ÈÍѤ·¤Æ¡¢¥³¥ó¥Ü¥Ü¥Ã¥¯¥¹¤Î¥â¥Ç¥ë¤ò³Æ¹àÌܤȤȤâ¤ËÀ¸À®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤·¤¿¡£

¤³¤Îµ¡Ç½¤Ï¡¢Look & Feel ¤Î¼ÂÁõ¤Î¤¤¤¯¤Ä¤«¤ÇÄ󶡤µ¤ì¤Ê¤¤²ÄǽÀ­¤Î¤¢¤ë¥É¥í¥Ã¥×¥À¥¦¥ó¥á¥Ë¥å¡¼µ¡Ç½ÍѤ˥ꥹ¥Ê¡¼¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤³¤È¤Ë¤Ä¤¤¤Æ¡¢²¿¤é¤«¤Î¡¢¤ª¤½¤é¤¯¤Ï¥¢¥«¥Ç¥ß¥Ã¥¯¤Ê·üÇ°¤¬¤¢¤Ã¤¿¤¿¤á¤Ë¡¢½é´ü¥Ð¡¼¥¸¥ç¥ó¤Î Swing ¤Ë¤ÏÄ󶡤µ¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£¤·¤«¤·¡¢Java ¤È¤È¤â¤Ë½Ð²Ù¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î Look & Feel ¤È¡¢¤Û¤«¤Î¤¹¤Ù¤Æ¤Î Look & Feel ¤Ç¤â¡¢¥³¥ó¥Ü¥Ü¥Ã¥¯¥¹¤Î¤¹¤Ù¤Æ¤Î¹àÌܤòɽ¼¨¤¹¤ë¤¿¤á¤Ë¥É¥í¥Ã¥×¥À¥¦¥ó¥á¥Ë¥å¡¼¤¬»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢¥á¥Ë¥å¡¼¾õÂÖ¤ÎÊѹ¹ÄÌÃΤò¼èÆÀ¤¹¤ë¤¿¤á¤Ë¡¢°Ü¿¢À­¤Î¤Ê¤¤¥Ï¥Ã¥¯¤ËÍê¤ë³«È¯¼Ô¤â¤¤¤Þ¤·¤¿¡£

¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢PopupMenuListener ¤¬ JComboBox ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£´ðÈפȤʤë Look & Feel ¤¬¹àÌÜ¥á¥Ë¥å¡¼¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤«¤®¤ê¡¢¤³¤Î¥ê¥¹¥Ê¡¼¤ò»ÈÍѤ·¤Æ¡¢¥³¥ó¥Ü¥Ü¥Ã¥¯¥¹¤Î¥á¥Ë¥å¡¼¤¬É½¼¨¤µ¤ì¤ëÁ°¸å¤Ë¥¢¥¯¥·¥ç¥ó¤ò¼Â¹Ô¤Ç¤­¤Þ¤¹¡£¤³¤Îµ¡Ç½¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤Ë¤Ï¡¢JComboBox ¤Î°Ê²¼¤Î¿·µ¬¥á¥½¥Ã¥É¤¬É¬ÍפǤ¹¡£

public void addPopupMenuListener(PopupMenuListener l)
public void removePopupMenuListener(PopupMenuListener l)
public void firePopupMenuWillBecomeVisible()
public void firePopupMenuWillBecomeInvisible()
public void firePopupMenuCanceled()

JComboBox ¤¬¥ê¥¹¥ÈÍѤΥץí¥È¥¿¥¤¥×¤Î¥»¥ë¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4231298

¤³¤ì¤Þ¤Ç JComboBox ¤Ï¡¢É½¼¨¤¹¤ë³Æ¹àÌܤΥì¥ó¥À¥ê¥ó¥°¤ò¹½À®¤·¤Æ¤¤¤Þ¤·¤¿¡£¥ê¥¹¥È¤¬Â礭¤¤¾ì¹ç¡¢¤³¤Î¹½À®ÊýË¡¤Ï»þ´Ö¤¬¤«¤«¤ê¤Þ¤¹¡£³«È¯¼Ô¤¬Âå¤ï¤ê¤ËɬÍפȤ·¤Æ¤¤¤¿¤Î¤Ï¡¢¤¹¤Ù¤Æ¤Î¥»¥ë¤Ë°ìÃפ¹¤ë¥×¥í¥È¥¿¥¤¥×¤ò»ØÄꤷ¡¢¤½¤Î¥×¥í¥È¥¿¥¤¥×¤À¤±¤¬³Æ¥»¥ë¤ÎÂå¤ï¤ê¤Ë 1 ²ó¤À¤±¥Á¥§¥Ã¥¯¤µ¤ì¤ë¤è¤¦¤Êµ¡Ç½¤Ç¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢getPrototypeDisplayValue ¤È setPrototypeDisplayValue ¤¬ JComboBox ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

JComboBox ¤ª¤è¤Ó´ØÏ¢¥¯¥é¥¹¤Ë¤Ä¤¤¤Æ¤Î Javadoc ¥É¥­¥å¥á¥ó¥È¤¬²þÁ±¤µ¤ì¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4394300

¤³¤ì¤Þ¤Ç¡¢JComboBox ¤Î public API ¤È¤½¤Î UI °Ñ¾ù¤Ë¤Ï¡¢¤½¤Î¼ÂÁõÊýË¡¤ò¾ÜºÙ¤ËÀâÌÀ¤·¤¿ javadoc ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤¿¤À¤·¡¢»þ´Ö¤Î·Ð²á¤È¤È¤â¤Ëµ¡Ç½¤ÎºÆ¹Í¤È¥Ð¥°¤Î½¤Àµ¤ò·Ð¤Æ¡¢¤³¤Î javadoc ¤Ï»þÂåÃÙ¤ì¤È¤Ê¤ê¤Þ¤·¤¿¡£¼ÂÁõ¤Î¾ÜºÙ¤Ç¤Ï¤Ê¤¯¥á¥½¥Ã¥É¤ÎÆ°ºî¤òÀâÌÀ¤¹¤ë¤è¤¦¤Ë¡¢javadoc ¤Î¥Á¥§¥Ã¥¯¤È²þÄû¤¬¹Ô¤ï¤ì¤Þ¤·¤¿¡£¤Þ¤¿¡¢¼ÂºÝ¤Ë¤ÏÈó¸ø³«¤Ç¤¢¤ë¤Ï¤º¤Î¡Öprotected¡×¥á¥½¥Ã¥É¤ä¥Õ¥£¡¼¥ë¥É¤Ë´Ø¤·¤Æ¤Ï¡¢¤³¤Î¤è¤¦¤Ê¥á¥½¥Ã¥É¤Î¥ª¡¼¥Ð¡¼¥é¥¤¥É¤ä¸Æ¤Ó½Ð¤·¤ò¾©Î夷¤Ê¤¤¤è¤¦¤Ë¡¢javadoc ¤¬¤¤¤¯¤Ä¤«ºï½ü¤µ¤ì¤Þ¤·¤¿¡£

¤½¤Î¤¿¤á¡¢JComboBox¡¢ComboBoxModel¡¢MutableComboBoxModel¡¢javax.swing.plaf.basic.BasicComboBoxUI¡¢javax.swing.plaf.basic.ComboPopup¡¢¤ª¤è¤Ó javax.swing.plaf.basic.BasicComboPopup ¤Î javadoc ¤¬Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£


JFileChooser

Windows Look & Feel ¤Ç¤Î JFileChooser ¤Î²þÁ±

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4290709

Swing ¤Î JFileChooser ¤Ï¡¢Windows Look & Feel ¤Ë´ð¤Å¤¤¤¿ Microsoft Windows ¤Î°ìÈÌŪ¤Ê¥Õ¥¡¥¤¥ë¤Î¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤È»÷¤Æ¤¤¤Þ¤¹¤¬¡¢Â¿¾¯¤Î·çÇ¡Éôʬ¤¬¤¢¤ê¡¢¤´ÉÔËþ¤ò夤¤Æ¤¤¤Þ¤·¤¿¡£Æäˡ¢Microsoft Windows ¤Î³°´Ñ¥¬¥¤¥É¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Êµ­½Ò¤¬¤¢¤ê¤Þ¤¹¡£

Ä̾ï¤Î¡ÖOpen¡×¤ª¤è¤Ó¡ÖSave As¡×¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤¬»ÈÍѤǤ­¤Ê¤¤¾ì¹ç¤Ï¡¢¼«Ê¬¤ÇºîÀ®¤¹¤ë¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤Ë°Ê²¼¤Îµ¡Ç½¤òÁȤ߹þ¤ó¤Ç¡¢¥·¥§¥ë¡¢Windows ¥¢¥¯¥»¥µ¥ê¡¢¤ª¤è¤Ó¤½¤Î¾¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤È³Î¼Â¤Ë°ì´ÓÀ­¤òÊݤĤ褦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

¾å¤Î²Õ¾ò½ñ¤­¤ÎºÇ½é¤Î 4 ¹àÌܤò Swing Æâ¤Ç¼Â¸½¤¹¤ë¤Ë¤Ï¡¢AWT ¤«¤é¤ÎÄɲäΠAPI ¥µ¥Ý¡¼¥È¤¬É¬ÍפǤ¹¡£AWT ¶¦ÄÌ¥Õ¥¡¥¤¥ë¥À¥¤¥¢¥í¥°¤â¡¢¸½ºß¤Ç¤Ï¡¢°Ê²¼¤ÎÍýͳ¤Ç¼õ¤±Æþ¤ìÆñ¤¤¥½¥ê¥å¡¼¥·¥ç¥ó¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

¿·¤·¤¤µ¡Ç½¤¬¡¢°Ê²¼¤Î public ¥á¥½¥Ã¥É¤ò javax.swing.filechooser.FileSystemView ¥¯¥é¥¹¤ËÄɲ乤뤳¤È¤Ç¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ ¤³¤Î¥¯¥é¥¹¤Ë¤è¤Ã¤Æ¡¢File ¥¯¥é¥¹¤ÎŬÍÑÈϰϤòĶ¤¨¤Æ¡¢¥Õ¥¡¥¤¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤Î¾ðÊó¤¬Ä󶡤µ¤ì¤Þ¤¹¡£

public boolean isTraversable(File f)
public String getSystemDisplayName(File f)
public String getSystemTypeDescription
public Icon getSystemIcon(File f)
public boolean isParent(File folder, File file)
public File getChild(File parent, String filename)
public boolean isFileSystem(File f)
public boolean isFileSystemRoot(File dir)
public boolean isDrive(File dir)
public boolean isFloppyDrive(File dir)
public boolean isComputerNode(File dir)
public File createFileSystemRoot(File f)
public File[] getRoots()

isTraversable ¥á¥½¥Ã¥É¤¬ javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView ¤«¤éºï½ü¤µ¤ì¤¿¤Î¤Ç¡¢¤½¤Î¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤Î¼ÂÁõ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£

createListSelectionListener ¤¬ javax.swing.plaf.metal.MetalFileChooserUI ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

¤Þ¤¿¡¢javax.swing.plaf.basic.BasicDirectoryModel ¤Ë¤Ï¼¡¤ÎÊѹ¹¤¬¤¢¤ê¤Þ¤¹¡£

public void intervalAdded(ListDataEvent e)
public void intervalRemoved(ListDataEvent e)
public void renameFile(File oldFile, File newFile)


JFileChooser Æâ¤Ç¡ÖOpen Directory¡×¥Ü¥¿¥ó¤ÎÆÃħ¤ò»ØÄꤹ¤ë¿·µ¡Ç½

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4318785

Look & Feel ¤Ç¤Ï¡¢JFileChooser Æâ¤Ç¥Ç¥£¥ì¥¯¥È¥ê¤ò³«¤¯¤¿¤á¤Ë»ÈÍѤ¹¤ë¥Ü¥¿¥ó¤Î¥Æ¥­¥¹¥È¡¢¥Ä¡¼¥ë¥Ò¥ó¥È¤Î¥Æ¥­¥¹¥È¡¢¤ª¤è¤Ó¥Ë¡¼¥â¥Ë¥Ã¥¯¤ò»ØÄꤹ¤ëµ¡Ç½¤¬É¬ÍפǤ¹¡£

¤³¤Îµ¡Ç½¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¡¢¼¡¤ÎÄê¿ô¤È¥á¥½¥Ã¥É¤¬ plaf.basic.BasicFileChooserUI ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

protected int directoryOpenButtonMnemonic = 0;
protected String directoryOpenButtonText = null
protected String directoryOpenButtonToolTipText = null
protected boolean isDirectorySelected()
protected void setDirectorySelected(boolean b)
protected File getDirectory()
protected void setDirectory(File f)

Ê£¿ô¥Õ¥¡¥¤¥ëÁªÂò¤Î¥µ¥Ý¡¼¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4218431

1.4 ¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢Ê£¿ô¤Î¥Õ¥¡¥¤¥ë¤òÁªÂò¤Ç¤­¤ëµ¡Ç½¤¬ JFileChooser ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£¤¿¤À¤·¡¢setMultiSelectionEnabled ¤Î javadoc ¤Ï 1.4.1 ¥ê¥ê¡¼¥¹¤Þ¤Ç¹¹¿·¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£


JInternalFrame

JInternalFrame ¤Ç¤Ï¡¢Ä¹¤¹¤®¤ë¥¿¥¤¥È¥ë¤òÀÚ¤ê¼Î¤Æ¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4134077

°ÊÁ°¤Ï¡¢ÆâÉô¥Õ¥ì¡¼¥à¤Î¥¿¥¤¥È¥ë¤¬Ä¹¤¹¤®¤ë¾ì¹ç¤Ç¤â¡¢¥¯¥ê¥Ã¥×¤µ¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£¤Þ¤¿¡¢¥¿¥¤¥È¥ë¤¬¥¢¥¤¥³¥óÉôʬ¤Î¾å¤Ë½Å¤Í¤Æɽ¼¨¤µ¤ì¡¢¥¿¥¤¥È¥ë¤¬¥¯¥ê¥Ã¥×¤µ¤ì¤¿¤³¤È¤ò¥æ¡¼¥¶¤¬»ë³ÐŪ¤Ë¸¡Æ¤¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤¿¤á¤Ë¡¢BasicInternalFrameTitlePane.getTitle ¤¬Äɲ䵤ì¤Þ¤·¤¿¡£

Windows Look & Feel Æâ¤Î JInternalFrame ¤Î¥¿¥¤¥È¥ë¤¬¥°¥é¥Ç¡¼¥·¥ç¥óÉÕ¤­¤Ç¥ì¥ó¥À¥ê¥ó¥°¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4389209

¤³¤ì¤òÀµ¤·¤¯¼ÂÁõ¤¹¤ë¤Ë¤Ï¡¢com.sun.java.swing.plaf.windows.WindowsInternalFrameTitlePane ¥¯¥é¥¹¤òºîÀ®¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤·¤¿¡£¤³¤Î¥¯¥é¥¹¤Ï javax.swing.plaf.basic.BasicInternalFrameTitlePane ¤Î³ÈÄ¥¤Ç¤¹¤¬¡¢Å¬Àڤʾì¹ç¤Ë¥°¥é¥Ç¡¼¥·¥ç¥ó¤ò¥ì¥ó¥À¥ê¥ó¥°¤¹¤ë¤¿¤á¤Ë¡¢¥Ú¥¤¥ó¥È¥ë¡¼¥Á¥ó¤¬¥ª¡¼¥Ð¡¼¥é¥¤¥É¤µ¤ì¤Æ¤¤¤Þ¤¹¡£½¾Íè¤Î¥³¡¼¥É¤òºÆÍøÍѤ¹¤ë¤â¤Ã¤È¤âŬÀÚ¤ÊÊýË¡¤Ï¡¢¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤À¤±¤ò¥Ú¥¤¥ó¥È¤¹¤ëÉôʬ¤ò¥Ú¥¤¥ó¥È¥á¥½¥Ã¥É¤«¤éʬΥ¤·¡¢WindowsInternalFrameTitlePane Æâ¤Ç¤½¤ÎÉôʬ¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤¹¤ë¤³¤È¤Ç¤¹¡£paintTitleBackground ¥á¥½¥Ã¥É¤¬ javax.swing.plaf.basic.BasicInternalFrameTitlePane ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£


JTextComponent

JEditorPane Æâ¤Î¥¤¥á¡¼¥¸ÍѤΥġ¼¥ë¥Ò¥ó¥È¤ËÂФ¹¤ë¿·µ¬¥µ¥Ý¡¼¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4252169.

°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢JEditorPane Æâ¤Ç¥¤¥á¡¼¥¸¤ò¥ì¥ó¥À¥ê¥ó¥°¤¹¤ë View ¤Ç¤¢¤ë ImageView ¤¬¥Ä¡¼¥ë¥Ò¥ó¥È¤Î¥Æ¥­¥¹¥È¤òɽ¼¨¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£View ¤Ë¤Ï¡¢JTextComponent ¤Î¤¿¤á¤Ëɽ¼¨¤µ¤ì¤ë¥Ä¡¼¥ë¥Ò¥ó¥È¥Æ¥­¥¹¥È¤Ë±Æ¶Á¤òÍ¿¤¨¤ë¼êÃʤ¬¤Ê¤«¤Ã¤¿¤¿¤á¤Ç¤¹¡£º£²ó¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢JTextComponent ¤Ë¥Ä¡¼¥ë¥Ò¥ó¥È¤¬¤Ê¤¤¾ì¹ç¤Ë¡¢¥Þ¥¦¥¹¤Î²¼¤Î¥Ó¥å¡¼¤¬¥Ä¡¼¥ë¥Ò¥ó¥È¤òɽ¼¨¤¹¤ë¤è¤¦¤ËÍ׵ᤵ¤ì¤Þ¤¹¡£¤½¤Î View ¤¬ ALT °À­¤Î¤¢¤ë HTML Í×ÁǤËÂбþÉÕ¤±¤é¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥Ä¡¼¥ë¥Ò¥ó¥È¤Î¥Æ¥­¥¹¥È¤Ï¡¢¤½¤Î°À­¤ÎÃͤˤʤê¤Þ¤¹¡£

View ¤¬¥Ä¡¼¥ë¥Ò¥ó¥È¤Î¥Æ¥­¥¹¥È¤Ë±Æ¶Á¤òÍ¿¤¨¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢Â¿¤¯¤Î¥á¥½¥Ã¥É¤¬É¬ÍפǤ¹¡£getToolTipText ¤¬ javax.swing.plaf.TextUI ¤ËÄɲ䵤줿¤Î¤Ç¡¢ÆÃÄê¤Î°ÌÃ֤ˤ¢¤ë¥Ä¡¼¥ë¥Ò¥ó¥È¤Î¥Æ¥­¥¹¥È¤ò¼èÆÀ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£¤³¤ì¤Ç¡¢JTextComponent ¤Î getToolTipText ¥á¥½¥Ã¥É¤Ï¡¢¥Ä¡¼¥ë¥Ò¥ó¥È¤¬ JTextComponent ¤ËÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¸«¤Ê¤·¡¢TextUI ¤Ë¥Ä¡¼¥ë¥Ò¥ó¥È¤òžÁ÷¤·¤Þ¤¹¡£

getToolTipText was also added to javax.swing.text.View.View.getToolTipText ¤Î¥Ç¥Õ¥©¥ë¥È¤Î¼ÂÁõ¤Ç¤Ï¡¢Í׵᤬»ØÄꤵ¤ì¤¿°ÌÃ֤ˤ¢¤ë View ¤Î»Ò¤ËžÁ÷¤µ¤ì¤Þ¤¹¡£ÆÃÄê¤Î°ÌÃ֤ˤ¢¤ë»Ò¤ò´Êñ¤ËȽÃǤǤ­¤ë¤è¤¦¤Ë¡¢getViewIndex ¤¬ View ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

View ¤Î¼ÂÁõ¤Ç¤Ï¡¢getViewIndex ¤¬¸Æ¤Ó½Ð¤µ¤ì¡¢¼¡¤Ë»Ò¤Î View ¤Ç getToolTipText ¤¬¸Æ¤Ó½Ð¤µ¤ì¤Þ¤¹¡£¼¡¤Ë ImageView ¤Ë¤è¤Ã¤Æ getToolTipText ¤¬¥ª¡¼¥Ð¥é¥¤¥É¤µ¤ì¡¢¤½¤Î AttributeSet ¤Î ALT °À­¤«¤éÃͤ¬ÊÖ¤µ¤ì¤Þ¤¹¡£

ImageView ¥¯¥é¥¹¤¬ public ¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4233811

¥Ñ¥Ã¥±¡¼¥¸¤ÎÈó¸ø³«¥¯¥é¥¹¤Ç¤¢¤Ã¤¿ javax.swing.text.html.ImageView ¤¬¸ø³«¤µ¤ì¤¿¤Î¤Ç¡¢¤³¤Î¥¯¥é¥¹¤ò³ÈÄ¥¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

HyperlinkEvent ¤ÎÆɤ߼è¤êÀìÍÑ¿·µ¬¥×¥í¥Ñ¥Æ¥£ elementOffset

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4182124

HTML ¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ï¡¢¥Þ¥¦¥¹¤¬¥ê¥ó¥¯¾å¤ò°ÜÆ°¤·¤¿¤³¤È¤ò HyperlinkEvent ¤ª¤è¤Ó HyperlinkListener ¥¯¥é¥¹·Ðͳ¤Ç¸¡½Ð¤¹¤ëÊýË¡¤¬¡¢³«È¯¼Ô¤Ë¸ø³«¤µ¤ì¤Þ¤·¤¿¡£³«È¯¼Ô¤Ë¤È¤Ã¤Æ¤Ï¡¢HyperlinkListener ¤ËÄÌÃΤµ¤ì¤¿¤È¤­¤Ë¥É¥­¥å¥á¥ó¥È¤«¤é¾ðÊó¤òÃê½Ð¤¹¤ëÊýË¡¤¬É¬Íפʾì¹ç¤â¤¢¤ê¤Þ¤¹¡£½¾Íè¤Ï¡¢HyperlinkEvent ¤¬¼¨¤¹¥É¥­¥å¥á¥ó¥ÈÆâ¤Î°ÌÃÖ¤ò¡¢³«È¯¼Ô¤¬È½ÃǤ¹¤ëÊýË¡¤¬¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤ÎÌäÂê¤ò²þÁ±¤¹¤ë¤¿¤á¤Ë¡¢HyperlinkEvent(Object, EventType, URL, String, Element) ¥³¥ó¥¹¥È¥é¥¯¥¿¤È getSourceElement ¥á¥½¥Ã¥É¤¬ HyperlinkEvent ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

HTMLFrameHyperlinkEvent ¤Ë¤è¤Ã¤Æ HyperlinkEvent ¤¬³ÈÄ¥¤µ¤ì¡¢¤³¤ì¤Ï¤¹¤Ç¤Ë getSourceElement ¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡£¸½ºß¤Ç¤Ï¥¹¡¼¥Ñ¡¼¥¯¥é¥¹¤Ç¤³¤Î¥á¥½¥Ã¥É¤òÄêµÁ¤¹¤ë¤¿¤á¡¢getSourceElement ¤Î javadoc ¤Ï¡¢HTMLFrameHyperlinkEvent ¤«¤éºï½ü¤µ¤ì¤Þ¤·¤¿ (¥á¥½¥Ã¥É¼«ÂΤϷѾµ¤µ¤ì¤Æ¤¤¤ë)¡£

HTML ¥Ñ¡¼¥µ¤ÎÊѹ¹ - ¶õÇò¤ÎÊó¹ð

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4241788

HTML ¥Ñ¡¼¥µ (javax.swing.text.html.parser.Parser) ¤Î¥»¥Þ¥ó¥Æ¥£¥¯¥¹¤¬¡¢NetscapeTM ¤ä Internet Explorer ¤Ê¤É¤Î¥Ö¥é¥¦¥¶¤Ë¤è¤êÎɤ¯Å¬¹ç¤¹¤ë¤è¤¦¤Ë¼ã´³Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£API ¤ËÊѹ¹¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢¶õÇò¤ÎÊó¹ð¤Ç¿¾¯¤ÎÊѹ¹¤¬¤¢¤ê¤Þ¤¹¡£Îã¤òµó¤²¤Þ¤¹¡£strict (javax.swing.text.html.parser.Parser ¤Î¥¤¥ó¥¹¥¿¥ó¥¹ÊÑ¿ô) == false (¥Ç¥Õ¥©¥ë¥È) ¤Î¾ì¹ç¤Ï¡¢Netscape ¤È Explorer ¤ÎÆ°ºî¤òÌÏÊ魯¤ë¤¿¤á¤Ë¡¢¥¤¥ó¥¹¥¿¥ó¥¹ÊÑ¿ô¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£

¼¡¤Ë¡¢ÌäÂê¤Î¤¢¤ë¥·¥Ê¥ê¥ª¤ò¼¨¤·¤Þ¤¹¡£

'<b>blah <i> <strike> foo'

¤³¤ì¤Ï¡¢¼¡¤Î¤è¤¦¤Ë½èÍý¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

'<b>blah <i><strike>foo'

ƱÍͤˡ¢

'<p><a href="xx"> <em>Using</em></a></p>'

¤³¤ì¤Ï¡¢¼¡¤Î¤è¤¦¤Ë½èÍý¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

'<p><a href="xx"> <em>Using</em></a></p>'

¥¿¥°¤¬¥Õ¥í¡¼¤òʬÃǤ·¤¿¤êËöÈø¤Î¶õÇò¤¬¸¡½Ð¤µ¤ì¤ë¤È¡¢¥¤¥ó¥¹¥¿¥ó¥¹ÊÑ¿ô¤Ï true ¤ËÀßÄꤵ¤ì¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢¤¹¤Ù¤Æ¤Î¶õÇò¤¬Ìµ»ë¤µ¤ì¤Þ¤¹¡£ºÇ½é¤Ë¶õÇò°Ê³°¤Îʸ»ú¤¬¤¢¤Ã¤¿¤È¤­¤Ë¡¢¥¤¥ó¥¹¥¿¥ó¥¹ÊÑ¿ô¤Ï false ¤ËÀßÄꤷľ¤µ¤ì¤Þ¤¹¡£

HTML ¥Õ¥©¡¼¥à¤Î½ñ¤­¹þ¤ß¤ËÂФ¹¤ë¥µ¥Ý¡¼¥È¤¬²þÁ±¤µ¤ì¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4200439

J2SETM ¤ÇÄ󶡤µ¤ì¤¿ HTML ¥µ¥Ý¡¼¥È¤Ç¤Ï¡¢¥Õ¥©¡¼¥à¤Î³ÆÍ×ÁǤνñ¤­¹þ¤ß¤¬Àµ¤·¤¯¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤Î¸¶°ø¤ÎÂçÉôʬ¤Ï¡¢¥Õ¥©¡¼¥à¤Î¥â¥Ç¥ë²½¤ÎÊýË¡¤Ë¤¢¤ê¤Þ¤·¤¿¡£¥É¥­¥å¥á¥ó¥È¥ª¥Ö¥¸¥§¥¯¥È¤Î¥â¥Ç¥ë (www.w3.org ¤Î DOM ¤ò»²¾È) ¤Ë°ìÁØ°ìÃפµ¤»¤ë¤¿¤á¤Ë¡¢¥Õ¥©¡¼¥à¤¬ÆâÉôŪ¤Ë¥â¥Ç¥ë²½¤µ¤ì¤ëÊýË¡¤¬Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£°ÊÁ°¤Ï¡¢¥Õ¥©¡¼¥à¤Î¤¹¤Ù¤Æ¤Î°À­¤¬¡¢»Ò¤Îʸ»úÍ×ÁǤ¹¤Ù¤Æ¤Î attributeSet ¤Ë³ÊǼ¤µ¤ì¤Þ¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤«¤é¡¢HTML ¥Õ¥¡¥¤¥ë¼«ÂΤ˰ìÁØ°ìÃפ¹¤ë¤è¤¦¤Ë¡¢¥Õ¥©¡¼¥à¤òɽ¤¹Í×ÁǤ¬ºîÀ®¤µ¤ì¤Þ¤¹¡£¤³¤ÎÊýË¡¤Ë¤è¤ê¡¢¥Õ¥©¡¼¥à¤¬¤è¤êÎɤ¯¥â¥Ç¥ë²½¤µ¤ì¤ë¾å¤Ë¡¢¥Õ¥©¡¼¥à¤ò°ì´Ó¤·¤Æ½ñ¤­½Ð¤»¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

¤³¤ÎÊѹ¹¤Ï¡¢¸·Ì©¤Ç¤Ê¤¤¥Õ¥©¡¼¥à¤Î½èÍý¤Ë°Í¸¤·¤Æ¤¤¤¿³«È¯¼Ô¤Ë¤È¤Ã¤Æ¤Ï±Æ¶Á¤¬¤¢¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¼¡¤Î¤è¤¦¤Ê̵¸ú¤Ê HTML ¤ò½èÍý¤¹¤ë¤È¤·¤Þ¤¹¡£

<table>
<form>
</table>
</form>

¤³¤ì¤Þ¤Ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¸«¤Ê¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¡£

<form>
<table>
</table>
</form>

¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢Âå¤ï¤ê¤Ë¼¡¤Î¤è¤¦¤Ë½èÍý¤µ¤ì¤Þ¤¹¡£

<table>
<form>
</form>
</table>

javax.swing.text.DefaultHighlighter ¥¯¥é¥¹Æâ¤Î static ¤Î DefaultPainter ¤¬ Final ¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4328938

¤³¤Î¥ê¥ê¡¼¥¹°ÊÁ°¤Ï¡¢javax.swing.text.DefaultHighlighter ¤Î static ¥Õ¥£¡¼¥ë¥É DefaultPainter ¤Ï final ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤ì¤Ë¤Ï¡¢ÀøºßŪ¤Ë¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÌäÂ꤬¤¢¤ê¤Þ¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢¤³¤ì¤¬ Final ¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

PlainDocument ¥³¥ó¥¹¥È¥é¥¯¥¿¤¬¸ø³«¤µ¤ì¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4220001

¤³¤Î¥ê¥ê¡¼¥¹°ÊÁ°¤Ï¡¢PlainDocument(AbstractDocument.Content) ¥³¥ó¥¹¥È¥é¥¯¥¿¤ÏÊݸ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤Ä¤Þ¤ê¡¢¤³¤Î¥³¥ó¥¹¥È¥é¥¯¥¿¤ò»ÈÍѤ·¤è¤¦¤È¤¹¤ë³«È¯¼Ô¤Ï¥µ¥Ö¥¯¥é¥¹²½¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤·¤¿¡£¤³¤Î¥³¥ó¥¹¥È¥é¥¯¥¿¤Ï¤â¤È¤â¤È¸ø³«¤¹¤ëͽÄê¤ÇºîÀ®¤µ¤ì¡¢¤³¤Î¥ê¥ê¡¼¥¹¤Ç¸ø³«¤µ¤ì¤Þ¤·¤¿¡£

JEditorPane.scrollToReference ¥á¥½¥Ã¥É¤¬¸ø³«¤µ¤ì¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4304676

JEditorPane.scrollToReference ¤Ï¡¢ÉÔŬÀÚ¤ÊÍýͳ¤ÇÊݸ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤³¤Î¥á¥½¥Ã¥É¤Ï¥µ¥Ö¥¯¥é¥¹²½¤·¤Ê¤¯¤Æ¤âÌò¤ËΩ¤Ä¤³¤È¤òÌÜŪ¤ËºîÀ®¤µ¤ì¤Æ¤ª¤ê¡¢¤³¤Î¥ê¥ê¡¼¥¹¤Ç¸ø³«¤µ¤ì¤Þ¤·¤¿¡£

Document.getText ¥á¥½¥Ã¥É¤ÇÉôʬÌá¤êÃͤ¬µö²Ä¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4156650

¥Æ¥­¥¹¥È¥É¥­¥å¥á¥ó¥È¤ÎÆâÍƤ˸úΨŪ¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Ë¤Ï¡¢Document ¤Ç getText(int, int, Segment) ¥á¥½¥Ã¥É¤òÄêµÁ¤·¤Þ¤¹¡£»ÄÇ°¤Ê¤³¤È¤Ë¡¢¸Æ¤Ó½Ð¤·Â¦¤Ë¤Ï¡¢¼õ¤±¼ê¦¤¬Í×µá¤ò¸úΨŪ¤ËËþ¤¿¤¹¤«¤É¤¦¤«¤òȽÃǤ¹¤ë¼êÃʤ¬¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤¿¤È¤¨¤Ð GapContent ¤Ï¡¢Í׵᤬¥É¥­¥å¥á¥ó¥È¤ÎºÇ¸å¤ËÊÔ½¸¤µ¤ì¤¿¥¹¥Ý¥Ã¥È (¥®¥ã¥Ã¥×) ¤òĶ¤¨¤Ê¤¤¤«¤®¤ê¡¢Í×µá¤ò¸úΨŪ¤Ë¼ÂÁõ¤Ç¤­¤Þ¤·¤¿¡£ÆâÍƤؤθúΨŪ¤Ê¥¢¥¯¥»¥¹¤òÂ¥¿Ê¤¹¤ë¤¿¤á¤Ë¡¢setPartialReturn ¤ª¤è¤Ó isPartialReturn ¥á¥½¥Ã¥É¤¬ Segment ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£Document.getText ¤Î¥»¥Þ¥ó¥Æ¥£¥¯¥¹¤¬¸½ºß¤Î¤È¤³¤íÊÝ»ý¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤è¤ê¸úΨŪ¤Ë»ÈÍѤ¹¤ë¤¿¤á¤Ë¡¢¸Æ¤Ó½Ð¤·Â¦¤¬ segment.setPartialReturn(true) ¤ò¸Æ¤Ó½Ð¤·¤Æ¡¢¤¤¤Ä¤Ç¤â¥É¥­¥å¥á¥ó¥È¤Î°ìÉô¤ò¼èÆÀ¤·Ä¾¤¹½àÈ÷¤ò¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£

JEditorPane ¤Ç HTML ¤Î¥æ¡¼¥¶Êä½õµ¡Ç½¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4303259

¾ã³²¼Ô¤Î¤¿¤á¤Î¥æ¡¼¥¶Êä½õµ¡Ç½¤Ç¤Ï¡¢Accessibility API ¤ò»ÈÍѤ·¤Æ JEditorPane ¤ÎÆâÍÆ¤Ë¥×¥í¥°¥é¥à¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬Í׵ᤵ¤ì¤Þ¤¹¡£°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤ÎÍ£°ì¤Î¥¢¥¯¥»¥¹¤Ï¡¢¥Ï¥¤¥Ñ¡¼¥ê¥ó¥¯¥Æ¥­¥¹¥È¤Ø¤Î¥¢¥¯¥»¥¹¤Ç¤·¤¿¡£¤³¤Î API ¤ÎÊѹ¹¤Ë¤è¤Ã¤Æ¡¢Accessibility API ¤ò»ÈÍѤ·¤Æ¤¹¤Ù¤Æ¤Î HTML ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

javax.swing.text.html.HTMLEditorKit ¤Ï¡¢javax.accessibility.Accessible ¤ò¼ÂÁõ¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

JEditorPane ¤Ï¡¢getAccessibleContext() ¤ò¼ÂÁõ¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

¿·¤·¤¤ AbstractDocument.replace ¥á¥½¥Ã¥É¤ÎÄɲ嵥ݡ¼¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4458513

RFE 4431047 ¤Î°ìÉô¤È¤·¤Æ¡¢replace ¥á¥½¥Ã¥É¤¬ AbstractDocument ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£¤³¤Î¥á¥½¥Ã¥É¤«¤é remove ¤ª¤è¤Ó insertString (Document ¤òÊѹ¹¤¹¤ë¤¿¤á¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥á¥½¥Ã¥É¤Ï¤³¤Î 2 ¤Ä¤Î¤ß) ¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¡¢writeLock ¤ò¸Æ¤Ó½Ð¤¹¤¿¤á¤ÎÀ©Ì󤬴ËϤµ¤ì¤Þ¤·¤¿¡£¤³¤Î¤¿¤á¡¢replace ¥á¥½¥Ã¥É¤Ï¡¢remove ¤È insertString ¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤¹¤ë¤À¤±¤Î¡¢¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î AbstractDocument ¤È¤â¸ß´¹À­¤¬¤¢¤ê¤Þ¤¹¡£


JOptionPane

¿·µ¬ showInputDialog ¥á¥½¥Ã¥É

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4226644

¤³¤ÎÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Îʸ»úÎóÉÕ¤­¤Î¥Æ¥­¥¹¥È¥Õ¥£¡¼¥ë¥É¤ò´Þ¤ó¤Àñ½ã¤ÊÆþÎÏ¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤òɽ¼¨¤·¤è¤¦¤È¤¹¤ë¾ì¹ç¡¢7 ¸Ä¤Î¥Ñ¥é¥á¡¼¥¿¤¬É¬Íפʡ¢Ê£»¨¤Ê JOptionPane.showInputDialog ¥á¥½¥Ã¥É¤ò¸Æ¤Ó½Ð¤¹É¬Íפ¬¤¢¤ê¤Þ¤·¤¿¡£¿·¤·¤¤ 2 ¤Ä¤Î showInputDialog(Object, Object) ¤ª¤è¤Ó showInputDialog(Component, Object, Object) ¥á¥½¥Ã¥É¤Ç¤Ï¡¢Ã±½ã¤ÊÆþÎÏ¥À¥¤¥¢¥í¥°¥Ü¥Ã¥¯¥¹¤ÎºîÀ®¤Èɽ¼¨¤¬¤è¤êÊØÍø¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

JOptionPane ¤Ç ComponentOrientation ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4265463

JOptionPane ¤Ç¤Ï¡¢±¦¤«¤éº¸¤ÎÊý¸þ¤Î¥ì¥¤¥¢¥¦¥È¤¬É¬ÍפǤ·¤¿¡£¤³¤ÎÊѹ¹¤Ï¥Ð¥°¤Î½¤Àµ¤Ç¤¢¤ê¼ÂºÝ¤Î API ¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¤¬¡¢JOptionPane ¤ª¤è¤Ó javax.swing.plaf.basic.BasicOptionPane ¤Î¥¯¥é¥¹»ÅÍͤ¬¹¹¿·¤µ¤ì¤Þ¤·¤¿¡£

JOptionPane ¤Ç Non-Resizable Dialogs ¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4829588

1.4.0 ¥ê¥ê¡¼¥¹¤Î»þÅÀ¤Ç¡¢JOptionPane ¤¬¥µ¥¤¥ºÊѹ¹¤Ç¤­¤Ê¤¤¥À¥¤¥¢¥í¥°¤ò»ÈÍѤ¹¤ë¤è¤¦¤ËÊѹ¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤Î·ë²Ì¡¢Â¿¤¯¤Î JOptionPane ¥á¥½¥Ã¥É¤Çɽ¼¨¤µ¤ì¤Æ¤¤¤¿¥À¥¤¥¢¥í¥°¤¬¾¯¤·Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£Êѹ¹¤ÎÃæ¤Ç˾¤Þ¤·¤¤¤Î¤Ï¡¢¼¡¤Î 2 ¤Ä¤Ç¤¹¡£

¤³¤ÎÊѹ¹¤ÎÉû¼¡¸ú²Ì¤Ï¡¢ÆÃÊ̤ËŤ¤¥Æ¥­¥¹¥È¤Î½èÍý¤Ç¸«¤é¤ì¤Þ¤¹¡£°ÊÁ°¤Ï¡¢¥À¥¤¥¢¥í¥°¤Ï²èÌ̤Υµ¥¤¥º¤ËÀ©¸Â¤µ¤ì¤¿¤¿¤á¡¢Ä¹¤¤¥Æ¥­¥¹¥È¤Ï¥¯¥ê¥Ã¥×¤µ¤ì¤Æ¡¢ºÇ¸å¤Ë¡Ö...¡×¤¬É½¼¨¤µ¤ì¤Þ¤·¤¿¡£¸½ºß¤Ç¤Ï¡¢ÆÃÊ̤ËŤ¤¥Æ¥­¥¹¥È¤Î¾ì¹ç¡¢¤¹¤Ù¤Æ¤Î¥Æ¥­¥¹¥È¤¬´Þ¤Þ¤ì¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¡¢¥À¥¤¥¢¥í¥°¤ò²èÌ̤è¤ê¤âÂ礭¤Ê¥µ¥¤¥º¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥Ð¥°ÈÖ¹æ 4829588 ¤ò»²¾È¤·¤Æ¡¢¤³¤Î˾¤Þ¤·¤¯¤Ê¤¤Æ°ºî¤¬¤É¤Î¤è¤¦¤Ë²ò·è¤µ¤ì¤¿¤«¡¢³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

JPopupMenu

JPopupMenu ¤ª¤è¤Ó Focus

¤³¤Î¥ê¥ê¡¼¥¹¤Î»þÅÀ¤Ç¤Ï¡¢JPopupMenu ¤òɽ¼¨¤¹¤ë¤È¡¢focus ¤¬¿Æ JRootPane ¤ËžÁ÷¤µ¤ì¤Þ¤¹¡£¤³¤ì¤Ï¡¢JPopupMenu ¤¬¥­¡¼¥Ü¡¼¥É¥È¥é¥Ð¡¼¥µ¥ë¤ò¥µ¥Ý¡¼¥È¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¹Ô¤ï¤ì¤Þ¤·¤¿ (4212563)¡£¤³¤ì¤Ë¤è¤ê¡¢¼º¤Ã¤¿ focus ¤Î¸¡¾Ú¤ò¹Ô¤Ã¤Æ¤¤¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤ÏÌäÂê¤òÀ¸¤¸¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê±Æ¶Á¤ò¼õ¤±¤ë¾ì¹ç¤Ï¡¢focusLost ÄÌÃΤǡ¢FocusEvent ¤Î°ì»þŪ¤Ê¥×¥í¥Ñ¥Æ¥£¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£true ¤Ç¤¢¤ì¤Ð¡¢²¿¤â¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£JPopupMenu ¤Ç focus ¤ò³ÍÆÀ¤·¤Ê¤¤¾õ¶·¤Ç¤Ï¡¢»ÄÇ°¤Ê¤¬¤é¸½ºß¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¤³¤ÎÆ°ºî¤ò̵¸ú¤Ë¤¹¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£¥ê¥ê¡¼¥¹ 1.4.1¤Ç¤Ï¡¢focus ¤òžÁ÷¤¹¤ëȽÃǤϡ¢JPopupMenu ¤Î¥Õ¥©¡¼¥«¥¹À­¤Ë´ð¤Å¤¤¤Æ¤¤¤Þ¤¹¡£¾ÜºÙ¤Ï¡¢¥Ð¥°ÈÖ¹æ 4632782 ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

JPopupMenu ¤Ç¥­¡¼¥Ð¥¤¥ó¥Ç¥£¥ó¥°¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4212563

°ÊÁ°¤Ï¡¢JPopupMenu ¤Ç¥­¡¼¥Ð¥¤¥ó¥Ç¥£¥ó¥°¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£Ìð°õ¥­¡¼¡¢¥Ë¡¼¥â¥Ë¥Ã¥¯¡¢Enter ¥­¡¼¡¢¤ª¤è¤Ó Esc ¥­¡¼¤Ï¡¢JPopupMenu ¤¬ JMenu ¤ä JComboBox ¤Î¤è¤¦¤ÊÊ£¹ç¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î°ìÉô¤È¤·¤Æ»ÈÍѤµ¤ì¤Ê¤¤¤«¤®¤ê¡¢JPopupMenu ¤Ë¤ÏºîÍѤ·¤Þ¤»¤ó¤Ç¤·¤¿¡£

¤³¤ÎÆ°ºî¤Ï¡¢JPopupMenu ¤Ë¤Ï¾ï¤Ë¥Õ¥©¡¼¥«¥¹¤¬Åö¤Æ¤é¤ì¤º¡¢¤½¤Î¤¿¤á KeyEvents ¤ò¼èÆÀ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤³¤È¤Ë¸¶°ø¤¬¤¢¤ê¤Þ¤¹¡£°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢Swing ¤Î¤è¤¦¤Ê·ÚÎ̤Υġ¼¥ë¥­¥Ã¥È¤¬¥Õ¥©¡¼¥«¥¹¤òÍ׵ᤷ¡¢¥Õ¥©¡¼¥«¥¹¤ÎÊѹ¹¤¬°ì»þŪ¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¤³¤È¤ÏÉÔ²Äǽ¤Ç¤·¤¿¡£¿·¤·¤¤¥Õ¥©¡¼¥«¥¹¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë¤è¤Ã¤Æ¤³¤ÎÌäÂ꤬²ò·è¤µ¤ì¡¢Swing ¤Ç°ì»þŪ¤Ê¥Õ¥©¡¼¥«¥¹¤ÎÊѹ¹¤òÍ×µá¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£¤³¤Î¥Ð¥°¤ò½¤Àµ¤¹¤ë¤Ë¤Ï¡¢JPopupMenu ¤Ë¥Õ¥©¡¼¥«¥¹¤ò¼èÆÀ¤µ¤»¡¢¥­¡¼¥Ð¥¤¥ó¥Ç¥£¥ó¥°¤¬½èÍý¤µ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤·¤¿¡£°ÊÁ°¤Ï¥Õ¥©¡¼¥«¥¹¤ÎÊѹ¹¤¬Í½Â¬¤µ¤ì¤Ê¤«¤Ã¤¿¥³¥ó¥·¥å¡¼¥Þ¤Ç¤Ï¡¢¥³¡¼¥É¤ò¹¹¿·¤·¤Æ¡¢FocusEvent ¤Î°ì»þŪ¤Ê¥×¥í¥Ñ¥Æ¥£¤ò¥Á¥§¥Ã¥¯¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

JPopupMenu.setVisible(true) ¤¬¥Ø¥Ã¥É¥ì¥¹¥â¡¼¥É¤Ç HeadlessException ¤ò¥¹¥í¡¼¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4401222

¥Ø¥Ã¥É¥ì¥¹¥â¡¼¥É¤¬¿·µ¬¤ËƳÆþ¤µ¤ì¤¿ºÝ¡¢JPopupMenu.setVisible(true) ¤Ï¥Ø¥Ã¥É¥ì¥¹¥â¡¼¥É¤Ç¸Æ¤Ó½Ð¤µ¤ì¤ë¤È NullPointerException ¤ò¥¹¥í¡¼¤¹¤ë¤è¤¦¤Ë¼ÂÁõ¤µ¤ì¤Þ¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤«¤é¤Ï HeadlessException ¤ò¥¹¥í¡¼¤¹¤ë¤è¤¦¤ËÊѹ¹¤µ¤ì¡¢¥Ø¥Ã¥É¥ì¥¹¥â¡¼¥É¤Ç¤Ï¼Â¹Ô¤Ç¤­¤Ê¤¤Áàºî¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£


JPanel

¿·µ¬¤Î setUI ¤ª¤è¤Ó getUI ¥á¥½¥Ã¥É

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4226238

setUI/getUI ¥á¥½¥Ã¥É¤Ï¡¢¤½¤Î Look & Feel ¤¬¥×¥é¥°¥¤¥ó²Äǽ¤Ê Look & Feel (plaf) ¤ÇÄêµÁ¤µ¤ì¤ë¾ì¹ç¤Ç¤â¡¢JPanel ¤Ë¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£¤¿¤È¤¨¤Ð¡¢javax.swing.plaf.basic.BasicPanelUI.java ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£


JTabbedPane

JTabbedPane ¤ª¤è¤Ó Focus

¿·¤·¤¤ focus »ÅÍͤˤϡ¢É½¼¨¤µ¤ì¤Ê¤¤¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ç¤Î focus Í×µá¤Ï¼ºÇÔ¤¹¤ë¤Èµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¤³¤È¤Ç¡¢Â¿¾¯¤ÎÉûºîÍѤò°ú¤­µ¯¤³¤¹²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¤è¤¦¤ÊÉûºîÍѤΠ1 ¤Ä¤Ï¡¢JTabbedPane ¤Ë´ØÏ¢¤·¤¿ ChangeListener ¤«¤é focus ¤òÍ׵᤹¤ë¤È¼ºÇÔ¤¹¤ë¤³¤È¤Ç¤¹¡£Æ±»þ¤Ë¡¢ChangeListener ¤Ï¸½ºß¥³¥ó¥Ý¡¼¥Í¥ó¥È¤¬É½¼¨¤µ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤¤¦ÄÌÃΤò¼õ¤±¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ïµ¡Ç½¤·¤Æ¤¤¤¿¤Ï¤º¤ÎƱ¤¸¾õ¶·¤Ç focus Í׵᤬¼ºÇÔ¤·¤Æ¤·¤Þ¤¹¡£JTabbedPane ¤Ç¤³¤¦¤·¤¿¾õ¶·¤¬È¯À¸¤¹¤ë¾ì¹ç¤Ï¡¢focus ¤òÍ׵᤹¤ëÁ°¤Ë¥³¥ó¥Ý¡¼¥Í¥ó¥È¤òɽ¼¨¤·¤Æ¤ª¤¯¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£¤Û¤«¤Î¾õ¶·¤Ç¤ÏÊ̤ÎÊýË¡¤¬É¬Íפʾì¹ç¤¬¤¢¤ê¤Þ¤¹¡£

JTabbedPane Æâ¤Î¿·µ¬ indexAtLocation ¥á¥½¥Ã¥É

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4241787

¤³¤ÎÊѹ¹°ÊÁ°¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à¤Ë¡¢ºÂɸ¤Ç¼¨¤¹°ÌÃÖ¤ò¥¿¥ÖÉÕ¤­¥Ú¥¤¥óÆâ¤ÎÆÃÄê¤Î¥¿¥Ö¤ØÊÑ´¹¤¹¤ëÊýË¡¤¬¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤Î¤¿¤á¡¢JTabbedPane ¤Ç¥¿¥Ö¤Î¾å¤Ø¥á¥Ë¥å¡¼¤ò¥Ý¥Ã¥×¥¢¥Ã¥×¤µ¤»¤ë¤Ê¤É¤ÎÆüì¤Ê¥¤¥Ù¥ó¥È½èÍý¤ò¼ÂÁõ¤¹¤ë¤³¤È¤¬º¤Æñ¤Ç¤·¤¿¡£

indexAtLocation ¥á¥½¥Ã¥É¤¬ JTabbedPane ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

JTabbedPane Æâ¤Î¥¿¥Ö¤Ø¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Î¿·µ¬¥Ë¡¼¥â¥Ë¥Ã¥¯¥µ¥Ý¡¼¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4284674

JTabbedPane ¤Î³Æ¥Ú¥¤¥ó¤Ç¤Ï¡¢°ÊÁ°¤Ï¥Ë¡¼¥â¥Ë¥Ã¥¯¤¬»ÈÍѤǤ­¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤ÎÌäÂê²ò·è¤Î¤¿¤á¤Ë¡¢getDisplayedMnemonicIndexAt ¥á¥½¥Ã¥É¡¢¤ª¤è¤Ó setDisplayedMnemonicIndexAt ¥á¥½¥Ã¥É¤¬Äɲ䵤ì¤Þ¤·¤¿¡£

JTabbedPane ¤Ë¥¹¥í¡¼¤µ¤ì¤ëÎã³°¤Ë°ì´ÓÀ­¤¬¤Ç¤­¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4287053

JTabbedPane ¥¯¥é¥¹¤Ï¡¢Â¿¤¯¤Î¥á¥½¥Ã¥É¤òÊÝÍ­¤¹¤ë¥³¥ó¥Æ¥Ê¤Ç¤¢¤ê¡¢¥Ñ¥é¥á¡¼¥¿¤È¤·¤ÆÀ°¿ô¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¼è¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥á¥½¥Ã¥É¤Ë¤Ï¡¢»ÄÇ°¤Ê¤³¤È¤ËÎã³°¤Î¥¹¥í¡¼¤Ë°ì´ÓÀ­¤¬¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿ (¥Á¥§¥Ã¥¯/¥¹¥í¡¼¤¹¤ë¥á¥½¥Ã¥É¤â¤¢¤ì¤Ð¡¢¤·¤Ê¤¤¥á¥½¥Ã¥É¤â¤¢¤ë)¡£¤µ¤é¤Ë¡¢javadoc ¤Ë¤â¸í¤ê¤¬¤¢¤ê¡¢´ðÈפȤʤë Vector ¤Ë¤è¤Ã¤Æ¼ÂºÝ¤Ë¤Ï ArrayIndexOutOfBoundsException ¤¬¥¹¥í¡¼¤µ¤ì¤ë¾ì¹ç¤Ë¡¢IllegalParameterException ¤¬¥¹¥í¡¼¤µ¤ì¤ë¤Èµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¡£

0 ¤«¤é¡Ö¥¿¥Ö¿ô - 1¡×¤Þ¤Ç¤ÎÍ­¸ú¤ÊÈÏ°ÏÆâ¤Ë¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¤È¤ë¤¹¤Ù¤Æ¤Î¥á¥½¥Ã¥É¤Ï¡¢¸½ºß¤Ï¡¢IndexOutOfBoundsException ¤ò¥¹¥í¡¼¤¹¤ë¤Èµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹ (Ãí - ¸ß´¹À­¤ò¤È¤ë¤È¤¤¤¦Íýͳ¤«¤é¡¢´ðÈפΥ³¡¼¥É¤Ç¤Ï°ú¤­Â³¤­ ArrayIndexOutOfBoundsException ¤¬¥¹¥í¡¼¤µ¤ì¤ë)¡£

¥É¥­¥å¥á¥ó¥È¤¬¼¡¤Î¤è¤¦¤ËÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£

* @exception IndexOutOfBoundsException if index is out of range
*       (index < 0 || index >= tab count)
¤³¤ì¤Ï¡¢¼¡¤Î JTabbedPane ¥á¥½¥Ã¥É¤ËŬÍѤµ¤ì¤Þ¤¹¡£
public String getTitleAt(int index)
public Icon getIconAt(int index)
public Icon getDisabledIconAt(int index)
public String getToolTipTextAt(int index)
public Color getBackgroundAt(int index)
public Color getForegroundAt(int index)
public boolean isEnabledAt(int index)
public Component getComponentAt(int index)
public int getDisplayedMnemonicIndexAt(int index)
public Rectangle getBoundsAt(int index)
public void setTitleAt(int index, String title)
public void setIconAt(int index, Icon icon)
public void setDisabledIconAt(int index, Icon icon)
public void setToolTipTextAt(int index, String toolTipText)
public void setForegroundAt(int index, Color foreground)
public void setBackgroundAt(int index, Color background)
public void setEnabledAt(int index, boolean enabled)
public void setComponentAt(int index, Component component)
public void setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)

Ʊ¤¸Îã³°½èÍý¤¬¡¢°ÊÁ°¤Ï²¿¤â¼Â¹Ô¤·¤Ê¤«¤Ã¤¿°Ê²¼¤Î¥á¥½¥Ã¥É¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

public void setSelectedIndex(int index)
public void remove(int index)

JTable

DefaultTableModel.moveRow ¤Î»ÅÍͤ¬ÌÀ²÷¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4144295

JDK 1.3 ¤Ç¤Ï¡¢DefaultTableModel ¤Î moveRow ¥á¥½¥Ã¥É¤¬ÌÀ²÷¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£¤Ä¤Þ¤ê¡¢startIndex ¤Î¹Ô¤Þ¤¿¤Ï endIndex ¤Î¹Ô¤¬ toIndex ¤Ç½ªÎ»¤¹¤ë¤«¤É¤¦¤«¤¬¡¢¤Ï¤Ã¤­¤êÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£Î㤫¤éÎà¿ä¤¹¤ë¤È¡¢¹Ô¤ò²¼Êý¤Ë°ÜÆ°¤¹¤ë¤È¤­¤Ï startIndex ¤¬ toIndex ¤Ç½ªÎ»¤·¡¢¹Ô¤ò¾åÊý¤Ø°ÜÆ°¤¹¤ë¤È¤­¤Ï endIndex ¤¬ toIndex ¤Ç½ªÎ»¤¹¤ë¤³¤È¤¬ÌÀÇò¤Ç¤¹¡£

¤Ä¤Þ¤ê¡¢moveRow ¤Î¼ÂÁõ¤Ë¤Ï¥Ð¥°¤¬¤¢¤ê¤Þ¤¹¡£°ÜÆ°¤¹¤ë¹Ô¤¬Ê£¿ô¤Ë¤Ê¤ë¤È¡¢¹Ô¤Î°ÜÆ°½ªÎ»¤Î°ÌÃÖ¤ÏÉÔÄê¤Ç¤¢¤ê¡¢°ÜÆ°¤Î¤¢¤È¤Ë¹Ô¤¬Ï¢Â³¤·¤Ê¤¤¤³¤È¤µ¤¨¤¢¤ê¤Þ¤¹¡£¥Ð¥° 4144295 ¤Ë¤Ï¡¢¼ÂÁõ¤¬»ÅÍͤˤ¢¤ëÎ㤵¤¨¤âÀµ¤·¤¯¼Â¹Ô¤·¤Ê¤¤¤È¤¢¤ê¤Þ¤¹¡£Æäˡ¢moveRow(1, 3, 5) ¤ÎÎã¤Ï¡¢°Ê²¼¤Î¾õÂ֤ǥ٥¯¥È¥ë¤ò»Ä¤·¤Þ¤¹¡£

a|C|e|B|D|f|g|h|i|j|k
¿·¤·¤¤¼ÂÁõ¤Ç¤Ï¡¢¤³¤ÎÁàºî¤ÏÆþÎϤ«¤é·×»»¤Ç¤­¤ë¶­³¦´Ö¤ÎÍ×ÁǤÎñ½ã¤Ê¥í¡¼¥Æ¡¼¥·¥ç¥ó¤Ç¤¢¤ë¤È¸«¤Ê¤·¤Þ¤¹¡£

°ÊÁ°¤Î¼ÂÁõ¤¬ºîÍѤ·¤Ê¤«¤Ã¤¿¤¿¤á¡¢¤³¤ì¤Þ¤Ç¤ÎÄêµÁ¤òñ½ã²½¤¹¤ëµ¡²ñ¤¬Í¿¤¨¤é¤ì¤Þ¤·¤¿¡£startIndex ¤Ï¾ï¤Ë toIndex ¤Ë°ÜÆ°¤·¡¢toIndex °Ê¹ß¤Î¤¹¤Ù¤Æ¤ÎÍ×ÁǤϸµ¤Î¤Þ¤Þ¤Î½ç½ø¤Ëʤ֤ÈÄêµÁ¤µ¤ì¤Þ¤·¤¿¡£¤³¤ÎÄêµÁ¤Ë¤è¤ê¡¢Ã±°ì¹Ô¤Î°ÜÆ°¤È¤¤¤¦¡¢Á°¤Î¼ÂÁõ¤ÇÍ£°ìÀµ¤·¤¯ºîÍѤ·¤¿Îã¤ÈƱ¤¸Áàºî¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£

¿·¤·¤¤¼ÂÁõ¤Ç¤Ï¡¢endIndex ¤¬ startIndex ¤è¤ê¾®¤µ¤¤¾ì¹ç¤ËÎã³°¤Ï¥¹¥í¡¼¤µ¤ì¤Þ¤»¤ó¡£¤½¤ÎÂå¤ï¤ê¡¢¤¹¤Ù¤Æ¤Î¹Ô r ¤ò°ÜÆ°¤¹¤ë°ÅÌۤε¬Ì󡢤Ĥޤê startIndex <= r <= endIndex ¤¬Ëþ¤¿¤µ¤ì¤Æ¤â¡¢²¿¤â¼Â¹Ô¤µ¤ì¤Þ¤»¤ó¡£

JTable ¤Ø¤ÎÆþÎϤǥե©¡¼¥«¥¹¤¬¥»¥ë¤ËžÁ÷¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4274963

Excel ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤Ï¡¢¥æ¡¼¥¶¤¬±Ñ¿ô»ú¥­¡¼¤ò²¡¤¹¤È¡¢¥Õ¥©¡¼¥«¥¹¤¬¼«Æ°Åª¤Ë´ðÈ×¥¨¥Ç¥£¥¿¤Ë°ÜÆ°¤·¤Þ¤¹¡£¤³¤ì¤ÈƱ¤¸Æ°ºî¤ò JTable Æâ¤Ç¤â¼ÂÁõ¤·¤Æ¤Û¤·¤¤¤È¤¤¤¦¡¢200 ¤òĶ¤¨¤ë JDC Í׵᤬¤¢¤ê¤Þ¤·¤¿¡£²¼°Ì¸ß´¹À­¤ò¹Íθ¤¹¤ë¤È¤¤¤¦Íýͳ¤«¤é¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤òÊѹ¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¤¬¡¢¤³¤ÎÍ×µá¤ËÂн褹¤ë¤¿¤á¤Ë¡¢¤³¤Î¥ê¥ê¡¼¥¹¤Ç¿·¤·¤¤ surrendersFocusOnKeystroke ¥×¥í¥Ñ¥Æ¥£¤òÄɲä·¤Þ¤·¤¿¡£¿·µ¬¥á¥½¥Ã¥É¤Î setSurrendersFocusOnKeystroke ¤ª¤è¤Ó getSurrendersFocusOnKeystrok ¤Ç¡¢¤³¤Îµ¡Ç½¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî¤ÏÊѹ¹¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£

DefaultTableModel ¤Ç name °ú¿ô¤Ë null ¤â»ØÄê¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4474094

¤³¤ì¤Þ¤Ç¡¢DefaultTableModel.addColumn(Object) ¥á¥½¥Ã¥É¤È DefaultTableModel.addColumn(Object, Vector) ¥á¥½¥Ã¥É¤Ç¤Ï¡¢name °ú¿ô¤Ë null ¤ò»ØÄꤹ¤ë¤³¤È¤Ï¤Ç¤­¤º¡¢IllegalArgumentException ¤¬¥¹¥í¡¼¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¡£¥³¥ó¥¹¥È¥é¥¯¥¿¤ò»ÈÍѤ·¤¿¤ê¡¢¥Õ¥£¡¼¥ë¥É¤òľÀÜÁàºî¤·¤¿¤ê¤¹¤ëÊýË¡¤Ç¤ÏÎó̾¤Ë null ¤òÀßÄê¤Ç¤­¤ë¤¿¤á¡¢addColumn ¥á¥½¥Ã¥É¤Ç¤â null Ãͤò»ØÄê¤Ç¤­¤ë¤è¤¦¤ËÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£


JTree

DefaultTreeModel ¤Ç null ¤Î¥ë¡¼¥È¤¬»ÈÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4264897

DefaultTreeModel ¤Ç¤Ï¡¢null ¤Î¥ë¡¼¥È¥Î¡¼¥É¤¬»ÈÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£°ÊÁ°¡¢TreeModel ¤Î javadoc ¤Ë¤Ï¡¢null ¤Î¥ë¡¼¥È¤ÏÍ­¸ú¤Ç¤¢¤ë¤¬¡¢DefaultTreeModel ¤Ç¤Ïµö²Ä¤µ¤ì¤Ê¤¤¤È»ØÄꤵ¤ì¤Æ¤¤¤Þ¤·¤¿¡£DefaultTreeModel ¤Ç¤Ï¸½ºß¡¢null ¤Î¥ë¡¼¥È¤¬¡¢¥³¥ó¥¹¥È¥é¥¯¥¿Æâ¤Î null ¤Î¥ë¡¼¥È¤ÈƱÍͤËÀßÄê²Äǽ¤Ç¤¹¡£setRoot ¤Î javadoc ¤Ï¡¢¤³¤ÎÊѹ¹¤òÈ¿±Ç¤·¤Æ²þÄû¤µ¤ì¤Þ¤·¤¿¡£

Ƭʸ»ú¥Ê¥Ó¥²¡¼¥·¥ç¥ó¤¬ JTree ¤ØÄɲ䵤줿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4284709

¥æ¡¼¥¶¤Ë¤È¤Ã¤Æ¤Ï¡¢JTree Æâ¤Ç±Ñ¿ô»ú¥­¡¼¤ò»ÈÍѤ·¤Æ¥»¥ë¤ò¥Ê¥Ó¥²¡¼¥È¤·¤¿¤¤¾ì¹ç¤¬¤·¤Ð¤·¤ÐȯÀ¸¤·¤Þ¤¹¡£¤½¤Î¤¿¤á¡¢getNextMatch ¥á¥½¥Ã¥É¤¬ JTree ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£BasicTreeUI ¤Ë¤è¤Ã¤Æ¡¢¥­¡¼¥Ü¡¼¥É¤Ç¥­¡¼¤¬ÆþÎϤµ¤ì¤¿¤È¤­¤Ë¤³¤Î¥á¥½¥Ã¥É¤ò¸Æ¤Ó½Ð¤¹ KeyListener ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£


JList

ListDataEvent.toString ¤ÇÍ­ÍѤʾðÊó¤¬Ä󶡤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4134085

³«È¯¼Ô¤Ï¤·¤Ð¤·¤Ð¡¢Í­ÍѤʥǥХå°¾ðÊó¤òµá¤á¤Æ toString ¤ò»ÈÍѤ·¤Þ¤¹¡£¤¿¤À¤·¤³¤ì¤Þ¤Ç¤Ï¡¢ListDataEvent ¤Î toString ¥á¥½¥Ã¥É¤Ç¤Ï¡¢¿¿¤ËÍ­ÍѤʾðÊó¤¬Ä󶡤µ¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤Ç¡¢Í­ÍѤʾðÊó¤òÊÖ¤¹¤è¤¦¤ËÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£

JList ¤ÇƬʸ»ú¥­¡¼¤Ë¤è¤ë¥Ê¥Ó¥²¡¼¥·¥ç¥ó¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4284709

¥æ¡¼¥¶¤Ë¤È¤Ã¤Æ¤Ï¡¢JList Æâ¤Ç±Ñ¿ô»ú¥­¡¼¤ò»ÈÍѤ·¤Æ¥»¥ë¤ò¥Ê¥Ó¥²¡¼¥È¤·¤¿¤¤¾ì¹ç¤¬¤·¤Ð¤·¤ÐȯÀ¸¤·¤Þ¤¹¡£¤³¤Î¤¿¤á¡¢getNextMatch ¤¬ JList ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£BasicListUI ¤Ë¤è¤Ã¤Æ¡¢ÁªÂòÈϰϤòÊѹ¹¤¹¤ë¤¿¤á¤Ë¥­¡¼¤¬ÆþÎϤµ¤ì¤¿¤È¤­¤Ë¤³¤Î¥á¥½¥Ã¥É¤ò¸Æ¤Ó½Ð¤¹ KeyListener ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

JList ¤Î¹àÌܤò¿åÊ¿¤ËÇÛÃ֤Ǥ­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4460016

¤³¤ì¤Þ¤Ç JList ¤Ç¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¡¢¥»¥ë¤ò¿âľ¤Ë¤·¤«¥ì¥¤¥¢¥¦¥È¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£

1
2
3
4

¿¤¯¤Î¥æ¡¼¥¶¤¬¡¢¼¡¤Ë¼¨¤¹¤è¤¦¤Ë¡¢¥ê¥¹¥È¤ò¿åÊ¿¤Ë¥ì¥¤¥¢¥¦¥È¤Ç¤­¤ëµ¡Ç½¤òµá¤á¤Æ¤¤¤Þ¤·¤¿¡£

1  3
2  4
¤Þ¤¿¤Ï
1  2
3  4

¤³¤Îµ¡Ç½¤ò¼Â¸½¤¹¤ë¤¿¤á¤Ë¡¢VERTICAL¡¢VERTICAL_WRAP¡¢¤ª¤è¤Ó HORIZONTAL_WRAP ¤È¤¤¤¦ 3 ¤Ä¤ÎÄê¿ô¤¬ JList ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£getLayoutOrientation ¥á¥½¥Ã¥É¤È setLayoutOrientation ¥á¥½¥Ã¥É¤â JList ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£JList ¤Î getScrollableTracksViewportHeight¡¢getScrollableTracksViewportWidth¡¢getScrollableBlockIncrement¡¢¤ª¤è¤Ó getPreferredScrollableViewportSize ¤Î³Æ¥á¥½¥Ã¥É¤Ë¤Ä¤¤¤Æ javadoc ¤¬¹¹¿·¤µ¤ì¤Þ¤·¤¿¡£Æ±Íͤˡ¢javax.swing.plaf.basic.BasicListUI Æâ¤Î getPreferredSize ¤Ë¤Ä¤¤¤Æ¤Î javadoc ¤â¹¹¿·¤µ¤ì¤Þ¤·¤¿¡£


¤½¤Î¾

Metal Look & Feel ¤Ç 2 ¤Ä¤Î¥Ç¥Õ¥©¥ë¥ÈÀßÄ꤬Êѹ¹¤µ¤ì¤¿

Metal Look & Feel ¤Ç 2 ¤Ä¤Î¥Ç¥Õ¥©¥ë¥ÈÀßÄ꤬Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£

JColorChooser.setPreviewPanel ¤¬¸Å¤¤¥Ñ¥Í¥ë¤òºï½ü¤·¤Ê¤¤

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4759306

¤³¤Î¥á¥½¥Ã¥É¤ò¸Æ¤Ó½Ð¤¹¤È¡¢¿·¤·¤¤¥Ñ¥Í¥ë¤ÏÄɲ䵤ì¤Þ¤¹¤¬¡¢¥Ç¥Õ¥©¥ë¥È¤Î PreviewPanel ¤¬ colorChooser ¤«¤éºï½ü¤µ¤ì¤Þ¤»¤ó¡£¤½¤Î·ë²Ì¡¢À®²Ìʪ¤¬Àµ¤·¤¯É½¼¨¤µ¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ï¥ê¥ê¡¼¥¹ 1.4.2 ¤Ç½¤Àµ¤µ¤ì¤Þ¤·¤¿¡£

JColorChooser ¤Î¥Ç¥Ã¥É¥í¥Ã¥¯

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4668511

1.4.0 ¤Ç¸«¤Ä¤«¤Ã¤¿¤³¤Î¥Ð¥°¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥óÁ´ÂΤò¥Ï¥ó¥°¥¢¥Ã¥×¤µ¤»¤ë¥Ç¥Ã¥É¥í¥Ã¥¯¤òµ¯¤³¤·¤Þ¤·¤¿¡£¤³¤ì¤Ï 1.4.1 ¤Ç½¤Àµ¤µ¤ì¤Þ¤·¤¿¡£

JFrame.setDefaultCloseOperation ¤¬ SecurityException ¤ò¥¹¥í¡¼¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¥ê¥ê¡¼¥¹ 1.4.1 ¤Î»þÅÀ¤Ç¡¢JFrame ¤Î setDefaultCloseOperation ¥á¥½¥Ã¥É¤¬ SecurityException ¤ò¥¹¥í¡¼¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

Metal ¤¬ Microsoft Windows ¤Î¥Ç¥¹¥¯¥È¥Ã¥×¤«¤é ¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò¼èÆÀ¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4419964 ¤ª¤è¤Ó 4668963

°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢DefaultMetalTheme ¤¬ Windows ¤Î¥Ç¥¹¥¯¥È¥Ã¥×¤«¤é¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¾ðÊó¤ò̵»ë¤·¤Æ¤¤¤Þ¤·¤¿¡£¥ê¥ê¡¼¥¹ 1.4.1 ¤Î»þÅÀ¤Ç¤Ï¡¢DefaultMetalTheme ¤¬ Windows ¤Î¥Ç¥¹¥¯¥È¥Ã¥×¤Ç»ØÄꤷ¤¿¥Õ¥©¥ó¥È¥µ¥¤¥º¤ò»ÈÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥·¥¹¥Æ¥à¥×¥í¥Ñ¥Æ¥£¤Î swing.useSystemFontSettings ¤ò»ÈÍѤ·¤Æ̵¸ú¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥Ð¥°¤ÎÄɲÃÉôʬ¤È¤·¤Æ¡¢Windows ¤Î Look & Feel ¤¬°ìÉô¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ËÂФ·¤ÆÉÔÀµ¤Ê¥Õ¥©¥ó¥È¤ò¼èÆÀ¤¹¤ë¤È¤¤¤¦¤Î¤¬¤¢¤ê¤Þ¤·¤¿¡£¤³¤ì¤Ï½¤Àµ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥í¥±¡¼¥ë¤Î°ìÉô¤¬¥Ç¥¹¥¯¥È¥Ã¥×¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤À¤±¤òº½Å¤¹¤ë

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4615396

Microsoft Windows ¤Ç¤Ï¡¢WindowsLookAndFeel ¤ò»ÈÍѤ¹¤ë¤È¡¢ÆÃÄê¤Î¥í¥±¡¼¥ë¤¬¥Ç¥¹¥¯¥È¥Ã¥×¤Î¥Õ¥©¥ó¥È¥µ¥¤¥º¤À¤±¤òº½Å¤·¤Þ¤¹¡£¤³¤ì¤Ï 1.4.1 ¤ÇÂбþ¤µ¤ì¤Þ¤·¤¿¡£

Look & Feel ¤¬Ìµ»ë¤Ç¤­¤ë¥×¥í¥Ñ¥Æ¥£¤Ë¤Ä¤¤¤Æ¤Î¥É¥­¥å¥á¥ó¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4420209

Look & Feel ¤Î¼ÂÁõ¤Î¼ïÎà¤Ë¤è¤Ã¤Æ¤Ï¡¢Look & Feel ¤Ë±Æ¶Á¤òÍ¿¤¨¤ë²ÄǽÀ­¤¬¤¢¤ë°ìÄê¤Î¥×¥í¥Ñ¥Æ¥£¤ò̵»ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢¤¢¤ë¼ï¤Î Look & Feel ¤Ë̵»ë¤µ¤ì¤ë¥×¥í¥Ñ¥Æ¥£¤ò¼¨¤¹¤¿¤á¤Ë¡¢°ìÄê¤Î¥á¥½¥Ã¥É¤Ë¤Ä¤¤¤Æ¤Î¥É¥­¥å¥á¥ó¥È¤¬Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£¤Þ¤¿¡¢UIManager ¤Î¥¯¥é¥¹»ÅÍͤª¤è¤Ó javax.swing.plaf.metal ¥Ñ¥Ã¥±¡¼¥¸¤Î¥É¥­¥å¥á¥ó¥È¤¬¡¢Java Look & Feel ¤ò¥Ç¥Õ¥©¥ë¥È¤Î Look & Feel ¤Ë»ØÄꤹ¤ë¤¿¤á¤ËÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£¤³¤ÎÊѹ¹¤Ï¡¢¥É¥­¥å¥á¥ó¥È¤Ë¤À¤±±Æ¶Á¤·¤Þ¤¹¡£

±Æ¶Á¤ò¼õ¤±¤ë¥á¥½¥Ã¥É¤Ë¤Ï¡¢¼¡¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£

SwingConstants ¤Ç NEXT ¤È PREVIOUS ¤òÄêµÁ¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4175466

SwingConstants ¤Ç¡¢Swing Á´ÂΤǻÈÍѤµ¤ì¤ëÄê¿ô¤òÄêµÁ¤·¤Þ¤¹¡£°ìÈÌŪ¤Ê UI Áàºî¤Ë¡¢¥·¡¼¥±¥ó¥¹Æâ¤Î¼¡¤ÈÁ°¤Î¹àÌܤΰÌÃÖ»ØÄ꤬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢¸½ºß¤Ï SwingConstants ¤Ç¡¢NEXT ¤ª¤è¤Ó PREVIOUS ¤ÎÄê¿ô¤òÄêµÁ¤¹¤ë¤³¤È¤Ç»ØÄꤵ¤ì¤Þ¤¹¡£

Swing °Ê³°¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤«¤é Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¥Ð¥¤¥ó¥Ç¥£¥ó¥°¤ò½èÍý¤¹¤ë¿·¤·¤¤ÊýË¡

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4344900

Swing ¤Ë¤Ï¡¢ÆÃÄê¤Î¥­¡¼¥¹¥È¥í¡¼¥¯¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¥¢¥¯¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤¹¤ëÀº¹ª¤Ê¥¤¥ó¥Õ¥é¥¹¥È¥é¥¯¥Á¥ã¤¬¤¢¤ê¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¥æ¡¼¥¶¤¬¤¢¤ëʸ»ú¤òÆþÎϤ¹¤ë¤È¡¢³ºÅö¤¹¤ë¥¢¥¯¥·¥ç¥ó¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Î¥¤¥Ù¥ó¥È¤Î½èÍý¤Ï¡¢JComponent.processKeyEvent Æ⤫¤é°ú¤­µ¯¤³¤µ¤ì¤Þ¤¹ (processKeyEvent ¤Ï java.awt.Component ¤«¤é¥ª¡¼¥Ð¡¼¥é¥¤¥É¤µ¤ì¤ë)¡£¤³¤ì¤é¤Î¥¢¥¯¥·¥ç¥ó¤Î½èÍý¤Ï JComponent Æâ¤ÇȯÀ¸¤¹¤ë¤¿¤á¡¢°ÊÁ°¤Ï³«È¯¼Ô¤Ë¤È¤Ã¤Æ¡¢¥Õ¥©¡¼¥«¥¹¤ò¼èÆÀ¤·¤Æ¤¤¤ë JComponent °Ê³°¤Î¥µ¥Ö¥¯¥é¥¹Æ⤫¤é¥Ð¥¤¥ó¥É¤ò½èÍý¤¹¤ëÊýË¡¤¬¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤Î¤¿¤á¡¢processKeyBindings ¥á¥½¥Ã¥É¤¬ SwingUtilities ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î²»À¼¥Õ¥£¡¼¥É¥Ð¥Ã¥¯

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4290988

Ãí: ¥µ¥¦¥ó¥É¥Ñ¥Ã¥±¡¼¥¸¤Ë¤¤¤¯¤Ä¤«¥Ð¥°¤¬¤¢¤ë¤¿¤á¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥µ¥¦¥ó¥É¤ÏºÆÀ¸¤µ¤ì¤Þ¤»¤ó¡£¥µ¥¦¥ó¥É¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

UIManager.put("AuditoryCues.playList",
UIManager.get("AuditoryCues.allAuditoryCues"));

°ÊÁ°¤Î Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ç¤Ï¡¢Â¿¤¯¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Î¥Í¥¤¥Æ¥£¥Ö¥³¥ó¥Ý¡¼¥Í¥ó¥È¤È¤·¤Æ¡¢Æ±¤¸²»À¼¥Õ¥£¡¼¥É¥Ð¥Ã¥¯¤¬Ä󶡤µ¤ì¤Þ¤»¤ó¤Ç¤·¤¿¡£Swing ¤Î PLAF ¤Ø¤ÎÊѹ¹¥»¥Ã¥È¤Ç¤¢¤ë MALF2 ¤Ï¡¢¼ç¤È¤·¤Æ¡¢½ÐÎÏÀìÍѤΥΥ󥹥ԡ¼¥Á¥ª¡¼¥Ç¥£¥ª¥æ¡¼¥¶¤Î¥Õ¥£¡¼¥É¥Ð¥Ã¥¯µ¡¹½¤È¤·¤Æ¤Î»ÈÍѤòÌÜŪ¤È¤·¤Æ¤¤¤Þ¤¹¡£MALF2 ¥×¥í¥¸¥§¥¯¥È¤Ï¡¢Swing/JFC ¤ª¤è¤Ó¡¢´ðÈ×¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Î¸·Ì©¤Ê¥æ¡¼¥¶¥¤¥ó¥¿¥Õ¥§¡¼¥¹Åý¹ç¤È¤¤¤¦¡¢Java ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤ÎÌÜɸ¤Î»ëÅÀ¤«¤é½ÅÍפǤ¹¡£MALF2 ¥×¥í¥¸¥§¥¯¥È¤Ç¤Ï¡¢¥Í¥¤¥Æ¥£¥Ö¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤È Swing/JFC ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤è¤ë¥æ¡¼¥¶¤Î·Ð¸³¤¬¡¢²»À¼¤Ë¤è¤ë¥æ¡¼¥¶¤Ø¤Î¥Õ¥£¡¼¥É¥Ð¥Ã¥¯¤Ë´Ø¤·¤ÆƱ°ì¤Ç¤¢¤ë¤³¤È¤òÊݾڤ·¤Þ¤¹¡£

¤³¤Î¼ÂÁõ¤Ï¡¢API ¤ò BasicLookAndFeel ¤ËÄɲ䷤ơ¢¥µ¥¦¥ó¥É¤òºÆÀ¸¤¹¤ë Action ¤ò´Þ¤à ActionMap ¤Î¥í¡¼¥É¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤³¤È¤¬ÌÜŪ¤È¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ç¡¢¥µ¥¦¥ó¥É¤ÎºÆÀ¸¤ËŬÀڤʤȤ­¤Ë¡¢Â¿ÍÍ¤Ê BasicComponentUI ¤Î¼ÂÁõ¤¬ Action ¤ËÂФ·¤Æ actionPerformed ¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢BasicMenuItemUI ¤Ç¤Ï¡¢doClick ¤ò»ÈÍѤ·¤Æ¥¢¥¯¥·¥ç¥ó¤ò¼Â¹Ô¤·¤Þ¤¹¡£BasicLookAndFeel ¤¬ Java Sound API ¤ò»ÈÍѤ·¤Æ¥µ¥¦¥ó¥É¤òºÆÀ¸¤·¤Æ¤¤¤ë´Ö¤Ë¡¢¥µ¥Ö¥¯¥é¥¹¤¬ÂåÂؤΥ᥽¥Ã¥É¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢WindowsLookAndFeel ¤Ï Windows ¤ÇÄ󶡤µ¤ì¤ë¥µ¥¦¥ó¥É¤È¤ÎÅý¹ç¤ò¿Þ¤ë¤¿¤á¤Ë¡¢Toolkit.getDefaultToolkit().getDesktopProperty() ·Ðͳ¤Ç String ¤ò Runnable ¤Ë¥Þ¥Ã¥Ô¥ó¥°¤·¤Þ¤¹¡£

¥µ¥¦¥ó¥É¤ò´Þ¤à ActionMap ¤Ø¤Ï¡¢BasicLookAndFeel.getAudioActionMap ·Ðͳ¤Ç¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤¹¡£getAudioActionMap ¤¬ºÇ½é¤Ë¸Æ¤Ó½Ð¤µ¤ì¤ë¤È¤­¤Ë¡¢°Ê²¼¤ÎÆ°ºî¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£

  1. ¥í¡¼¥É¤¹¤ë¥µ¥¦¥ó¥É¤Î¥ê¥¹¥È¤òȽÃǤ¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥¨¥ó¥È¥ê auditoryCues.cueList (Object[]) ¤¬»ÈÍѤµ¤ì¤ë
  2. ÇÛÎóÆâ¤Î³Æ¥¨¥ó¥È¥ê¤¬ createAudioAction ¤ËÅϤµ¤ì¡¢¥µ¥¦¥ó¥É¤ÎºÆÀ¸¤ò¹Ô¤¦ Action ¤ò¼èÆÀ¤¹¤ë
  3. BasicLookAndFeel.createAudioAction ¤ËÅϤµ¤ì¤¿ Object ¤¬»ÈÍѤµ¤ì¤Æ¡¢Java Sound ¤Ç¥í¡¼¥É¤Ç¤­¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥Æ¡¼¥Ö¥ë¤«¤é¥µ¥¦¥ó¥É¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹¤¬¸¡º÷¤µ¤ì¤ë
  4. BasicComponentUI ¥¯¥é¥¹¤Î 1 ¤Ä¤¬¥µ¥¦¥ó¥É¤ÎºÆÀ¸¤ò´õ˾¤·¤¿¤È¤­¤Ï¡¢Action Æâ¤ÇÅϤµ¤ì¤Æ BasicLookAndFeel.playSound ¤¬¸Æ¤Ó½Ð¤µ¤ì¤ë
  5. Action ¤Î̾Á°¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥¨¥ó¥È¥ê AuditoryCues.playList ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤¿¾ì¹ç¤Ï¡¢BasicLookAndFeel.playSound ¤¬ Action ¤Ç actionPerformed ¤ò¸Æ¤Ó½Ð¤¹

¤³¤Î¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë¤è¤Ã¤Æ¡¢³«È¯¼Ô¤ÏºÆÀ¸¤¹¤ë¥µ¥¦¥ó¥É¤ò¤µ¤Þ¤¶¤Þ¤ÊÊýË¡¤Ç¥«¥¹¥¿¥Þ¥¤¥º¤Ç¤­¤Þ¤¹¡£

¤½¤ì¤È¤ÏÊ̤ˡ¢ºÆÀ¸¤¹¤ë¥µ¥¦¥ó¥É¤Î¥»¥Ã¥È¤ò¥Ç¥Õ¥©¥ë¥È¥¨¥ó¥È¥ê¤Î AuditoryCues.playList ·Ðͳ¤ÇÁàºî¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤³¤Î Object ÇÛÎó¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥Æ¡¼¥Ö¥ëÆâ¤ÇºÆÀ¸¤¹¤ë¥µ¥¦¥ó¥É¤ò¼¨¤¹¥­¡¼¤¬´Þ¤Þ¤ì¤Þ¤¹¡£MetalLookAndFeel ¤Ç¤Ï¡¢¤³¤ì¤ò¼¡¤Î¤è¤¦¤ËÄêµÁ¤·¤Þ¤¹¡£

new Object[]  {"OptionPane.errorSound",
	  "OptionPane.informationSound",
	  "OptionPane.questionSound",
	  "OptionPane.warningSound" }
	
¤³¤ÎÄêµÁ¤Ï¡¢JOptionPane ¤¬¥µ¥Ý¡¼¥È¤¹¤ë¥µ¥¦¥ó¥É¤Î¤ß¤òÍ­¸ú¤Ë¤¹¤ë¸ú²Ì¤¬¤¢¤ê¤Þ¤¹¡£

JMenu ¤¬¥Õ¥©¡¼¥«¥¹¤Î¿·µ¬¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤¬ºîÍѤ¹¤ë¤è¤¦¤Ë¹¹¿·¤µ¤ì¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4371580

¿·¤·¤¤¥Õ¥©¡¼¥«¥¹¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ï¡¢RFE 4290675 ¤ÎÍ×ÀÁ¤ÇƳÆþ¤µ¤ì¤Þ¤·¤¿¡£¤³¤ì¤Ë¤è¤ê¡¢¥Õ¥©¡¼¥«¥¹¤Î°ì»þŪ¤ÊÊѹ¹¤ò³«È¯¼Ô¤¬Í×µá¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£Í×µá¤Ï¡¢Component ¤Î protected requestFocus(boolean) ¥á¥½¥Ã¥É¤Þ¤¿¤Ï requestFocusInWindow(boolean) ¥á¥½¥Ã¥É¤òÄ̤¸¤Æ¹Ô¤ï¤ì¤Þ¤¹¡£¤³¤Î 2 ¤Ä¤Î¥á¥½¥Ã¥É¤Ï¡¢ÈÆÍѤǤʤ¯ Swing ¤Ê¤É¤Î·ÚÎ̥ġ¼¥ë¥­¥Ã¥È¤Î¤ß¤ËÂФ¹¤ë¼ÂÁõÍѤȤ·¤ÆÊݸ¤ì¤Æ¤¤¤Þ¤¹¡£Swing ¤Ï¡¢¤µ¤Þ¤¶¤Þ¤Ê¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î¥³¡¼¥É¤¬°ì»þŪ¤Ë¥Õ¥©¡¼¥«¥¹¤òÍ׵᤹¤ë¤È¤¤¤¦ÊýË¡¤Ç¥¢¡¼¥­¥Æ¥¯¥Á¥ã²½¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢¤¹¤Ù¤Æ¤Î Swing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¿Æ¥¯¥é¥¹¤Ç¤¢¤ë JComponent ¤Ï¡¢requestFocus(boolean) ¤ª¤è¤Ó requestFocusInWindow ¤ò public ¤È¤·¤Æ¸ø³«¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¥Ä¥ê¡¼Æâ¤Ç ComponentOrientation ¤òÊѹ¹¤¹¤ë¿·µ¬¥µ¥Ý¡¼¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4337186

ÂçÎ̤ΠSwing ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò ComponentOrientation ¥×¥í¥Ñ¥Æ¥£¤ËÃí°Õ¤òʧ¤¤¤Ä¤Ä¼è¤ê°·¤¦²áÄø¤Ç¡¢¼¡¤Ï¡¢¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î³¬ÁØÁ´ÂΤΠComponentOrientation ¤ÎÀßÄê¤ò´Êñ¤Ë´ÉÍý¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë 2 ¤Ä¤Îµ¡Ç½¤¬É¬Íפˤʤê¤Þ¤¹¡£SwingUtilities ¤Î¿·µ¬¥á¥½¥Ã¥É¤Ç¤¢¤ë applyComponentOrientation(Component c, ComponentOrientation o) ¤ò»ÈÍѤ¹¤ë¤È¡¢¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î³¬ÁØÁ´ÂΤ˰ì´Ó¤·¤¿ ComponentOrientation ¤òÀßÄꤹ¤ë¤³¤È¤¬´Êñ¤Ë¤Ê¤ê¤Þ¤¹¡£

¥Ç¥¹¥¯¥È¥Ã¥×´ØÏ¢¤Î¥×¥í¥Ñ¥Æ¥£¤Ø¤Î¿·µ¬¥¢¥¯¥»¥¹

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4290973.

Windows Look & Feel ¤Î¹¹¿·¤Î°ìÉô¤È¤·¤Æ¡¢¥á¥½¥Ã¥É¤¬ LookAndFeel ¤È getDesktopPropertyValue ¤ËÄɲ䵤졢¥Ç¥¹¥¯¥È¥Ã¥×´ØÏ¢¤Î¥×¥í¥Ñ¥Æ¥£¤Ë¥¢¥¯¥»¥¹¤·¤ä¤¹¤¯¤Ê¤ê¤Þ¤·¤¿¡£

¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¥¤¥ó¥»¥Ã¥È¤Ë¤è¤ë¥ª¥Õ¥»¥Ã¥È¶ë·Á¤ËÂФ¹¤ë¿·µ¬¥á¥½¥Ã¥É

¤³¤Î¥á¥½¥Ã¥É¤Ï¡¢¼ÂºÝ¤Ë¤ÏÉÔ³ÎÄê¤Ê¾õÂÖ¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤¿¤á¤Ë¡¢JProgressBar ¤Î¹¹¿·¤Î°ìÉô¤È¤·¤ÆÄɲ䵤ì¤Þ¤·¤¿¡£¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4290717

¿·¤·¤¤¥á¥½¥Ã¥É¤Ï¡¢SwingUtilities ¤ËÄɲ䵤줿 calculateInnerArea(Component, Rectangle) ¤Ç¤¹¡£

¥Þ¥¦¥¹¥Û¥¤¡¼¥ë¤Î¤¿¤á¤Î¿·µ¬ API

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4356268

¥Þ¥¦¥¹¤ÎÃæ±û¥Ü¥¿¥ó¤È¤·¤Æ¥¹¥¯¥í¡¼¥ë¥Û¥¤¡¼¥ë¤¬ÉÕ¤¤¤¿¥Û¥¤¡¼¥ë¥Þ¥¦¥¹¤Ï¡¢°ìÈÌŪ¤Ë¤Ê¤ê¤Ä¤Ä¤¢¤ê¤Þ¤¹¡£¤³¤ÎÄó°Æ¤Ç¤Ï¡¢¥Þ¥¦¥¹¥Û¥¤¡¼¥ë¤ò»ÈÍѤ·¤Æ¥¹¥¯¥í¡¼¥ë¤µ¤»¤ëÁȤ߹þ¤ß¤Î Java ¥µ¥Ý¡¼¥È¤Î¤Û¤«¤Ë¡¢¿·¤·¤¤¥Û¥¤¡¼¥ë¥¤¥Ù¥ó¥È¥ê¥¹¥Ê¡¼¤âÄ󶡤µ¤ì¤ë¤Î¤Ç¡¢¥Þ¥¦¥¹¥Û¥¤¡¼¥ë¤ÎÆ°ºî¤ò³«È¯¼Ô¤¬¥«¥¹¥¿¥Þ¥¤¥º¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

¿·¤·¤¤¥¯¥é¥¹¤Ç¤¢¤ë MouseWheelListener ¤È¡¢¿·¤·¤¤¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ç¤¢¤ë MouseWheelEvent ¤¬Äɲ䵤ì¤Þ¤·¤¿¡£¤Þ¤¿¡¢Äê¿ô¤Î MOUSE_WHEEL_EVENT_MASK ¤¬ AWTEvent ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£AWTEventMulticaster ¤Ë¤Ï¡¢mouseWheelMoved¡¢add¡¢¤ª¤è¤Ó remove ¤Î 3 ¤Ä¤Î¿·¤·¤¤¥á¥½¥Ã¥É¤¬¤¢¤ê¤Þ¤¹¡£Component ¤Ë¤Ï¡¢addMouseWheelListener ¤È removeMouseWheelListener ¤Î 2 ¤Ä¤Î¿·¤·¤¤¥á¥½¥Ã¥É¤¬¤¢¤ê¤Þ¤¹¡£ScrollPane ¤Ë¤â¡¢setWheelScrollingEnabled ¤È isWheelScrollingEnabled ¤Î 2 ¤Ä¤Î¿·¤·¤¤¥á¥½¥Ã¥É¤¬¤¢¤ê¤Þ¤¹¡£ºÇ¸å¤Ë¡¢Robot ¤Ë¤â¿·¤·¤¤¥á¥½¥Ã¥É¤Î mouseWheel ¤¬¤¢¤ê¤Þ¤¹¡£

JFrame¡¢JDialog¡¢¤ª¤è¤Ó JApplet ¤¬ processKeyEvent ¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Ê¤¯¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4462408

Swing ¤Ï¡¢JComponent ¤Ë¥­¡¼¥Ð¥¤¥ó¥É¤òÅÐÏ¿¤¹¤ë¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£°ÊÁ°¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢Swing ¤Î¥È¥Ã¥×¥ì¥Ù¥ë¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È (JFrame¡¢JDialog¡¢¤ª¤è¤Ó JApplet) ¤Î 1 ¤Ä¤Ë¥Õ¥©¡¼¥«¥¹¤¬¤¢¤ë¾ì¹ç¡¢¥­¡¼¥Ð¥¤¥ó¥É¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢¤³¤ì¤é¤Î¥È¥Ã¥×¥ì¥Ù¥ë¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ç processKeyEvent (java.awt.Component ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë) ¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤·¤¿¡£java.awt.KeyEventPostProcessor ¤¬Äɲ䵤졢Swing ¤Ç¤³¤ì¤òÍøÍѤ¹¤ë¤³¤È¤Ë¤è¤ê (RFE 4389332)¡¢Swing ¤Î¥È¥Ã¥×¥ì¥Ù¥ë¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ç¤³¤ì¤é¤Î¥á¥½¥Ã¥É¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤¹¤ëɬÍפϤʤ¯¤Ê¤ê¤Þ¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢¤³¤ì¤é¤Î¥á¥½¥Ã¥É¤Ï¥È¥Ã¥×¥ì¥Ù¥ë¤«¤éºï½ü¤µ¤ì¡¢·Ñ¾µ¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

JWindow ¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¥Ø¥Ã¥É¥ì¥¹Îã³°¤Ë´Ø¤¹¤ë¥É¥­¥å¥á¥ó¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4483258

¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¥Ø¥Ã¥É¥ì¥¹¥â¡¼¥É¤¬Äɲ䵤ì¤Þ¤·¤¿¤¬¡¢JWindow ¤Î 2 ¤Ä¤Î¥³¥ó¥¹¥È¥é¥¯¥¿¤Ç¡¢HeadlessException ¤¬¥¹¥í¡¼¤µ¤ì¤ë²ÄǽÀ­¤¬¼¨¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£Window(Window, GraphicsConfiguration) ¤ª¤è¤Ó JWindow(GraphicsConfiguration) ¤Î javadoc ¤Ç¡¢¤³¤ÎÅÀ¤¬½¤Àµ¤µ¤ì¤Þ¤·¤¿¡£

ÆþÎÏ¥Ù¥ê¥Õ¥¡¥¤¥¢¤Î´ûÃΤΥХ°

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4532517

°ìÉô¤Î¥æ¡¼¥¶¤ËÌäÂê¤òȯÀ¸¤µ¤»¤Æ¤¤¤ëÆþÎÏ¥Ù¥ê¥Õ¥¡¥¤¥¢¤Î¥Ð¥°¤¬ºÇ¶áȯ¸«¤µ¤ì¤Þ¤·¤¿¡£1.4 ¤Î shouldYieldFocus ¥á¥½¥Ã¥É¤Ç¤Ï¡¢OptionPane ¤ò¥Ý¥Ã¥×¥¢¥Ã¥×¤µ¤»¤ë¤Ê¤É¤ÎÉûºîÍѤϵö²Ä¤µ¤ì¤Þ¤»¤ó¡£

¤³¤ì¤Ë¤Ï¡¢¼¡¤Î¤è¤¦¤Ê²óÈòºö¤¬¤¢¤ê¤Þ¤¹¡£

public boolean shouldYieldFocus(JComponent input) {
if (verify(input)) {
return true;
      }

// According to the documentation, should yield focus is allowed to cause
// side effects.So temporarily remove the input verifier on the text
// field.
input.setInputVerifier(null);
System.out.println("Removed input verifier");

// Pop up the message dialog.
String message = "Roll over the 'JButton1' with mouse pointer "
+ "after closing this dialog.\nIt sometimes behaves correctly "
+ "for the first time\n but repeating action brings incorrect "
+ "behaviour of button.";
JOptionPane.showMessageDialog(null, message , "invalid value",
JOptionPane.WARNING_MESSAGE);
System.out.println("Showed message.");

// Reinstall the input verifier.
input.setInputVerifier(this);
System.out.println("Reinstalled input verifier");

// Tell whomever called us that we don't want to yield focus.
return false;
    }

     

´ûÃΤΥХ°

Windows ¤È¥ê¥â¡¼¥Èɽ¼¨¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òƱ»þ¤Ë¼Â¹Ô¤·¤¿¾ì¹ç¤Î Focus ¥Ð¥°

ÆÃÄê¤Î¾õ¶·¤Ç¤Ï¡¢¥Õ¥©¡¼¥«¥¹¤Ç¤­¤Ê¤¤½ÅÎ̤Υ¦¥£¥ó¥É¥¦¤òɽ¼¨¤¹¤ë¤È¡¢focus ¤¬¼º¤ï¤ì¤Þ¤¹¡£Æäˤ³¤ì¤Ï¡¢ÍÍ¡¹¤Ê Windows ¤Î¥¿¥¤¥×¤È¡¢Reflection-X ¤Ê¤É¤Î¥ê¥â¡¼¥Èɽ¼¨¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òƱ»þ¤Ë¼Â¹Ô¤¹¤ë¾ì¹ç¤Ëµ¯¤³¤ê¤Þ¤¹¡£¤³¤Î¥Ð¥°¤Ï 1.4 ¤Ç½¤Àµ¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥Ð¥°ÈÖ¹æ 4628933 ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

JRootPane

RootPaneUI ¤ÎÊ£¿ô¤Î¿·µ¬¼ÂÁõ

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4338458

javax.swing.plaf.multi Æâ¤Î¥¯¥é¥¹¤Ï¡¢Ê£¿ô¤Î Look & Feel ¤ò¿½Å²½¤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£¤³¤Î¥¯¥é¥¹¤ÏÄ̾İ³Ð¾ðÊó¤Ê¤É¤ÎÄɲþðÊó¤òÄ󶡤¹¤ë¤¿¤á¤ÎÊä½õ Look & Feel ¤ò»ÈÍѤ¹¤ë¥æ¡¼¥¶Êä½õµ¡Ç½¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£¸½ºß¤Î¤È¤³¤í¡¢Êä½õ Look & Feel ¤Î»ÈÍѤòÉÔ°ÂÄê¤Ë¤¹¤ë RootPaneUI ¤ÎÊ£¿ô¤Î¼ÂÁõ¤Ï¤¢¤ê¤Þ¤»¤ó¡£

¿·µ¬¥¯¥é¥¹¤Î javax.swing.plaf.multi.MultiRootPaneUI ¤¬Äɲ䵤ì¤Þ¤·¤¿¡£

¥¦¥£¥ó¥É¥¦Áõ¾þ¤òÄ󶡤¹¤ë Look & Feel ¤Î¥µ¥Ý¡¼¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4290471

AWT ¤Ç¤ÏºÇ¶á¡¢Window ¤ÎÁõ¾þ¤ò¼è¤ê½ü¤¯ API ¤òÄ󶡤·¤Þ¤·¤¿¡£¤Ä¤Þ¤ê¡¢ÈóÁõ¾þ¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¥¦¥£¥ó¥É¥¦¤òÊĤ¸¤¿¤ê¡¢°ÜÆ°¤·¤¿¤ê¡¢¥µ¥¤¥º¤òÊѹ¹¤·¤¿¤ê¤¹¤ë¤È¤­¤Ë¡¢Window ¤Ï¤É¤Î¤è¤¦¤Ê¥¦¥£¥¸¥§¥Ã¥È¤âÉÁ²è¤â¤·¤Þ¤»¤ó¡£¤½¤Î°ÕÌ£¤Ç¡¢Swing ¤Ç¤Ï Look & Feel µ¡Ç½¤¬¥¦¥£¥ó¥É¥¦¤ÎÁõ¾þ¤òÉÁ²è¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

¤³¤Îµ¡Ç½¤Ï¼ç¤È¤·¤Æ javax.swing.JRootPane ¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Þ¤¹¤¬¡¢javax.swing.JFrame ¤ª¤è¤Ó javax.swing.JDialog ¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¥¹¥¤¥Ã¥Á¤ò»ÈÍѤ¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£

¼¡¤ÎÊѹ¹¤¬ JRootPane ¤ËÂФ·¤Æ¹Ô¤ï¤ì¤Þ¤·¤¿¡£

public static final int NONE;
public static final int FRAME;
public static final int PLAIN_DIALOG;
public static final int INFORMATION_DIALOG;
public static final int ERROR_DIALOG;
public static final int COLOR_CHOOSER_DIALOG;
public static final int FILE_CHOOSER_DIALOG;
public static final int QUESTION_DIALOG;
public static final int WARNING_DIALOG;

public void setWindowDecorationStyle(int style)
public int getWindowDecorationStyle()

¤¹¤Ù¤Æ¤Î Look & Feel ¤¬¥¦¥£¥ó¥É¥¦¤ÎÁõ¾þ¥¹¥¿¥¤¥ë¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢getSupportsWindowDecorations ¥á¥½¥Ã¥É¤¬ javax.swing.LookAndFeel ¤ËÄɲ䵤ì¤Æ¡¢Look & Feel ¤¬¤³¤ÎÆ°ºî¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤«¤É¤¦¤«¤ò¼¨¤¹ÊýË¡¤¬Ä󶡤µ¤ì¤Þ¤·¤¿¡£

isDefaultLookAndFeelDecorated() ¤ª¤è¤Ó setDefaultLookAndFeelDecorated ¥á¥½¥Ã¥É¤¬ JFrame ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

isDefaultLookAndFeelDecorated() ¤ª¤è¤Ó setDefaultLookAndFeelDecorated ¥á¥½¥Ã¥É¤¬ JDialog ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£


JScrollBar

JScrollBar ¤¬ setUI ¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4213298

JScrollBar ¤Ï°ÊÁ°¡¢setUI ¥á¥½¥Ã¥É¤ò¥ª¡¼¥Ð¡¼¥é¥¤¥É¤·¤Þ¤»¤ó¤Ç¤·¤¿¡£¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢¥ª¡¼¥Ð¡¼¥é¥¤¥É¤¹¤ë¤è¤¦¤ËÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£


JScrollPane

JScrollPane ¤Î¿·µ¬ MouseWheelListener ¤Î¥µ¥Ý¡¼¥È

¤³¤ì¤Ï¡¢¥Þ¥¦¥¹¥Û¥¤¡¼¥ë¤Î¥µ¥Ý¡¼¥È¤Î°ìÉô¤È¤·¤Æ¼ÂÁõ¤µ¤ì¤Þ¤·¤¿¡£¤³¤³¤Ç¤Ï¡¢JScrollPane ¤ËÂФ¹¤ëÊѹ¹¤À¤±¤òÀâÌÀ¤·¤Þ¤¹¡£¤½¤Î¾¤ÎÊѹ¹¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï¡¢¤³¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4356268

isWheelScrollingEnabled ¤ª¤è¤Ó setWheelScrollingEnabled ¥á¥½¥Ã¥É¤¬ JScrollPane ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£

¿·¤·¤¤Êݸ¤ì¤¿ÆâÉô¥¯¥é¥¹¤Î MouseWheelHandler ¤¬ javax.swing.plaf.basic.BasicScrollPaneUI ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£¤³¤ÎÆâÉô¥¯¥é¥¹¤Ë´ØÏ¢¤¹¤ë¥á¥½¥Ã¥É¤Ï¡¢mouseWheelMoved ¤Ç¤¹¡£¤Þ¤¿¡¢¿·¤·¤¤ createMouseWheelListener ¥á¥½¥Ã¥É¤¬ BasicScrollPaneUI ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£


RepaintManager

¿·µ¬ VolatileImage ¤Î¥µ¥Ý¡¼¥È

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4363288

Java 2D ¥Á¡¼¥à¤Ç¤Ï¡¢Image ¤Î¥°¥é¥Õ¥£¥Ã¥¯¥¹¤È¥¹¥¯¥ê¡¼¥óÁȤßΩ¤ÆÁàºî¤Ë¥Ï¡¼¥É¥¦¥§¥¢¹â®²½¤òÍøÍѤǤ­¤ë¡¢¿·¤·¤¤ VolatileImage µ¡¹½¤ò¼ÂÁõ¤·¤Þ¤·¤¿¡£

Æä˻ØÄꤷ¤Ê¤¤¤«¤®¤ê¡¢Swing ¤Ï¥À¥Ö¥ë¥Ð¥Ã¥Õ¥¡¤ò»ÈÍѤ·¤Æ GUI ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ÎÆâÍƤò¥Ú¥¤¥ó¥È¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢¥ª¥Õ¥¹¥¯¥ê¡¼¥ó¥¤¥á¡¼¥¸¤ØÉÁ²è¤·¤Æ¡¢¤½¤Î¸å¤½¤Î¥¤¥á¡¼¥¸¤ò¥¹¥¯¥ê¡¼¥ó¤Ë¥³¥Ô¡¼¤¹¤ë¤³¤È¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£¤³¤Î²áÄø¤¬¡¢¿·¤·¤¤ VolatileImage ¥µ¥Ý¡¼¥È¤òÍøÍѤ¹¤ë¤¿¤á¤ËÊѹ¹¤µ¤ì¤Þ¤·¤¿¡£

¥Ú¥¤¥ó¥È¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Ë Swing ¤¬»ÈÍѤ¹¤ë¥À¥Ö¥ë¥Ð¥Ã¥Õ¥¡¤Ï¡¢getOffscreenBuffer ¥á¥½¥Ã¥É¤ò»ÈÍѤ·¤Æ RepaintManager ¤«¤é¼èÆÀ¤·¤Þ¤¹¡£VolatileImage ¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤Ï¼ºÇÔ¾ò·ï¤ò¥Æ¥¹¥È¤¹¤ë¤¿¤á¤ÎÆüì¤ÊÁàºî¤¬É¬Íפʤ¿¤á¡¢VolatileImage ¤òÊÖ¤¹¤³¤Î¥á¥½¥Ã¥É¤ò´Êñ¤ËÊѹ¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£¤½¤ì¤Ï¡¢¤³¤Î¥á¥½¥Ã¥É¤ò¸Æ¤Ó½Ð¤¹´û¸¤Î¥³¡¼¥É¤¬Â¸ºß¤¹¤ë²ÄǽÀ­¤¬¤¢¤ê¡¢¤³¤ÎÄɲäνèÍý¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¤Ç¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢ÆÃ¤Ë VolatileImage ¥ª¥Ö¥¸¥§¥¯¥È¤òÊÖ¤¹¤¿¤á¤Ë¡¢getVolatileOffscreenBuffer ¥á¥½¥Ã¥É¤¬ javax.swing.RepaintManager ¤ËÄɲ䵤ì¤Þ¤·¤¿¡£


SpringLayout

¿·¤·¤¤ SpringLayout ¥¯¥é¥¹

¤³¤ÎÊѹ¹¤Ë´ØÏ¢¤¹¤ë¥Ð¥°ÄÉÀ×¥ì¥Ý¡¼¥È: 4290203

¤³¤Î¥ê¥ê¡¼¥¹¤Ç¤Ï¡¢¿·¤·¤¤¥ì¥¤¥¢¥¦¥È¥Þ¥Í¡¼¥¸¥ã SpringLayout ¤¬Æ³Æþ¤µ¤ì¤Þ¤·¤¿¡£

SpringLayout ¤Î»ÈÍÑÎã¤Ë¤Ä¤¤¤Æ¤Ï¡¢Java ¥Á¥å¡¼¥È¥ê¥¢¥ë¤Î¡ÖHow to Use SpringLayout¡×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£


Copyright © 2002 Sun Microsystems, Inc. All Rights Reserved.

¥³¥á¥ó¥È¤ÎÁ÷ÉÕÀè: swing-feedback@java.sun.com.¤³¤ì¤Ï¹ØÆɥꥹ¥È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
Sun
Java ¥½¥Õ¥È¥¦¥§¥¢