批踢踢實業坊
›
看板
java
關於我們
聯絡資訊
返回看板
作者
hsnucsc (hsnugo)
站內
java
標題
[問題] String to Color
時間
Mon Jun 23 11:14:50 2008
請問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
推
cgkm
:
http://0rz.tw/d44it
06/23 12:03