Javaã®ã¯ã©ã¹å®£è¨ã«ã¯5種é¡ããã ãããã¬ãã«ã¯ã©ã¹ã»ãã¹ãããã¯ã©ã¹ã»å é¨ã¯ã©ã¹ã»ãã¼ã«ã«å é¨ã¯ã©ã¹ã»å¿åã¯ã©ã¹(ç¡åã¯ã©ã¹ã¨ãè¨ããã)ã®5種é¡ã ã ä»åã¯ãã®5種é¡ã®ã¯ã©ã¹å®£è¨ã®ããããã ãããã¬ãã«ã¯ã©ã¹ ããã¯æ®æ®µä½¿ã£ã¦ããã¯ã©ã¹ãæ¡å¼µåã.javaã®ãã¡ã¤ã«ãä½ãããã®ãã¡ã¤ã«åã¨ã¯ã©ã¹åãåè´ãããªãã¦ã¯ãããªãããã®javaãã¡ã¤ã«ã®ãããã¬ãã«ã«ä½ç½®ããã ãã¹ãããã¯ã©ã¹ ããã¹ãããã¯ã©ã¹ã(Nested class)ã¨ã¯ã¯ã©ã¹ã®ä¸ã«ã¯ã©ã¹ããã¹ããã¦ããç¶æ ããããã¬ãã«ã¯ã©ã¹ã®å å´ã«staticãã¼ã¯ã¼ããã¤ãã¦ã¯ã©ã¹å®£è¨ãè¡ãã public class Outer { public static class Nested { } } ãã®ãã¹ãããã¯ã©ã¹ã¯ããããã¬ãã«ã¯ã©ã¹ã¨åçã®æ©è½æ§ãæã¤ã ã¯ã©ã¹åã¯Outer.Nestedã¨ããååã§æ±ãããã
Webã¢ããªã ã¨ããããªãã¼ãã£ã³ã°ã§ãããã¬ã¼ã ã¯ã¼ã¯ããã£ãããNetBeansãåæã«ãã«ãã»ãããã¤ãã¦ãããããã¦ãã½ã¼ã¹ã³ã¼ãã®ãã«ããªã©ãæ°ã«ããªãã¦ãããããã«ãªã£ã¦ãã¦ããã§ãããSwingã¢ããªã§ã¯ããããªãã¼ãã£ã³ã°ãã§ããã¨ããã®ã¯ãªããªããªãã£ãããã§ãã ã§ããã®Javeleonã¨ããã®ããJavaã¢ããªã±ã¼ã·ã§ã³ã§ããããªãã¼ãã£ã³ã°ã§ããããã«ãããã¼ã«ã http://javeleon.org/ ã©ã¤ãã©ãªãããªãã®ã§ãæ®éã«ä½ã£ãSwingã¢ããªãªã©ã§ããããªãã¼ãã£ã³ã°ã§ãã¾ãã ããã§ã¯NetBeansãã©ã°ã¤ã³ã¨ãã¦ä½¿ãã¾ãããjavaã³ãã³ãã«ãã©ã¡ã¼ã¿ä»å ããã ããªã®ã§ãEclipseãªã©ã§ã使ããããã§ãã ã¤ã³ã¹ãã¼ã« NetBeansã®ã¢ãããã¼ãã»ã³ã¿ã¼ã«ã次ã®URLã追å ãã¾ãã http://javeleon.org/javeleo
製åæ å ± - Oracle SQL Developer Oracleããç¡åãã¦ã³ãã¼ãã§ããSQL Developerã¨ãããã¼ã«ãããªã便å©ã ã£ãã®ã§ç´¹ä»ãã¦ã¿ãããªããã®ã¨ã³ããªã§ä½¿ç¨ããOracle SQL Developerã®ãã¼ã¸ã§ã³ã¯3.0ã§ãâ¦â¦ããã¡ããã¡ãã追è¨ãã¦ããããã3.0or4.0以éã®ãã¼ã¸ã§ã³ãåºã«æ¸ããã¦ããé¨åãããã¾ãã å°å ¥ SQL Developerã¯è¦JDKã JDKãå ¥ãã¦ãªããã°ãJDKå梱çï¼ãã®zipãã¡ã¤ã«ã«ã¯JDK1.6.0_11ãå«ã¾ãã¦ãã¾ãï¼ã®æ¹ãé¸ã¹ã°OKã JDKããã¼ã«ã«ãã·ã³ã«å ¥ãã¦ããã° Oracle SQL Developer ãã¦ã³ãã¼ã ãããã¡ã¤ã«ããã¦ã³ãã¼ããã¦è§£åãsqldeveloper.exeãå®è¡ããã ããã³ãã©ã¯èµ·åæã«JDKã®ãã¹ãæ±ããããã®ã§ããããå ¥ãããã¡ãªã¿ã«ãJDK 1.6.0_1
ç§èªèº«ã¯10年以ä¸ãåï¼JDK1.1ã®é ï¼ã«SJC-Pã®èªå®ãåã£ã¦ä»¥æ¥ãJavaããã°ã©ãã³ã°é¢é£ã®èªå®è©¦é¨ã¯åãã¦ããªãã®ã§ãããæ¨æ¥ãã¾ãã¾ããããæ¤ç´¢ãã¦ãSJC-Pã¨ã¯å¥ã«Javaããã°ã©ãã³ã°è½åèªå®è©¦é¨ã¨ãã試é¨ãåå¨ãã¦ãããã¨ãç¥ãã¾ãããçµæ§ã¡ã¸ã£ã¼ãªèªå®è©¦é¨ã®ããã§ãã®ã§ãç¾å½¹ã®Javaããã°ã©ãã¼ãJavaããã°ã©ãã¼ãç®æãã¦ããå¦çããã§ãä»å¾åé¨ã«åãã¦åå¼·ããã¦ããæ¹ã ãå¤ãããã£ãããã®ã§ã¯ãªããã¨æãã¾ãã 試é¨ã¯é£æ度ã«å¿ãã¦3ç´ãã1ç´ã¾ã§ã©ã³ã¯ãåããã¦ããã2ç´ã¾ã§ã¯Javaè¨èªã®ç¥èã«é¢ããçè¨è©¦é¨ã§ãã1ç´ã®è©¦é¨ã§ã¯å®éã®ããã°ã©ã ã®ä¿®æ£ãè¡ãè½åãå®æ試é¨ã¨ãã¦èª²ãããã¾ãã試é¨ç¯å²ã¯ä»¥ä¸ã§å ¬éããã¦ãã¾ãã Javaããã°ã©ãã³ã°è½åèªå®è©¦é¨ï¼è©¦é¨ç¯å²ï¼ ç§ã¯ï¼èªåã§è¨ãã®ãå¤ã§ããï¼ãJavaããã°ã©ãã³ã°ã«ã¤ãã¦ã¯ãã®é15å¹´è¿ãã®ã
ã°ã©ãã£ã«ã«ã¦ã¼ã¶ã¤ã³ã¿ã¼ãã§ã¼ã¹ (1) ããã¾ã§ã«æ±ã£ã¦ããããã°ã©ã ã¯ã大ã¾ãã«è¨ãã¨ãã³ã³ã½ã¼ã«ã«æååãå ¥åããã¦ããã³ã³ã½ã¼ã«ã«æååã表示ãããã ãã®ããã°ã©ã ã§ãã£ãããã®ããã«ãã³ã³ã½ã¼ã«ã«æåã®å ¥åºåã§ã¦ã¼ã¶ã¨ããã°ã©ã ã対話ããä»çµã¿ã®ãã¨ããã£ã©ã¯ã¿ã¦ã¼ã¶ã¤ã³ã¿ã¼ãã§ã¼ã¹ (CUI) ã¨å¼ã¶ã ããã«å¯¾ãã¦ãã°ã©ãã£ã«ã«ã¦ã¼ã¶ã¤ã³ã¿ãã§ã¼ã¹ (GUI) ã¨ã¯ãçµµãã¢ã¤ã³ã³ã仲ç«ã¡ã¨ãã¦ãã¦ã¼ã¶ã¨ããã°ã©ã ã対話ããä»çµã¿ã®ãã¨ã§ãããä¸è¬çã«ãGUI 㯠GUI ã³ã³ãã¼ãã³ã (é¨å) ã使ã£ã¦æ§ç¯ããããGUI ã³ã³ãã¼ãã³ãã¯ãã¦ã¼ã¶ããã¦ã¹ããã¼ãã¼ããéãã¦ããåãããè¦è¦ãªãã¸ã§ã¯ããæãã ç¾å¨ãä¸è¬çãªã³ã³ãã¥ã¼ã¿ã¦ã¼ã¶ãæ±ãã¢ããªã±ã¼ã·ã§ã³ã®ã»ã¨ãã©ã¯ããã® GUI ã¨ããä»çµã¿ã§ä½ããã¦ãããæä½ã®ã»ã¨ãã©ããã¦ã¹ã§è¡ããã®ãå¤ããä»åã¯ããã®ã
S-JIS[2006-06-17/2013-02-22] å¤æ´å±¥æ´ Eclipse3ã§Javaã®ããã°ã©ãã³ã° Eclipse3ã¯Eclipse2ã¨è¦ãç®ã¯ã ãã¶å¤ãã£ããã©ãåºæ¬çãªä½¿ãæ¹ã¯ãã¾ãå¤ãã£ã¦ããªãã¯ãã ã¨ãã訳ã§ãEclipse2ç¨ã«æ¸ãããã¼ã¸ãåèã«ãªãããã åãªãããã¸ã§ã¯ããJavaããã¸ã§ã¯ãã«å¤æ´ããæ¹æ³ [2009-02-19] ãã«ããã¹ã追å ããæ¹æ³ [/2013-02-22] å®è¡æãã¹ã追å ããæ¹æ³ [/2007-09-16] ã³ã³ãã¤ã©ã¼æºæ ã¬ãã« [/2008-10-25] è¦åã®ææ¢ [/2010-08-21] ãªãã¡ã¯ã¿ãªã³ã° [/2008-10-03] ã½ã¼ã¹ã®æ·»ä» [2007-02-19] ãããã°å®è¡ï¼ãªã¢ã¼ããããã°ï¼ [/2008-11-15] JUnit [/2007-02-19] jarãã¡ã¤ã«ã®çæ [2010-02-21]
以åãJavaã§éç©å½¢ã¦ã£ã³ãã¦ã®è¨äº()ãæ¸ãããããã®æç¹ã¯çµå±Wicocoã®æ¡å¼µAPIã使ããªãã§SWTã§å®è£ ããã®ã ããSwingã§ãå®è£ ã§ãããã¨ãTACã®éè¨ã¨ãããµã¤ãã§ç´¹ä»ããã¦ããã å®è£ ã§ããããã«ãªã£ãã®ãJava6 Update10ã®ãªãªã¼ã¹ä»¥éãããªã®ããããã¨ã以åãããªã®ãã¯ããããªãããSwingã§ãéç©å½¢ã¦ã£ã³ãã¦ãå®è£ ã§ãããã¨ãããã£ãã®ã¯ããããéãã ã¨ããããã§ãæ©éTACã®éè¨ã®ã³ã¼ããåèã«ãããããããããã¾ããã¦ã¿ãã以ä¸ããã®ã½ã¼ã¹ã³ã¼ããããã¦ãåºæ¥ä¸ãã£ãã®ããããå®éã«åä½ãã¦ããæ§åã¯ãã¡ãã package swing; import java.awt.Component; import java.awt.Container; import java.awt.Graphics; import java.awt.Image; i
ããã§ã¯ChangeEventã«ã¤ãã¦è¦ã¦ããã¾ãã 1.ChangeEventãçºçãããã³ã³ãã¼ãã³ã:
ã¹ããã¼ã®ãã¼ã¿ã管çãã¦ããã®ãSpinnerModelã¤ã³ã¿ã¼ãã§ã¼ã¹ãå®è£ ããã¯ã©ã¹ã¨ãªãã¾ããSpinnerModelã¤ã³ã¿ã¼ãã§ã¼ã¹ãèªåã§å®è£ ãã¦ãæ§ãã¾ãããæ¢ã«ç¨æããã¦ããå®è£ ã¯ã©ã¹ã使ã£ã¦ãæ§ãã¾ããã å®è£ ã¯ã©ã¹ã¨ãã¦ç¨æããã¦ããã¯ã©ã¹ã¯SpinnerListModelã¯ã©ã¹ãSpinnerNumberModelã¯ã©ã¹ãSpinnerDateModelã¯ã©ã¹ã®3ã¤ã¨ã¨ãªãã¾ãããããã®è©³ãã使ãæ¹ã¯æ¬¡ã®ãã¼ã¸ä»¥éã§è¦ã¦ããã¾ãã ããã§ã¯SpinnerModelã¤ã³ã¿ã¼ãã§ã¼ã¹ãå®è£ ããã¯ã©ã¹ãåã¯å®è£ ã¯ã©ã¹ã®ãªãã¸ã§ã¯ããå©ç¨ãã¦JSpinnerã¯ã©ã¹ã®ãªãã¸ã§ã¯ããä½æããæ¹æ³ã確èªãã¾ããã³ã³ã¹ãã©ã¯ã¿ã§æå®ããæ¹æ³ã¨ã¡ã½ãããå©ç¨ããæ¹æ³ãããã¾ããã¾ãã¯ã³ã³ã¹ãã©ã¯ã¿ã確èªãã¾ãã JSpinner public JSpinner(SpinnerModel
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}