This site requires JavaScript, please enable it in your browser!
Greenfoot back

danpost's Comments

Back to danpost's profile

@Roshaan123, oh yeah. Forgot about the lockout. File menu was added so that the Options menu could actually work on something. Nothing more. I wanted to show what code would look like having a menu selection (in Options) actually doing something (operating on File menu).
@Roshan123, please start a discussion thread and be more detailed in your question (provide any actual code being referenced as well).
@Roshan, it will work: getBackground().drawImage(new GreenfootImage(""+((char)8595), 20, Color.BLACK, new Color(0, 0, 0, 0)), 500, 500);
@Roshann123, not with that. Just use: ((char)8595) like: System.out.println(""+((char)8595)+"");
@Roshan123, okay -- it is a character glyph. I basically copy/pasted the code given and I get a arrow, pointing downward, in the terminal.
@Roshan123, if not gif, then what?
@Roshan123, I am quite sure it is not permanent. Your account will probably be back in order by Monday. That is, I would wait until the weekend is over before really getting concerned.
@Roshan123, the arrow is an image -- not text. You are using the wrong GreenfootImage constructor. Try: GreenfootImage bg = getBackground(); GreenfootImage arrow = new GreenfootImage("arrow.gif"); bg.drawImage(arrow, 500, 500);
@Roshan123, need example. What code did you use that always prints " ? " ?