Hey guys! Whats up? :) Ive been getting some weird error messages - TopicsExpress



          

Hey guys! Whats up? :) Ive been getting some weird error messages in pset4, which I would have already finished if not for them. Heres the copy-pasted error clang shouts at me: acm.util.ErrorException: decodeColor: Colors must have 6 or 8 hexadecimal digits at acm.util.JTFTools.decodeColor(JTFTools.java:366) at stanford.spl.GObject_setColor.execute(JBECommand.java:906) at stanford.spl.JavaBackEndmandLoop(JavaBackEnd.java:625) at stanford.spl.JavaBackEnd.run(JavaBackEnd.java:164) at stanford.spl.JavaBackEnd.main(JavaBackEnd.java:136) Unexpected error: decodeColor: Colors must have 6 or 8 hexadecimal digits ... Ive looked over my setColor code and I swear it fits the documentation just right. Just in case, here are all the instances where I use setColor: 1) char* colors[] = { Red, Blue, Green, Cyan, Black, Magenta, Orange, Dark_gray, Pink, Gray }; setColor(brick, colors[i % 10]); 2) setColor(ball, Dark Gray); 3) setColor(paddle, Black); 4) setColor(lifecount, Red); Please note that Ive tried removing these individual instances of my code and re-compiling, but the ONLY time I didnt receive that weird Java error... Was when I didnt use any of this code at all! Can someone tell me whats going on?
Posted on: Fri, 28 Mar 2014 03:31:10 +0000

Trending Topics



Recently Viewed Topics




© 2015