http://java.sun.com/docs/books/tutorial/2d/overview/rendering.html
:)
2010/5/4 Thomas Götz t...@richmountain.de:
Thanks for your input, Igor! Looks nice, but I'd also like to have that as a
rendered image, rather than plain text (security risk?).
-Tom
Igor Vaynberg wrote:
off the top
nino martinez wael schrieb:
http://java.sun.com/docs/books/tutorial/2d/overview/rendering.html
Well, tanks ;-)
I was hoping to find some ready-to-be-used library/components that
already does that ...
-Tom
-
To
Take a look at
http://wicket.apache.org/docs/1.4/org/apache/wicket/extensions/markup/html/captcha/CaptchaImageResource.html
You might need to override some of it, or make your own customized version
to get the text and look you want. Looks like a good starting point at
least.
On Thu, May 6,
Thanks for the pointer!
-Tom
Josh Glassman schrieb:
Take a look at
http://wicket.apache.org/docs/1.4/org/apache/wicket/extensions/markup/html/captcha/CaptchaImageResource.html
You might need to override some of it, or make your own customized version
to get the text and look you want.
I know it was a dry spirited answer.. But have a look at jcaptcha or
simplecaptcha.. Both are built around servlets as far as I can see,
but they might offer a question / image engine also (so you can use it
directly with wicket)..
regards Nino
2010/5/6 Thomas Götz t...@richmountain.de:
nino
Thanks for your input, Igor! Looks nice, but I'd also like to have that
as a rendered image, rather than plain text (security risk?).
-Tom
Igor Vaynberg wrote:
off the top of my head
-
To unsubscribe, e-mail:
Did anyone ever integrate some kind of math capture with Wicket (please
solve the following simple equation ...)? How would I do this, someone
got a code pointer for me?
-Tom
-
To unsubscribe, e-mail:
off the top of my head
class question { int lhs, int rhs, boolean plus;
void randomize() { lhs=math.random()*10, rhs=math.random()*10;
plus=math.random()0.5;}
string tostring() { return +lhs+ +((plus)?+:-)+ +rhs; }
boolean check(int answer) { if (plus) return answer==lhs+rhs else
return