作者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