On Fri, May 09, 2003 at 08:28:30PM +0300, Asko Soukka wrote:
Fri, 9 May 2003, Matti Katila kirjoitti:
On Fri, 9 May 2003, Asko Soukka wrote:
AFAIK, comparing strings isn't cheap either.
Heh, look at callgl code. We do that all the time and you shouldn't
care that much about it :) Still strings are much nicer than
constants, imho.
Ok, but I still see a difference.
With CalGL it's clear, which strings are valid, since GL is somehow
standardized. With mouse cursors we should select between AWT and
Xlib or create our own mouse cursor set. With awt.Cursor it's clear
even to possible new developers, what cursors are available.
Please, convince me that cursors in java.awt.Cursor (with custom
cursor) are not enough.
It's not that they're not enough, it's that I fear it will cause AWT
to be
initialized, which would be a really bad thing for us.
I'm not sure whether it does; if someone can convince me it doesn't,
no problem.