0% found this document useful (0 votes)
5 views2 pages

JavaFX Product Management Interface

The document is an XML file that defines the layout and components of a JavaFX GUI for managing products. It includes a top section with a label, text field and button to add products, and a center section with a list view to display existing products.

Uploaded by

Eya Cheikh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

JavaFX Product Management Interface

The document is an XML file that defines the layout and components of a JavaFX GUI for managing products. It includes a top section with a label, text field and button to add products, and a center section with a list view to display existing products.

Uploaded by

Eya Cheikh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

<?xml version="1.0" encoding="UTF-8"?

>

<?import [Link].*?>

<?import [Link].*?>

<?import [Link].*?>

<?import [Link].*?>

<?import [Link].*?>

<?import [Link]?>

<?import [Link]?>

<BorderPane xmlns:fx="[Link] fx:controller="[Link]" >

<top>

<HBox spacing="10">

<padding >

<Insets left="10" top="10" right="10" bottom="10" ></Insets>

</padding>

<children>

<Label text= "Produits"> </Label>

<TextField fx:id="textFieldNom"></TextField>

<Button text="Ajouter" onAction="#addProduits" ></Button>

</children>

</HBox>

</top>

<center>

<VBox spacing="10">

<padding>

<Insets left="10" top="10" right="10" bottom="10" ></Insets>

</padding>

<ListView fx:id="listView1">
<items>

<FXCollections fx:factory="observableArrayList">

<String fx:value="Ordinateur Dell"/>

<String fx:value="Imprimante Canon"/>

</FXCollections>

</items>

</ListView>

</VBox>

</center>

</BorderPane>

You might also like