Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3694 times and has 4 replies Next Thread
woopsie
Newbie




Joined: Jan 25, 2015
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
regarding key-properties.

On my very fist post, I would like to start by saying that Emmanuel Puybaret is an absolute LEGEND! What a fantastic application & resource for a newbie Java programmer to get lost in biggrin

I've been able to answer most of my questions using the forum and documentation, but can't seem to find anything related to the GRADE field in DefaultFurnitureCatalog.PropertyKey, what is the intention?

I would also like to know if modifying DefaultUserPreferences.properties, as explained here (http://sourceforge.net/p/sweethome3d/feature-requests/7/#fefa), can only be done through recompiling the application?

Many thanks to all the contributors...
-Woops
[Jan 25, 2015 7:52:26 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 5837
Status: Offline
Reply to this Post  Reply with Quote 
Re: regarding key-properties.

Welcome to Sweet Home 3D. Hope you won't regret your dive in its source code. wink

I programmed the grade property to display some kind of grade associated to each piece of furniture that would help users to select one 3D model according to its popularity. At the moment, it's not used in Sweet Home 3D.

I would also like to know if modifying DefaultUserPreferences.properties, can only be done through recompiling the application?
You can modify this text file directly in its jar file if you want.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jan 27, 2015 8:57:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
woopsie
Newbie




Joined: Jan 25, 2015
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: regarding key-properties.

Looking through your code has taught me a lot about how things should be done, so no chance of regret there...

I also had no idea that .jar was just a .zip file, good pointer - thank you for the reply sir!
[Jan 30, 2015 10:56:17 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
clanmills
Member
Member's Avatar

England
Joined: May 16, 2014
Post Count: 33
Status: Offline
Reply to this Post  Reply with Quote 
Re: regarding key-properties.

Woopsie: I agree with what you've said about the code. I think Emmanuel's code is very well written, beautifully laid out and easy to understand.

I think a jar file is actually a tar (and can be compressed like .tar.gz). The Java community have the habit to take other people's standards, implement them in Java and rename them with a J. So, ODBC, asp and tar become JDBC, jsp and jar. Presumably if there was a standard called funk, it be junk in Java land! biggrin
[Feb 2, 2015 3:15:21 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://clanmills.com [Link] Report threatening or abusive post: please login first  Go to top 
hal9000
Advanced Member
Member's Avatar

Spain
Joined: May 9, 2012
Post Count: 136
Status: Offline
Reply to this Post  Reply with Quote 
Re: regarding key-properties.

Clanmills, if you use an hexadecimal editor to look inside a .jar file, you'll find it starts with "PK", which means it's a ZIP file.
----------------------------------------
If a long walk every day were healthy, mailmen would be immortal. tongue
[Feb 2, 2015 12:09:32 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2017 eTeks - All rights reserved