Hi,
this screenshot: http://sweethome3d.sourceforge.net/images/SweetHome3DLinux.png
shows SweetHome3D with a GTK-GUI. But when I start the application it just uses this ugly java-GUI (AWT/SWING?)
Is there a way to get the GTK-GUI?
[Note: this thread was started on sourceforge.net forums]
SWT?
This topic has been viewed 8733 times and has 6 replies
-
Manuel_Garcia_Sanchez
- Posts: 1
- Joined: Tue Mar 04, 2008 7:19 am
Re: SWT?
Maybe is your version of JRE, at jre 1.5 and 1.6 the GUI is more "native" as you see.
-
Randal_Lovelace
- Posts: 14
- Joined: Fri Mar 07, 2008 11:11 pm
Re: SWT?
A non-Java GUI would be better... and GTK is well used and much faster. Maybe a request could be put out for a person that knows how to work with GTK to have them recreate Sweet Home to use GTK (and as reference to the use of GTK - GIMP and Blender both use GTK - both also use Python Scripting.)
The use of GTK would also negate the need to manually edit colors as .mtl files could then be included with the .obj files (as the .mtl file is automatically created by most exporters)
The use of GTK would also negate the need to manually edit colors as .mtl files could then be included with the .obj files (as the .mtl file is automatically created by most exporters)
Re: SWT?
The MVC architecture of Sweet Home 3D allows to replace AWT/Swing by SWT without programming again all its model and its controller. Sweet Home 3D under SWT was even available in its early versions until 0.7 ; please read the end of my message http://forums.java.net/jive/thread.jspa?messageID=241470#241470 for more information.
But if a Swing application's look and feel isn't correct under some Linux distributions, you should rather complain to Sun than think rewrite it with SWT. Maybe the required changes aren't that big.
> The use of GTK would also negate the need to manually edit colors as .mtl files could then be included with the .obj files (as the .mtl file is automatically created by most exporters)
Lack of support for .mtl files has nothing to do with Java, as Java 3D supports them. Sweet Home 3D should support them in the next version.
But if a Swing application's look and feel isn't correct under some Linux distributions, you should rather complain to Sun than think rewrite it with SWT. Maybe the required changes aren't that big.
> The use of GTK would also negate the need to manually edit colors as .mtl files could then be included with the .obj files (as the .mtl file is automatically created by most exporters)
Lack of support for .mtl files has nothing to do with Java, as Java 3D supports them. Sweet Home 3D should support them in the next version.
Emmanuel Puybaret, Sweet Home 3D creator
Re: SWT?
Here are my (unfinished) efforts to bring SWT version back to life:
https://github.com/Vanuan/sweethome3d/tree/swt
https://github.com/Vanuan/sweethome3d/tree/swt
Who is online
Users browsing this forum: No registered users and 1 guest