As long as whatever UI toolkit you're using allows you to programmatically create the window (most/all of them do). All you need to do is load the properties/data of the window from your file, and create the windows based on that data.
The actual format that the data is stored in doesn't matter, as long as your program is able to read it and build windows from it.