約 2,795,539 件
https://w.atwiki.jp/sfrontier/pages/36.html
Java 作成日 2007/11/01 H.Naito 更新日 2007/11/02 H.Naito GeneralsGeneral FAQ FrameWork Design Pattern WebTechnology Informain From Sun Qualification Generals General Javaの道 Javaの技術について、包括的に解説。 FAQ Java に関するよくある質問とその回答集 主にソースコードレベルでの FAQ FrameWork Design Pattern http //www.hellohiro.com/pattern/ http //www.techscore.com/tech/DesignPattern/ http //www.itarchitect.jp/beginners/-/51409.html http //blog.yuki.sub.jp/ http //www.objectclub.jp/technicaldoc/pattern/DPforJavaProgrammers WebTechnology Informain From Sun Official サイト(日本語版) 日本語版オフィシャルページ Official サイト(英語版) 英語版オフィシャルページ Java 6.0 修正済みバグ報告 Java6.0 の修正済みバグ報告 Qualification Qualification この wiki に掲載している資格情報 Sun Sun のオフィシャルページの情報 アール・プロメトリック アール・プロメトリック社のwebサイト。ここから、受験申し込みができます。
https://w.atwiki.jp/yoshida2/pages/126.html
import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; import javax.swing.event.*; import java.awt.Graphics; import java.awt.Color; public class Alog1 extends Frame{ //コンストラクタ、今は使ってない。 public Alog1() { } public void paint(Graphics g){ g.drawOval(100,100,400,400);//半径200中心点は(300.300) int q=0; for(int i=90;i -270;i-=6){ double x=200*Math.cos(Math.toRadians(i)); double y=200*Math.sin(Math.toRadians(i)); double x2=180*Math.cos(Math.toRadians(i)); double y2=180*Math.sin(Math.toRadians(i)); double x3=190*Math.cos(Math.toRadians(i)); double y3=190*Math.sin(Math.toRadians(i)); if(q%5==0){ g.drawLine((int)x2+300,(int)y2+300,(int)x+300,(int)y+300); }else{ g.drawLine((int)x3+300,(int)y3+300,(int)x+300,(int)y+300); } q++; } } public static void main(String args[]){ Alog1 a = new Alog1(); a.setTitle( アナログ時計 ); a.setSize(600,600); a.setVisible(true); } }
https://w.atwiki.jp/dominions3/pages/526.html
Call Abomination 生命力吸収、死の瞳を持つAbominationを召喚します Call Abomination ジェム 疲労 内部ID 520 25 使用 水中判定 効果 効果量 儀式 水中可 Summon 主属性 主Lv 効果発生数 射程距離 Astral 5 1 副属性 副Lv 効果範囲 命中補正 Water 2 0 領域 Lv 防御判定 抵抗判定 Conjuration 9 専用国家 ゲーム内説明文 The caster summons an Abomination from the nether planes. The beast is huge and horrible to behold, capable of shredding the minds of weaker beings with its gaze. 和訳 術者は、冥界からAbominationを召喚します。この獣は巨大で、その視線だけで弱者の心を引き千切ることができ、目にするだけでも恐怖を覚えます。 注記 巨大怪生物の召喚魔法。多数の触手と巨大な眼を持つナメクジのようなものらしい。言うまでもなく真っ当な生き物ではなく、魔法生物に属する。 HP266と異常なしぶとさを誇るのが特徴。その上、防御力こそ低いが魔法抵抗力は非常に高く、即死などを成功させるには苦労する。かといって普通に殴り倒そうとすると、高HPを背景とした再生能力とHP吸収3連撃で粘られるという厄介な相手。 またその巨大な眼は死の眼光を放つ武器でもあり、遠方から広範囲に向けて防御力無視の攻撃を放つ。抵抗可能とはいえ、標準的な抵抗力ではこれの被害を抑えきるのは辛いものがある。 おまけに水陸両用なので、そのまま水中戦にも連れ込める。能力の低下も一切ない。おかげで水域が邪魔なマップでも数を揃えるのを躊躇わずに済む。暗視も100%備え、Darknessでの妨害も受けない。 出せるようになるのが遅すぎるが、戦力としては申し分ない。数を出せば遠距離からの砲撃だけで一般兵を蹴散らせるし、接近戦でもFear効果と3連攻撃により圧倒できる。 またそのしぶとさゆえ、戦闘型指揮官に対する壁としてもよく機能する。並の火力では押し切れない回復力のため、範囲への殲滅力を重視した装備をしている相手にはかなり強い。 弱点は巨体の魔物全般と同じく、敵の射撃。大きいので喰らい放題になる上に、それを防ぐ手段を自前では持っていない。防御力も低く、属性耐性も毒のみのため、いくらHPが高いとはいえ少々辛い。 動きも鈍く、弾切れ後の接近はかなりの重役出勤ぶり。攻撃スキルは高いので火力は十分だが、反撃も喰らいまくるので防御力の補強が欲しくなる。この魔法の解禁時期ならお互い打つ手はいろいろあるので、性能を過信せず補助魔法を利用していくのが吉。 コメント 名前 コメント
https://w.atwiki.jp/ce00582/pages/3523.html
import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.io.*; class game0317 extends Frame implements Runnable{ int t; int mx,nx; int w=250; int h=375; int rgb[][]=new int[h][w]; Image buf; Graphics bufsc; public static void main(String [] args) { Frame f=new game0317(); f.setTitle("game0317"); f.setSize(700,700); f.setBackground(Color.yellow); f.setVisible(true); } game0317(){ csvdata(); 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=0; while(t 30){ repaint(); try{ Thread.sleep(1000); }catch(InterruptedException e){} t=t+1; } repaint(); } public void paint( Graphics g ) { buf = createImage(600,600); bufsc = buf.getGraphics(); for (mx=0;mx h;mx++){ for (nx=0;nx w;nx++){ bufsc.setColor(Color.red); if (rgb[mx][nx] 50)bufsc.fillRect(nx+5*t,mx+5*t,1,1); } } g.drawImage(buf,0,0,this); } public void csvdata(){ int n; String s; String a[]=new String[w*h]; String b[]=new String[3]; try { n=0; FileReader fr = new FileReader("data0309.csv"); BufferedReader br = new BufferedReader(fr); while(*1) != null) { a[n]=s; n=n+1; } fr.close(); } catch (IOException e) {System.out.println(e);} for (n=0;n w*h;n++){ b=a[n].split(","); mx=Integer.valueOf(b[0]); nx=Integer.valueOf(b[1]); rgb[mx][nx]=Integer.valueOf(b[2]); } } }
https://w.atwiki.jp/saicron/pages/80.html
Programming Language/JavaScript/DOM/JavaScript DOM Contents Programming Language/JavaScript/DOM/JavaScript DOMContents Tutorial Tutorial JavaScript DOMプログラミング - WIKIBOOKS Traversing an HTML table with JavaScript and DOM Interfaces - MDN page top
https://w.atwiki.jp/mdk_0711/pages/16.html
FAQ new Boolean ってイケてないの? 内部で new させることには意味が無いので、valueOf() を使用すること。 C/C++みたいに参照渡し出来ないの? プリミティブ型では出来ません。必ず参照型を使うこと。 VC++のmid()メソッドみたく、文字列の一部を取り出したい substring()メソッド使う。 文字列結合したいんだけど… StringBufferクラスにappendしてから文字列化(toString())する。 String型を + 演算子で連結すると、内部で new しまくるので、使っては駄目。 三項演算子使える? Yes 上手く使えば、switch 文とかの替わりになる。 文字列比較に == しても上手くいかない Java は内部的にはポインタで管理しているので、文字列比較しようとしても、アドレス比較になってしまうらしい。なので、equals()メソッドで比較すること。
https://w.atwiki.jp/ce00582/pages/3638.html
import java.awt.*; import java.awt.event.*; class game0503 extends Frame{ int lightx,lighty; int x,y; public static void main(String [] args) { Frame f=new game0503(); f.setTitle("game0503"); f.setSize(700,700); f.setBackground(Color.blue); f.setVisible(true); } game0503(){ lightx=300; lighty=300; x=100; y=200; System.out.println(met(x,y,lightx,lighty)); addWindowListener(new stopwin()); } class stopwin extends WindowAdapter{ public void windowClosing(WindowEvent we){System.exit(0);} } public void paint(Graphics g){ g.drawLine(x,y,100,300); } double met(int x,int y,int ligtx,int lighty){ double e; e=(x-lightx)*(x-lightx); e=e+(y-lighty)*(y-lighty); e=Math.sqrt(e); return e; } }
https://w.atwiki.jp/shisaku0017/pages/79.html
JavaScriptに対応しているフリーウェア一覧 AjaxMGraph Canvas 3D Graph Canvas Pie Chart with Tooltips Chart Animation Script Chart Director Emprise JavaScript Charts Flot Flotr Graph Gear HTML-Graphs JS charts JavaScript Chart JavaScript Graph Plotting Tool LT Diagram Builder MooChart Pie Graph PlotKit ProtoChart Raphaël Timeplot TufteGraph fgCharting Plugin for jQuery jQuery Sparklines jqPlot 登録タグ グラフ出力形式 仕様 対応言語
https://w.atwiki.jp/marauders75make/pages/76.html
Impact Bomb 画像 概要 説明 カタログスペック 発射機構 使用弾薬 装填数 ダメージ 反動 連射速度 完品状態の売却額 セミオート x x x x 5 $ 補足情報 耐久値 リロード時間(部分的/ゼロ) 分解時の資源 x x 鉄くず(50%)&合成端材(25%)&ガラクタ(35%) 入手方法 主観的評価
https://w.atwiki.jp/ce00582/pages/3433.html
import java.awt.*; import java.awt.event.*; class game0223 extends Frame implements Runnable{ int x,y; public static void main(String [] args) { Frame f=new game0223(); f.setTitle("game0223"); f.setSize(700,700); f.setBackground(Color.yellow); f.setVisible(true); } game0223(){ 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(){ int t; int dx,xmode; int dy,ymode; int mode; int coin; int h; mode=0; x=60; xmode=0; y=40; ymode=0; t=0; while(t 200){ coin=seekcoin(); dx=0; if(xmode 0)xmode=xmode+1; if(xmode==4)xmode=0; h=0; if (coin==2)h=h+1; if (xmode==0)h=h+1; if(h==2)dx=1; h=0; if (coin==3)h=h+1; if (xmode==0)h=h+1; if(h==2)dx=-1; x=x+dx; h=0; if (coin==4)h=h+1; if (xmode==0)h=h+1; if(h==2)xmode=1; coin=seekcoin(); dy=0; if(ymode 0)ymode=ymode+1; if(ymode==4)ymode=0; h=0; if (coin==2)h=h+1; if (ymode==0)h=h+1; if(h==2)dy=1; h=0; if (coin==3)h=h+1; if (ymode==0)h=h+1; if(h==2)dy=-1; y=y+dy; h=0; if (coin==4)h=h+1; if (ymode==0)h=h+1; if(h==2)ymode=1; h=0; if(xmode==2)h=h+1; if(ymode==2)h=0; if(x-y 20)h=h+1; if(h==2)mode=1; h=0; if(ymode==2)h=h+1; if(xmode==2)h=0; if(x-y 20)h=h+1; if(h==2)mode=2; if(mode==1)t=1000; if(mode==2)t=1000; repaint(); try{ Thread.sleep(100); }catch(InterruptedException e){} t=t+1; } repaint(); } public void paint(Graphics g){ g.fillRect(5*x,600,50,50); g.fillRect(5*y,600,50,50); } public static int seekcoin(){ double p; int c; p=Math.random(); c=1; if(p 0.25)c=2; if(p 0.5)c=3; if(p 0.75)c=4; return c; } }