hey this is my fxml: <?xml version="1.0" encoding="UTF-8"?> <?import…
- User
hey this is my fxml:
<VBox prefHeight="642.0" prefWidth="666.0" spacing="10.0" styleClass="info-section"> <children> <Label styleClass="section-header" text="Insurance Information"> <graphic> <ImageView fitHeight="45.0" fitWidth="36.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/insuranceInformation.png" /> </image> </ImageView> </graphic> </Label> <HBox spacing="10.0"> <children> <ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/insuranceNumber.png" /> </image> </ImageView> <TextField prefHeight="34.0" prefWidth="506.0" promptText="Insurance co" /> </children> </HBox> <HBox spacing="10.0"> <children> <ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/policyHolder.png" /> </image> </ImageView> <TextField prefHeight="34.0" prefWidth="506.0" promptText="Policy Holder" /> </children> </HBox> <HBox spacing="10.0"> <children> <ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/policyNumber.png" /> </image> </ImageView> <TextField prefHeight="34.0" prefWidth="506.0" promptText="Policy No" /> </children> </HBox> <HBox spacing="10.0"> <children> <ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/startDate.png" /> </image> </ImageView> <DatePicker prefHeight="50.0" prefWidth="506.0" promptText="Start Date" /> </children> </HBox> <HBox spacing="10.0"> <children> <ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/endDate.png" /> </image> </ImageView> <DatePicker prefHeight="50.0" prefWidth="506.0" promptText="End Date" /> </children> </HBox> <HBox spacing="10.0"> <children> <ImageView fitHeight="40.0" fitWidth="40.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/notice.png" /> </image> </ImageView> <Label prefHeight="34.0" prefWidth="350.0" styleClass="notice-label" text="Notice" /> </children> </HBox> <HBox spacing="10.0"> <children> <ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/moreInfo.png" /> </image> </ImageView> <TextField prefHeight="34.0" prefWidth="506.0" promptText="More Info" /> </children> </HBox> <HBox spacing="10.0"> <children> <ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/referral.png" /> </image> </ImageView> <ComboBox prefHeight="44.0" prefWidth="506.0" promptText="Referral" /> </children> </HBox> </children> <HBox alignment="CENTER" spacing="10.0"> <Button prefHeight="36.0" prefWidth="133.0" styleClass="scan-button" text="Scan File"> <graphic> <ImageView fitHeight="22.0" fitWidth="31.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/scanFile.png" /> </image> </ImageView> </graphic> </Button> </HBox> </VBox> </HBox> <Button layoutX="378.0" layoutY="582.0" prefHeight="37.0" prefWidth="181.0" styleClass="save-button" text="Save New File"> <graphic> <ImageView fitHeight="21.0" fitWidth="29.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../../../Icons/saveFile.png" /> </image> </ImageView> </graphic> </Button> </Pane> - Assistant
- User
labels doesn't appears make them appear and perfectly appealing and give me the updated file <3
- Assistant
- User
no make the labels between icons and fields , also make the all the fields same size and adjust the size of boxes to make all the data appears
- Assistant
- User
- Assistant
- User
perfect , now prepare the java controller for this fxml for me , all the text fields and comboboxes and buttons , make thier functions ready by printing thier content : package com.example.clinic.userandmanager;
public class AddFileController { }
- Assistant
- User
dude , I didn't mean so , I meant prepare the all the functions required for this componants and add the handlers of them in fxml then let me test the run
- Assistant
- User
perfect now there are fields like dob gender Referall and nationality that doesn;t have values , add values to them for me , add values as most as u can
- Assistant