Re: [JAVA3D] swing paint problems

2003-09-26 Thread Florin Herinean
EMAIL PROTECTED] Subject: Re: [JAVA3D] swing paint problems But wouldn't be there a possibility to optimize it? I think when no key is pressed it is not necessary to wake up for every frame. On Fri, 26 Sep 2003 11:56:11 +0200, Florin Herinean <[EMAIL PROTECTED]> wrote: > For smooth

Re: [JAVA3D] swing paint problems

2003-09-26 Thread Michael Pfeiffer
ice. Florin -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Paul Brown Sent: Donnerstag, 25. September 2003 22:07 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] swing paint problems Apologies. The painting of the icons was a red herring. I now beli

Re: [JAVA3D] swing paint problems

2003-09-26 Thread Florin Herinean
For smooth movement. Otherwise, your scene will move in jumps, which is not nice. Florin -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Paul Brown Sent: Donnerstag, 25. September 2003 22:07 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] swing

Re: [JAVA3D] swing paint problems

2003-09-25 Thread Paul Brown
Apologies. The painting of the icons was a red herring. I now believe that my problems are the result of using the com.sun KeyNavigateBehaviour. From looking at the source code, it seems to wake on every frame. Consequently, it means the cpu is running at 100% and there isn't time to do anything e

Re: [JAVA3D] swing paint problems

2003-09-19 Thread Paul Brown
Hi Pasi, no I hadn't. I've tried it now though and I'm afraid it makes no difference. Thanks for your interest though, Cheers, -Paul === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "si

Re: [JAVA3D] swing paint problems

2003-09-18 Thread Pasi Paasiala
Title: RE: [JAVA3D] swing paint problems Have you tried the -Dsun.java2d.noddraw=true VM parameter? Pasi -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Brown Sent: 18. syyskuuta 2003 19:42 To: [EMAIL PROTECTED] Subject

Re: [JAVA3D] swing paint problems

2003-09-18 Thread Paul Brown
Hi Jeremy, thanks for your reply. I cannot call "invoke and wait" because I'm already on the Swing event despatching thread. For the same reason, "invokeLater" has no effect. I think the Swing event despatching thread must be competing with the Canvas3D renderer thread for cpu/graphics card time -

Re: [JAVA3D] swing paint problems

2003-09-18 Thread Jeremy Pitten
swing popups. The API doc gives a clear example implemention. - Original Message - From: "Paul Brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 2:44 AM Subject: [JAVA3D] swing paint problems > Hi, > I have a J3D application wh

Re: [JAVA3D] swing paint problems

2003-09-18 Thread Paul Brown
I've narrowed it down to a problem painting the greyed out icons of disabled JButtons. If there is a Canvas3D present, it slows down painting of the whole Swing panel if it contains disabled JButtons with icons. The two workarounds I've tried are: - disabling the buttons on component or window sho

[JAVA3D] swing paint problems

2003-09-17 Thread Paul Brown
Hi, I have a J3D application which uses Swing components in a control panel. The Swing components are on a number of JPanels; these are contained in a JPanel with a CardLayout so enabling the user to switch between the panels. The individual panels generally use GridBagLayouts and, typically, conta