|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Room size in java code » » » » Post: Re: Room size in java code |
Print at Dec 20, 2025, 10:55:11 AM |
| Posted by anandunadkat at Jan 17, 2013, 10:18:51 AM |
|
Re: Room size in java code To make things easier to understand, i have pasted my code. if (validateHouse()){ // if both house and bedroom dimension are unknown then speciry the hardcoded values. if (cbUnknownHouseDimension.isSelected()){ bathroomLength = 1000f; bathroomBreadth = 600f; //bedroomLength = 250f; //bedroomBreadth = 200f; } So as you can see from the code, if the user doesnt know the measurements, it clicks on the checkbox and i want the house size to appear with default values. Hope you understand what i mean. Many thanks for your help!! |
|
|
Current timezone is GMT Dec 20, 2025, 10:55:11 AM |