|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: regarding key-properties. |
|
| Print at Dec 16, 2025, 9:33:41 AM | View all posts in this thread on one page |
| Posted by woopsie at Jan 25, 2015, 7:52:26 AM |
|
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? 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 |
| Posted by Puybaret at Jan 27, 2015, 8:57:07 AM |
|
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 |
| Posted by woopsie at Jan 30, 2015, 10:56:17 PM |
|
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! |
| Posted by clanmills at Feb 2, 2015, 3:15:21 AM |
|
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! ![]() |
| Posted by hal9000 at Feb 2, 2015, 12:09:32 PM |
|
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. ![]() |
|
|
Current timezone is GMT Dec 16, 2025, 9:33:41 AM |