[問題] String to Color

看板java作者 (hsnugo)時間17年前 (2008/06/23 11:14), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/2 (看更多)
請問String 要怎麼轉到Color呢 我看到Color有getColor(string nm) 但是我把nm放red 或RED 都會傳回null API上是說 getColor(string)是 Finds a color in the system properties. 請問應該要怎麼改呢 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.69.86

06/23 12:03, , 1F
06/23 12:03, 1F
文章代碼(AID): #18NnKhAq (java)
討論串 (同標題文章)
文章代碼(AID): #18NnKhAq (java)