約 1,703,985 件
https://w.atwiki.jp/ce00582/pages/3774.html
import java.awt.*; import java.awt.event.*; class game0708 extends Frame implements Runnable{ int t; Image img1; Image off; Graphics offsc; public static void main(String [] args) { Frame f=new game0708(); f.setTitle("game0708"); f.setSize(500,600); f.setBackground(Color.white); f.setVisible(true); } game0708(){ img1 = Toolkit.getDefaultToolkit().getImage("0219.jpg"); t=0; Thread th=new Thread(this); th.start(); addWindowListener(new stopwin()); } class stopwin extends WindowAdapter{ public void windowClosing(WindowEvent we){System.exit(0);} } public void run(){ t=1; repaint(); try{ Thread.sleep(5000); }catch(InterruptedException e){} t=2; while(t 10){ repaint(); try{ Thread.sleep(1000); }catch(InterruptedException e){} t=t+1; } } public void update(Graphics g){ paint(g); } public void paint(Graphics g){ off = createImage(500,600); offsc = off.getGraphics(); offsc.drawImage(img1,0,50,500,500,this); offsc.setColor(Color.white); offsc.fillRect(0,550,500,50); offsc.setColor(Color.black); if(t==1)offsc.drawString("少しお待ちください",100,550); if(t==2)offsc.drawString("きれ",100,550); if(t==3)offsc.drawString("き",100,550); if(t 3)offsc.drawString("きれ",100,550); g.drawImage(off,0,0,this); } }
https://w.atwiki.jp/dopo777/pages/13.html
Tomcat http //localhost 8080/
https://w.atwiki.jp/collectosssrccord/pages/11.html
SQL文を実行したい
https://w.atwiki.jp/cyrif/pages/14.html
オブジェクト指向の練習
https://w.atwiki.jp/mj63/pages/32.html
プログラミングメモ ゲーム オセロ ブロック崩し
https://w.atwiki.jp/guru/pages/57.html
Tips デザインパターン
https://w.atwiki.jp/ce00582/pages/1803.html
class pro{ public static void main(String args[]){ double tl,tr,b1,w1; int n; double th[]=new double[101]; for (n=1;n 101;n++){ th[n]=0.02*n; } tl=tls(th); System.out.println(tl); } public static double tls(double[] th){ double tl,tr,w1,maxwel,maxtl; int n; maxtl=0; maxwel=-999; for (n=10;n 50;n++){ tl=0.01*n; tr=trs(th,tl); w1=wel(th,tl,tr); if (w1 maxwel)maxtl=tl; if (w1 maxwel)maxwel=w1; } return maxtl; } public static double trs(double[] th,double tl){ double tr1,tr2,tr3,b1,b2; int t1; tr1=0.1; tr2=0.2; b1=bud(th,tl,tr1); t1=0; while(t1 100){ b2=bud(th,tl,tr2); tr3=tr2-b2*(tr2-tr1)/(b2-b1); b1=b2; tr1=tr2; tr2=tr3; t1=t1+1; if (b2*b2 0.001)t1=1000; } return tr2; } public static double wel(double[] th,double tl,double tr){ double c1,l1,w1; int n; w1=0; for (n=1;n 101;n++){ c1=cx(th[n],tl,tr); l1=lx(th[n],tl,tr); w1=w1+u(c1,1-l1); } return w1; } public static double bud(double[] th,double tl,double tr){ double c1,y1,b1; int n; b1=0; for (n=1;n 101;n++){ c1=cx(th[n],tl,tr); y1=th[n]*lx(th[n],tl,tr); b1=b1+y1-c1; } return b1; } public static double cx(double th1,double tl,double tr){ double l1,w1,c1; l1=lx(th1,tl,tr); w1=(1-tl)*th1; c1=w1*l1+tr; return c1; } public static double lx(double th1,double tl,double tr){ double w1,l1; w1=(1-tl)*th1; l1=(w1-tr)/(2*w1); if (l1 0)l1=0; return l1; } public static double u(double c1,double x1){ double c2,x2,z2,u2; c2=c1; x2=x1; z2=0; if (c2 0.001)z2=100; if (x2 1)z2=100; if (x2 0)z2=100; if (z2 50)c2=0.01; if (z2 50)x2=0.5; u2=Math.log(c2)+Math.log(x2); if (z2 50)u2=-999; return u2; } }
https://w.atwiki.jp/natural8/pages/11.html
@wikiへようこそ ウィキはみんなで気軽にホームページ編集できるツールです。 このページは自由に編集することができます。 メールで送られてきたパスワードを用いてログインすることで、各種変更(サイト名、トップページ、メンバー管理、サイドページ、デザイン、ページ管理、等)することができます まずはこちらをご覧ください。 @wikiの基本操作 用途別のオススメ機能紹介 @wikiの設定/管理 おすすめ機能 気になるニュースをチェック 関連するブログ一覧を表示 その他にもいろいろな機能満載!! @wikiプラグイン @wiki便利ツール @wiki構文 バグ・不具合を見つけたら? お手数ですが、こちらからご連絡宜しくお願いいたします。 ⇒http //atwiki.jp/guide/contact.html 分からないことは? @wiki ご利用ガイド よくある質問 @wikiへお問い合わせ 等をご活用ください
https://w.atwiki.jp/goemode/pages/19.html
インターセプター seasar インターセプター http //codezine.jp/article/detail/3264 seasar http //event.seasarfoundation.org/sc2009white/Session#S3054
https://w.atwiki.jp/okzmemorandum/pages/20.html
-log4j -Seasar2