|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Question about DefaultFurnitureCatalog.java » » » » Post: Re: Question about DefaultFurnitureCatalog.ja |
Print at Dec 20, 2025, 4:03:54 PM |
| Posted by Puybaret at Dec 15, 2007, 12:03:00 PM |
|
Re: Question about DefaultFurnitureCatalog.ja I tested it again under Windows XP this time with Java 1.6 & Eclipse 3.3 (but I don't see what it could change), and I still have no problem on my side. At application startup, com.eteks.sweethome3d.io.DefaultFurnitureCatalog constructor is called once from com.eteks.sweethome3d.io.FileUserPreferences constructor, and only one FileUserPreferences instance is created in com.eteks.sweethome3d.SweetHome3D class, which is unique also. So I guess, that in your configuration, SweetHome3D is in fact launched many times. Instead of adding a simple System.out.println call, could you program a call to Thread.dumpStack() and check if all the stack traces are the same (you can post them here if you want to). Does Sweet Home 3D launch is also slow when you run it with its default installer ? > For software running under windows, I copy the 4 j3d dll lib files to C:\WINDOWS\System32\ . > Is this the key to this problem , i don't know much about dll. I don't think this is a problem, but personally, I don't like to copy files and I prefer to run Sweet Home 3D from Eclipse by adding the following VM arguments: -Djava.library.path="${project_loc}\lib\windows" in the Arguments tab of the dialog displayed by Run > Open Run dialog... ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 20, 2025, 4:03:54 PM |