2016-12-01ãã1ã¶æéã®è¨äºä¸è¦§
â ã¯ããã« ä»åã¯ãJavaã®Matcher.group()ã使ã£ã¦ æååã®æ½åºãè¡ãã ãï¼ãåºç¤ç¥è * ãã¿ã¼ã³ã®ä¸ã§ããããããé¨åãåãåºãããé¨åãæ¬å¼§()ã§å²ã ï¼ï¼æ§æ // 1, 2, ... String result1 = matcher.group(1); String result2 = matcher.group(2â¦
â Mapã®åæå // Case2 : å¿åå é¨ã¯ã©ã¹ãå©ç¨ããæ¹æ³ï¼â 以ä¸ã注æï¼å¿åå é¨ã¯ã©ã¹ãå©ç¨ããæ¹æ³ã«ã¤ãã¦ããåç §â ï¼ Map<String, String> maps = new HashMap<String, String>() { { put("X001", "first"); put("X002", "second"); put("X003", "third"); } }; http://pgnote.net/?p=3</string,></string,>â¦
ãµã³ãã« PopupMenuSample.java import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import javax.swing.JButton; import â¦
JTableãããã ã»ã«é¸ææã®ç¶æ 表示 * setColumnSelectionAllowed(boolean)/setRowSelectionAllowed(boolean) ã§å¶å¾¡ http://www.javadrive.jp/tutorial/jtable/index16.html ãµã³ãã« * åºæ¬ç·¨ import java.awt.BorderLayout; import java.awt.Dimension;â¦
OpenJDK ã¨ã¯ * OpenJDK ã¯ãOracle社ãæä¾ãã¦ããJDKï¼Oracle JDK(Java Development Kit)ï¼ããªã¼ãã³ã½ã¼ã¹åãããã®ã => ãªã®ã§ãå®å ¨ããªã¼ãGPL v2 * Oracleã¯ãOpenJDKãOracle JDKã®ã³ã¼ãã»ãã¼ã¹ã¨ãã¦ä½¿ç¨ãã¦ãã => ã£ã¦ãã¨ã¯ãã©ã£ã¡ããâ¦
â ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36493945.html ã®Windowsçã â æé [1] MySQLã®ã¤ã³ã¹ãã¼ã«å ´æï¼ããã©ã«ããªããC:\ProgramData\MySQL\MySQL Server X.Xãï¼ ã«ãããmy.iniããã³ãã¼&ãã¼ã¹ãããä»»æã®ãã¡ã¤ã«åï¼ä¾ãmy2.iniãï¼ã«â¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36584422.html http://blogs.yahoo.co.jp/dk521123/36584475.html ã®ã³ã¼ããçµ±åãã¦æ´çãã # ã«ã¼ãã®åµã§ããã©ã¼ãã³ã¹æªããã§ããããããªã«ãã¼ãã«ä½¿ããªããã°åé¡ãªããã¨... ãµã³ãã« ValueReplaceâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36538970.html ã§ä»¥ä¸ã®ãããªåé¡ãããã£ã¦æ¸ããã ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ * 以ä¸ã®æåãç´ããããééããã©ãã«ãããã¨ããªãã¨ã... + æ°åã®ã0ï¼ã¼ãï¼ãã¨è±åã®ãOï¼ãªã¼ï¼ã + æ°åã®ã1ï¼ã¤ãâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36582301.html ã§Wordãã¡ã¤ã«ä½æã¾ã§ã§ããããApache POIã§ãåããã¨ããã£ã¦ã¿ã è¨å® 1) 以ä¸ã®ãµã¤ãããããpoi-bin-X.XX-yyyyMMdd.zip ï¼ä»åã¯ãpoi-bin-3.15-20160924.zipãï¼ãããã¦ã³ãã¼ããã hâ¦
Java 㧠Word ã®èªã¿æ¸ããè¡ãã«ã¯... [1] Apache POIã使ç¨ãã â 以ä¸ã®é¢é£è¨äºãåç §ã®ã㨠http://blogs.yahoo.co.jp/dk521123/36584129.html [2] docx4j ã使ç¨ãã â ä»åã¯ãã[2] docx4j ã使ç¨ããããåãä¸ãã è¨å® 1) 以ä¸ã®ãµã¤ãããããdoâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/35027281.html http://blogs.yahoo.co.jp/dk521123/36550446.html ã§ãã¢ã¸ã¥ã¼ã«æä¾ç¨ãã³ãã¬ã¼ããä½ã£ã¦ã¿ãã ã²ã¨ã¾ããç³ã訳ãªãç¨åº¦ã«ãã°ã¤ã³ç»é¢ãå¿ è¦ãªå ´åãããã®ã§ ç°¡åãªãã³ãã¬ã¼ããä½ã£ã¦â¦
â æ¹æ³ [1] mysqldump ã使ã£ã¦ããã¯ã¢ãã [2] Workbenchã使ã£ã¦ãã¼ã¿ç§»è¡ [3] SELECT-INERTã§ãã¼ã¿ç§»è¡ [1] mysqldump ã使ã£ã¦ããã¯ã¢ãã * 以ä¸ã®é¢é£è¨äºãåç §ã®ã㨠http://blogs.yahoo.co.jp/dk521123/36680883.html [2] Workbenchã使ã£ã¦ãâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36584422.html ã®ç¶ãã表å ã®æåç½®ãæãã«å¯¾å¿ãããã¨ãèãã ãµã³ãã« * ãã³ãã¬ã¼ããèªã¿è¾¼ãã§è¡¨å ã®ã@@VER2@@ãããHello World!!ãã«ç½®ãæãããµã³ãã« ReplaceInTableWithPoiDemo.java import jaâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36584129.html ã§ãApache POIã使ã£ã¦ãWordãã¡ã¤ã«ä½æã¾ã§ã§ããã®ã§ ä»åã¯ãWord ãã³ãã¬ã¼ããèªã¿è¾¼ãã§ãJavaã§ãã¬ã¤ã¹ãã©ã«ãã@@VER@@ããç½®æããã ãµã³ãã« * ãã³ãã¬ã¼ããèªã¿è¾¼ãã§ã@@VERâ¦
â ã¯ããã« * 以ä¸ã® Metro ã®ã¦ã¼ã¶ãºã¬ã¤ã https://metro.java.net/1.5/guide/HTTP_Timeouts.html ã«å¾ã£ã¦ã以ä¸ããã¡ã ã£ãä¾ãã®ããã«å®è£ ããããã¿ã¤ã ã¢ã¦ããçºçããªãã£ãã # ãµã¼ãããGlassFishãããªãã£ãããï¼ ãã ãã¿ã¤ã ã¢ã¦ããå®â¦
â ã¯ããã« https://blogs.yahoo.co.jp/dk521123/36373100.html ã®ç¶ããä»åº¦ã¯ãå®éã«è¨å®ããã â æ§ç¯ç°å¢ * OS : CentOS7 â æºå sendmailã®åæ¢ç¢ºèª # sendmailãåä½ãã¦ãããç¢ºèª systemctl status sendmail # åæ¢ systemctl stop sendmail # èªåâ¦
â ã¯ããã« JavaMail ã使ã£ã¦ SMTP-AUTH ã®æ¹å¼ãDIGEST-MD5ãã§ã¡ã¼ã«éä¿¡ããæ¹æ³ãèãã â ç¨èª SASLï¼ãµã¹ã«ï¼ * SASL : Simple Authentication and Security Layer * èªè¨¼ãæå·åãªã©ã®ã»ãã¥ãªãã£ã«é¢ããå¦çãè¡ã層 CRAM-MD5 * CRAM : Challengâ¦
â ã¯ããã« https://dk521123.hatenablog.com/entry/2014/08/02/234119 ãªã©ã§ãbyteé åã16é²æ°æåå ã«å¤æããå¿ è¦ããã 以åã¯ã以ä¸ã®ããã«ç¬èªã«ãã¦ããããç°¡åã«å®è£ ã§ããã®ã§ã¡ã¢ã 以åã®å®è£ ï¼ byteé åâ16é²æ°æåå ã®å¤æ byte[] hashVaâ¦
ãµã³ãã« ä¾1ï¼ãã¿ã³ã縦ã«ä¸¦ã¹ã import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; public class BoxLayoutDemo { public static void main(String[] args) { JFrame frame = new JFramâ¦
ãµã³ãã« import java.awt.BorderLayout; import java.awt.Color; import java.awt.FlowLayout; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; iâ¦
éçºç°å¢ ç°å¢ * OS : Win10 * DB : MySQL * Java : Java1.8 äºåæ¡ä»¶ (1) ã«ã¼ã以å¤ã®ã¦ã¼ã¶ãäºåã«ç»é²ãã¦ããã㨠# ã¦ã¼ã¶ãuser1ããã¹ã¯ã¼ããpassword1ãã§ã¦ã¼ã¶ä½æ CREATE USER user1 IDENTIFIED BY 'password1'; CREATE USER user1@localhost â¦
ãµã³ãã« import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Font; import java.awt.Insets; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.borderâ¦