Print at Jun 17, 2019 6:01:14 AM
Posts: 57   Pages: 6   [ Previous Page | 1 2 3 4 5 6 ]
View all posts in this thread on one page
Posted by brill at Mar 11, 2010 1:22:56 PM
Re: Sweet Home 3D 2.3
Hello Puybaret,

detaching now works but reattaching wount:

Java Web Start 1.6.0_15
Verwendung der JRE-Version 1.6.0_15-b03 Java HotSpot(TM) Client

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
at java.awt.Component.checkGD(
at java.awt.Container.checkGD(
at java.awt.Container.checkGD(
at java.awt.Container.addImpl(
at javax.swing.JSplitPane.addImpl(
at java.awt.Container.add(
at javax.swing.JSplitPane.setRightComponent(
at com.eteks.sweethome3d.swing.HomePane.attachView(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController.attachView(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane$2.actionPerformed(Unknown Source)
at com.eteks.sweethome3d.swing.ResourceAction$AbstractDecoratedAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(
at javax.swing.AbstractButton$Handler.actionPerformed(
at javax.swing.DefaultButtonModel.fireActionPerformed(
at javax.swing.DefaultButtonModel.setPressed(
at javax.swing.AbstractButton.doClick(
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
at java.awt.AWTEventMulticaster.mouseReleased(
at java.awt.Component.processMouseEvent(
at javax.swing.JComponent.processMouseEvent(
at java.awt.Component.processEvent(
at java.awt.Container.processEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.LightweightDispatcher.retargetMouseEvent(
at java.awt.LightweightDispatcher.processMouseEvent(
at java.awt.LightweightDispatcher.dispatchEvent(
at java.awt.Container.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

Posted by Puybaret at Mar 11, 2010 2:25:12 PM
Re: Sweet Home 3D 2.3
Hello brill,

I don't have two screens so it's impossible for me to test the detach/attach feature in that kind of graphics environment. I rely on you to test it (any other volunteers ?).

From what I understand, your two screens are different and / or use two video cards, am I right?

I'd like you to test this:
- display the main window only on the main screen and test if detaching 3D view works,
- display the main window on the main screen but enlarge it in such a way the 3D view is displayed on the other screen, then test again if detaching 3D view works,
- test whether attaching the 3D view back works when the detached 3D view is on the same screen as the main window or not.

Thank you for your help. smile
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Puybaret at Mar 11, 2010 6:32:18 PM
Re: Sweet Home 3D 2.3
Thank you for your stack trace, but miserably, I don't think that it's related to the video generator.
Today, I created a 100 MB video at max resolution under Mac OS X then under Windows XP with 512 MB of memory (it's a "virtual" PC under Parallels Desktop). It took much more than 4 hours and there was no problem.
Maybe some images of your video can't be rendered because of this bug. sad
Does it fail also with other home files?
Emmanuel Puybaret, Sweet Home 3D developer

Posted by Puybaret at Mar 11, 2010 7:01:59 PM
Re: Sweet Home 3D 2.3
I just released version 2.3 Beta 19 with languages updates (Spanish and German mainly) and finally an additional feature that should help any contributor to translate the program and then propose to other users an easy way to install his translation file with just a double-click.

I'll create a translator's guide in the coming weeks that will give full details.
Meanwhile, you can already test this feature with the Traditional Chinese translation file created last year by Jarod Yang in this Feature Request. Download it, change its extension by sh3l (Sweet Home 3D language library) and double-click on it. This will launch Sweet Home 3D, copy the SH3L file in the languages subdirectory parallel to furniture one, and select immediately the language it contains in the user interface. How could you it be simpler? wink
Miserably, the file associations with a Java program is still buggy under Linux, and this may not work under this system. If it doesn't work, you'll have to copy the sh3l file to its destination folder by hand:
- under Windows, this folder is C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D\languages,
- under Mac OS X, it's the subfolder Library/Application Support/eTeks/Sweet Home 3D/languages of your user folder,
- under Linux and other Unix, it's the subfolder .eteks/sweethome3d/languages of your user folder.

I'll probably add in a future version a + button beside the Language combo box of the Preferences pane to handle nicely this problem.

[April 10, 2010] I published today the translation guide . smile
Emmanuel Puybaret, Sweet Home 3D developer

Posted by ramitix at Mar 18, 2010 9:18:13 PM
Re: Sweet Home 3D 2.3
can u make it easy to rename the category ,delete it, make subcategory ,delete items after importing it

Posted by brill at Mar 19, 2010 6:52:26 AM
Re: Sweet Home 3D 2.3
Hi Puybaret,

it attaching the 3D View again to the main view won't work under any of the scenario you suggested.

I have an multi-monitor setup with one card (Intel GMA3000)

I googled for the error message and found some hits.

maybe this will help.

Cheers Brill

Posted by Puybaret at Mar 21, 2010 8:44:39 PM
Re: Sweet Home 3D 2.3
Thank you Brill.
As I'm not sure how many users have the same problems as you, I chose to release the version 2.3 today. This may help to get more feedback about detached 3D view and give me more time to investigate your problem until next version.
Emmanuel Puybaret, Sweet Home 3D developer

Posts: 57   Pages: 6   [ Previous Page | 1 2 3 4 5 6 ]