From: Sven G. <sgo...@ja...> - 2000-10-31 17:45:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 28 October 2000 01:12, you wrote: > Sven, > > I ran into a problem when using GL4Java on IBM's VisualAge for Jave > application and Borlands JBuilder. GL4Java extends upon the > sun.awt.windows package in the MSWin32, Win32, and X11 handle access > classes. This is causing problems in the Java IDEs (at least for me). > When running the application an error stating that Win32HandleAccess > cannot be found. Have you heard of anyone else having problems like > this? > > A developer around here said it is not a good idea to extend sun's > packages. As a workaround, I moved sun.awt.windows to > gl4java.sun.awt.windows. This seemed to work. I only needed to modify > GLContext and Win32HandleAccess (I didn't worry about > MSWin32HandleAccess). What do you think? > > Question. Even though this fix works in VisualAge, a console terminal > appears with the "problem in use() method" string printed whenever > glj.gljMakeCurrent fails (this occurs when the window containing the > GLAnimCanvas is selected after being hidden). This message does not > appear when the Java application is run normally. The GLAnimCanvas > still works, but this error message is printed out. Any ideas what > could cause gljMakeCurrent to fail? > > Thanks, > Brian Thanks for your advice ! The next upcoming version 2.5.0.0, will have the sun.awt.windows.* packages moved to gl4java.jau.awt.windows ! To access the new location of the packages, a little change is also made in gl4java.GLContext ! Thanxs a lot ! Yours Sven - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 ! PEACE ON MOTHER EARTH - and the middle east, etc., of course - NOW ! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE5/wUjHdOA30NoFAARAqczAJ9EnDZf4X3goND9qhMzzvd5gu2xjwCdHmRr MbSWri9XBFCqGzvl+wQLPzo= =qn0K -----END PGP SIGNATURE----- |