Re: [問題] DDR程式架構

看板java作者 (骨頭)時間19年前 (2007/03/14 12:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/8 (看更多)
※ 引述《maxisam (偽.強者)》之銘言: : ※ 引述《TonyQ (骨頭)》之銘言: : : you got it, : : 應該說 把你要draw的目標元件扔進去做參考 : 這樣做可以 有跑出來 不過 為什麼之前那樣不行呢 @@? : 我以前有這樣做過 不過 我覺得這樣好像有點物件亂扯的感覺 : 感覺很沒有結構 :( 是我搞錯了嗎 @@" 我剛剛找不到參考資料,現在翻到了。 貼上來參考 http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics.html#dispose() Graphics objects which are provided as arguments to the paint and update methods of components are automatically released by the system when those methods return. For efficiency, programmers should call dispose when finished using a Graphics object only if it was created directly from a component or another Graphics object. -- String temp="relax"; | Life just like programing while(buringlife) String.forgot(temp); | to be right or wrong while(sleeping) brain.setMemoryOut(); | need not to say stack.push(life.running); | the complier will stack.push(scouting.buck()); | answer your life stack.push(bowling.practice()); | Bone everything -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.134.27.68
文章代碼(AID): #15ztGTGP (java)
討論串 (同標題文章)
文章代碼(AID): #15ztGTGP (java)