Mac OS X¤ÎSwing¤òÍøÍѤ·¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¡¢Mac OS¤Î·Á¼°¤Î¥á¥Ë¥å¡¼¥Ð¡¼¤òɽ¼¨¤¹¤ëÊýË¡¤¬Technical Q&A¤Îʸ½ñ¤È¤·¤Æ·ÇºÜ¤µ¤ì¤¿¡£Swing¤Ç¤ÏJMenuBar¤È¤¤¤¦¥¯¥é¥¹¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë¤¬¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥¦¥¤¥ó¥É¥¦¤Ë¥á¥Ë¥å¡¼¥Ð¡¼¤¬É½¼¨¤µ¤ì¤ë¤Î¤¬Ä̾ï¤Î·Á¼°¤È¤Ê¤Ã¤Æ¤¤¤ë¡£¤½¤³¤Ç¡¢¥·¥¹¥Æ¥à¥×¥í¥Ñ¥Æ¥£¤Îcom.apple.macos.useScreeMenuBar¤òtrue¤ËÀßÄꤹ¤ì¤Ð¡¢Mac OS·Á¼°¤È¤·¤Æ¡¢¥á¥Ë¥å¡¼¥Ð¡¼¤¬²èÌ̾åÉô¤Ëɽ¼¨¤µ¤ì¤ë¡£setJMenuBar¥á¥½¥Ã¥É¤ò»È¤¦¡£¤Ê¤ª¡¢Project Builder¤Î¥Æ¥ó¥×¥ì¡¼¥È¤ò»È¤Ã¤ÆºîÀ®¤·¤¿¥×¥í¥¸¥§¥¯¥È¤Ï¤³¤ÎÀßÄê¤Ïtrue¤ËºÇ½é¤«¤é¤Ê¤Ã¤Æ¤¤¤ë¡£¤Ä¤Þ¤ê¡¢´û¸¤ÎJAR¥Õ¥¡¥¤¥ë¤Ê¤É¤«¤éMRJAppBuilder¤ò»È¤Ã„Æ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òÀ¸À®¤¹¤ë¤è¤¦¤Ê¾ì¹ç¤ËÌäÂê¤Ë¤Ê¤ë¤À¤í¤¦¡£¤Ê¤ª¡¢¥¢¥×¥ì¥Ã¥È¤Î¾ì¹ç¤Ë¤Ï¥Ö¥é¥¦¥¶¤ÎÃæ¤Ç²ÔÆ°¤·¤Æ¤¤¤ë¤³¤È¤â¤¢¤ë¤¿¤á¡¢setJMenuBar¤ÎÍøÍѤ¬¤Ç¤¤Ê¤¤¡£¤½¤Î¾ì¹ç¤Ë¤Ï¡¢¥¢¥×¥ì¥Ã¥È¤Ëadd¥á¥½¥Ã¥É¤Ç¥á¥Ë¥å¡¼¥Ð¡¼¤òÄɲ乤뤬¡¢¤½¤Î¾ì¹ç¤Î¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤â·ÇºÜ¤µ¤ì¤Æ¤¤¤ë¡£ |