11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package hello.dialog.dialogs;
26
27 import java.util.ArrayList;
28 import java.util.Arrays;
29 import java.util.List;
30
31 import com.sun.javafx.scene.control.skin.AccordionSkin;
32 import com.sun.javafx.scene.control.skin.resources.ControlResources;
33 import hello.HelloAccordion;
34 import javafx.beans.binding.DoubleBinding;
35 import javafx.collections.ListChangeListener;
36 import javafx.event.ActionEvent;
37 import javafx.event.EventHandler;
38 import javafx.geometry.Insets;
39 import javafx.geometry.Pos;
40 import javafx.geometry.VPos;
41 import javafx.scene.Node;
42 import javafx.scene.control.Button;
43 import javafx.scene.control.ButtonBar.ButtonData;
44 import javafx.scene.control.ButtonType;
45 import javafx.scene.control.Dialog;
46 import javafx.scene.control.DialogPane;
47 import javafx.scene.control.Label;
48 import javafx.scene.image.Image;
49 import javafx.scene.image.ImageView;
50 import javafx.scene.layout.GridPane;
51 import javafx.scene.layout.Priority;
|
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package hello.dialog.dialogs;
26
27 import java.util.ArrayList;
28 import java.util.Arrays;
29 import java.util.List;
30
31 import javafx.scene.control.skin.AccordionSkin;
32 import com.sun.javafx.scene.control.skin.resources.ControlResources;
33 import hello.HelloAccordion;
34 import javafx.beans.binding.DoubleBinding;
35 import javafx.collections.ListChangeListener;
36 import javafx.event.ActionEvent;
37 import javafx.event.EventHandler;
38 import javafx.geometry.Insets;
39 import javafx.geometry.Pos;
40 import javafx.geometry.VPos;
41 import javafx.scene.Node;
42 import javafx.scene.control.Button;
43 import javafx.scene.control.ButtonBar.ButtonData;
44 import javafx.scene.control.ButtonType;
45 import javafx.scene.control.Dialog;
46 import javafx.scene.control.DialogPane;
47 import javafx.scene.control.Label;
48 import javafx.scene.image.Image;
49 import javafx.scene.image.ImageView;
50 import javafx.scene.layout.GridPane;
51 import javafx.scene.layout.Priority;
|