[java-gnome-hackers] add prefix to Window
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2002-08-17 15:58:23
|
hi, After reading previous emails, I agree that it is a bad idea to have the prefixes on the class names. The previous example of colour wouldn't be that important as the user is unlikely to import both awt and j-g packages. However, we do have a serious name space conflict with gtk and gdk Window. I have been working on example apps and it is not ideal to have to write the package name in full (this will affect *all* non-gnome apps) org.gno.gtk.Window window =3D new org.gnu.gtk.Window(GtkWindowType.TOPLEVEL); I think it might be a good idea to add a prefix to these particular classes.=20 As far as I can see, no other classes are conflicting.=20 --=20 +----------------------------------------------+ | Mark Howard cam.ac.uk mh344@ | | http://www.tildemh.com tildemh.com mh@ | +----------------------------------------------+ |