SWT?

This topic has been viewed 8733 times and has 6 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Denis
Posts: 2
Joined: Sun Mar 02, 2008 11:20 pm

SWT?

Post by Denis »

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]
Manuel_Garcia_Sanchez
Posts: 1
Joined: Tue Mar 04, 2008 7:19 am

Re: SWT?

Post by Manuel_Garcia_Sanchez »

Maybe is your version of JRE, at jre 1.5 and 1.6 the GUI is more "native" as you see.


Denis
Posts: 2
Joined: Sun Mar 02, 2008 11:20 pm

Re: SWT?

Post by Denis »

But the JRE comes bundled with SweetHome3D and it is version 1.6.

I'm not only asking this because of the optics but because SweetHome3D is really slow on my computer and I was hoping that another gui would be a bit more faster.



Randal_Lovelace
Posts: 14
Joined: Fri Mar 07, 2008 11:11 pm

Re: SWT?

Post by Randal_Lovelace »

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)


User avatar
pencilart
Posts: 188
Joined: Tue Oct 02, 2007 4:37 pm

Re: SWT?

Post by pencilart »

If a GTK version were made, I hope that the requirements will consider old libraries too. I have GTK 2.8.3 and Python 2.4 and since the software community has moved to requiring GTK 2.10+, etc., I can't get any updates nor new apps.


User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: SWT?

Post by Puybaret »

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.



Emmanuel Puybaret, Sweet Home 3D creator
Vanuan
Posts: 1
Joined: Sun Jan 12, 2014 4:07 pm

Re: SWT?

Post by Vanuan »

Here are my (unfinished) efforts to bring SWT version back to life:

https://github.com/Vanuan/sweethome3d/tree/swt
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest