gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] Third, PEG cursors--humppake: Changing mouse cursor


From: Benja Fallenstein
Subject: Re: [Gzz] Third, PEG cursors--humppake: Changing mouse cursor
Date: Sat, 10 May 2003 15:32:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030430 Debian/1.3-5

Tuomas Lukka wrote:
On Sat, May 10, 2003 at 12:51:05PM +0200, Benja Fallenstein wrote:

Tuomas Lukka wrote:

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.

There is no reason for it to-- it's simply a wrapper around and int constant. Kaffe implements it that way, too.


What about jdk 1.4?

Do any other classes get loaded which might do a global awt init?

How should I know?

Do Rectangle, Dimension and Point load any other classes which might do a global awt init? How do you know?

-b






reply via email to

[Prev in Thread] Current Thread [Next in Thread]