How do I store an object in a way that I can use it even in a second execution of the program?
<p>I am making program in Java in which I am making <code>Dialog box</code>, <code>button</code>, <code>checkbox</code>, etc. SWT widgets. </p>

<p>Now my problem is, I want like if in one execution <code>button</code> is made and in second execution <code>checkbox</code> is made then they both should display in one box. 
So I need to store that box object. </p>

<p>How can I do that?</p>
