2007-02-01ãã1ã¶æéã®è¨äºä¸è¦§
StyledDocumentã«insertStringã¯ãã£ã¦ãappendStringããªããã¨ã ã§ãinsertStringãBadLocationExceptionæããã®ã§ãtryãcatchæ¸ããªãã¨ãããªãã å®éã«ã¯ StyledDocument doc = textpane.getStyledDocument(); doc.insertString(doc.length(), "ãâ¦
JFileChooserã®æ¡å¼µå決ããã¨ãã«ä½¿ããFileNameExtensionFilterã追å ããã¦ã¦ã¹ããã ä»ã¾ã§ã¯FileFilterã¤ã³ã¿ãã§ã¼ã¹ãå®è£ ããã¯ã©ã¹ã®å®ç¾©ãå¿ è¦ã§ããã ãããã§ãJFileChooserã®ãµã³ãã«ããããçããªã£ãã ãã¨ãFileFilterã£ã¦javax.swing.fâ¦
Java2SE5.0ãããPrintWriterã®ã³ã³ã¹ãã©ã¯ã¿ã«ãã¡ã¤ã«åãåãåããã®ã追å ããã¦ãã®ã§ãFileWriterãä¸è¦ã«ãªã£ã¦ã¾ãã ã¨ããã¤ã¤ãããè¦ããèªåã®æ¬ã«ã¡ããã¨æ¸ãã¦ããã
JSPã§Java2SE5.0æ§æ使ãã¨ããå°ãªãã¨ã5.5.7ã®ã¨ãã«ã¯ããããè¨å®ãã¦tools.jarãã³ãã¼ãããã¨ããå¿ è¦ã«ãªã£ã¦ãã®ã§ããã5.5.17ã§ã¯è¨å®ãå¿ è¦ãªããªã£ã¦ããããã
ã¨ãæã£ã¦ã¿ãã Javaè¬å¸«ã®ã¨ãã«ã¿ãã¬ããPCã使ããªãããã ãã¯ã¤ããã¼ããããªããã ã¾ããã½ããã¦ã§ã¢ã®ãã¢ã¨ãã©ã¤ãã©ãªã®ç´¹ä»ã¨ãããã½ã³ã³ã®ç»é¢ã§è¦ããã®ãã¡ã¤ã³ã®ã³ã³ãã³ãã®ã¨ãéå®ã§ã ããã§ãããã¬ã¼ã³è³æã«ã¯ãã¼ã¯ã¼ãã ãâ¦
ãªãã¸ã§ã¯ãæåã ããã ã¨ããæ±ãç¯å²ãåºãããã¨ãããããæãããã¾ããã©ããããã¯æ¬è³ªçãªçç±ãããªãã§ããã ã²ã¨ãã¨ãããã°ã©ã ã®çµã¿ããããèãã¦ãªãã£ããããã¨ãããã¨ã«å°½ãã¾ãã ç¹ã«Swingã¯ã²ã©ãã IDEã使ã£ã¦ãåã£ããã¨ã¯ä½â¦
Vistaã§ã¯(。âิâ¿âิ)ã¨ã(ï¼âิдâิ)ã¨ãã«ã¯ã¤ã表示ãããªããªã£ãããIE7ã§è¡¨ç¤ºãã¡ãã£ã¨å¤ãã£ãããã¾ãæ¤è¨¼å¯¾è±¡ãå¢ãã¦ãWebå±ããã¯å¤§å¤ã§ããã
OSå¯çã§èµ·åãéããã¨ãåãæã ã£ãIEããVistaã§ã®IE7ã¯ã¢ãã¿ããã«èµ·åãé ãããããã¿ããã©ã¦ã¶ã®ã¯ã»ã«ãã¼ã«ã«ã®HTMLãã¡ã¤ã«éãã¨ãã¯ã»ãã¥ãªãã£ã ã¨ãã®ã¯ã±ããããªãçç±ã§å¥ã¦ã£ã³ãã¦éããªãã¨ãããªããããã®å¥ã¦ã£ã³ãã¦ã®è¡¨ç¤ºãã¢â¦
ä»æã¯Javaè¬åº§æéãªã®ã§ããããªããã¿ããªæåã«ãããã¨ã¯ãJTextAreaã¨ãã®ããããã£ãããã£ã¦è²ã¨ããã©ã³ãå¤ãããã¨ãªãã§ããããã è²å¤ããããã§ãã ã¨ãããã¨ã§ãæåã®ã»ãã®ãµã³ãã«ã§è²ãå¤ãããã¨ã¯ã§ããªããç»çãã¦ã¿ã¾ãã
ã¿ãã¬ããã使ã£ã¦ã¦ããããªæ°ãããã æ®ãç½®ããªããã¬ãå¿ é ãæã¡éã¶ãªãã¿ãã¬ããå¿ é ãã¿ãããªã
ãªã¼ãã³ã½ã¼ã¹ã«ãªãã¾ãã Creator/Vsual Web Pack sources are available in Netbeans repository
ãã¡ã¤ã«ã¨ã¯ã¹ããã¼ã©ã¼ã®ã¢ãã¬ã¹ãã¼ããã³ãããªã¹ãã«ãªã£ã¦ä½¿ãããããªã£ã ãã¡ã¤ã«åå¤æ´ã®ã¨ããæ¡å¼µåãé¤ããé¨åãåæé¸æ ãã¡ã¤ã«ã®æ¤ç´¢ãéã ã¦ã¼ã¶ã¼ã®ãã©ã«ãåãã·ã³ãã«(C:\Users\kishidaã¨ã) ãDocument and Settingsããªã©ã¨ããâ¦
ãã¾ããNetBeans5.0ã§ã¢ã¸ã¥ã¼ã«éçºãã¦ã人ã¯ããªãã§ããããã©ã ã¢ã¸ã¥ã¼ã«ã®å®è¡ãNetBeansä¸ããã§ãã¾ããã ä½æãããã¡ã¤ã«ãã¤ã³ã¹ãã¼ã«ããã¨åãã¾ãã NetBeans5.5ã ã¨å¤§ä¸å¤«ã§ãã
HashSetããééã®çããã¼ã¿ãç¶ãã¦è¿½å ããã¨ãã«ã¯æ´åããããããªã¢ã«ã´ãªãºã ã«å¤ãã£ã¦ãã¾ãã HashSetã®ãµã³ãã«ã§ãHashSetã¯é çªãäºæ¸¬ã§ããªããã¨èª¬æãããã¨ãã¦ããçµæ§æ´åããã¦è¿½å ããã¦ã¦ããã¨æ´åããã¦ããªããã¼ã¿ããã¾ã«æ´åãâ¦
éçè¨èªã§ã®ç¶æ¿ã®å©ç¹ã¨ããã®ã¯ãå¤æ°ã®å ±æã¨åå®å ¨ã¡ã½ãããã¤ã³ã¿ã¨ãããã¨ã«ãªãã®ããªã ã¡ã½ããå ±æã®ããã«ã¯ã以åæ¸ããRubyã®Moduleäºæã®ä»çµã¿ã使ã£ã¦ã³ã³ãã¤ã«æã«åãè¾¼ãã°ç¶æ¿ã§ããå¿ è¦ããªããªããã ãã®ã¨ãã«ããã©ã¼ãã³ã¹ãâ¦
NetBeansããBeans Bindingã¨Swing application frameworkã«å¯¾å¿ããã£ã¦ãã¨ãªã®ã§ãã¨ã£ã¦ãæå¾ ã http://weblogs.java.net/blog/zixle/archive/2007/02/update_on_beans.html
ã¨ãããã¨ã§ãã ãã°ãã£ãã¯ã¹ã¨v2対å¿ã ããªã®ã§ãéçºçã使ã£ã¦ãããããããªããã¨ãããã¨ã§ãã
ãããªãããã¦ã³ãã¼ãã¨ãã¤ã³ã¹ãã¼ã©ã¼ããã£ãããã http://nbi.netbeans.org/m10/download.html Glassfishä»ãã§ã¤ã³ã¹ãã¼ã«ããã¨JavaDBã¾ã§ä½¿ããç¶æ ã«ãªã£ã¦ãã¨ããã®ã¯ãã¨ã¦ããããªãã EJBãä½ããããã«ãªã£ã¦ãã ãããªããã³ã³ãã¤ã«ã¨â¦
ã¨ãããã¨ã§ãã³ãã©ãã®äººãã¡ã«Javaãæãã¦ã¾ãã ã¨ãã㨠ããã£ããç¸æã«å¤§å¤ãããã ã¨è¨ããã¾ãããã¨ãã§ããªãã ä»åã¯ãæ°å ¥ç¤¾å¡ã¨ãããæ®éã®å¹´ä»£ã®äººã§ãã ã§ããããã年代ãã¨ã«ãã¼ã åãããã¦ã1é±éãã¤3ãã¼ã ã«æãã¦ã¾ãã ã â¦
絶çç¶æ ã§ããããããªããã ãã ãã¾æ¹è¨ä¸ã çµæãã°ã©ãã£ã«ã«ã«è¦ããããã«Graphicsã®èª¬æã®ãã¨ã«æã£ã¦ãã¦ããã®ãããµã³ãã«ã工夫ãããã¨ã§æ©ã段éã«ç§»åãããããã¦ã¾ããGraphicsã使ããªããªã£ãã®ã§ããµã³ãã«ãçããªãã¾ããã è¨èªã»â¦