Joined: Jan 25, 2015
Post Count: 4
Status:
Offline
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
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?
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
Re: regarding key-properties.
Welcome to Sweet Home 3D. Hope you won't regret your dive in its source code.
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 creator
England
Joined: May 16, 2014
Post Count: 33
Status:
Offline
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!
Spain
Joined: May 9, 2012
Post Count: 154
Status:
Offline
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.