Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.58 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.scene.web.*?>
  4. <?import java.lang.*?>
  5. <?import java.util.*?>
  6. <?import javafx.scene.control.*?>
  7. <?import javafx.scene.layout.*?>
  8. <?import javafx.scene.paint.*?>
  9. <?import javafx.scene.text.*?>
  10.  
  11. <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="638.0" prefWidth="873.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.Controller">
  12.    <children>
  13.       <MenuBar layoutY="2.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="2.0">
  14.         <menus>
  15.           <Menu mnemonicParsing="false" text="File">
  16.             <items>
  17.                   <MenuItem fx:id="save" mnemonicParsing="false" text="Save" />
  18.                   <MenuItem fx:id="open" mnemonicParsing="false" onAction="#onClickOpen" text="Open" />
  19.               <MenuItem fx:id="nuevo" mnemonicParsing="false" onAction="#onClickNew" text="New" />
  20.                   <MenuItem fx:id="saveas" mnemonicParsing="false" text="Save as" />
  21.                   <MenuItem fx:id="exit" mnemonicParsing="false" onAction="#onClickExit" text="Exit" />
  22.             </items>
  23.           </Menu>
  24.           <Menu mnemonicParsing="false" text="Edit">
  25.             <items>
  26.                   <MenuItem fx:id="paste" mnemonicParsing="false" onAction="#onClickPaste" text="Paste" />
  27.               <MenuItem fx:id="cut" mnemonicParsing="false" onAction="#onClickCut" text="Cut" />
  28.                   <MenuItem fx:id="copy" mnemonicParsing="false" onAction="#OnClickCopy" text="Copy" />
  29.             </items>
  30.           </Menu>
  31.           <Menu mnemonicParsing="false" text="Help">
  32.             <items>
  33.               <MenuItem fx:id="about" mnemonicParsing="false" text="About" />
  34.             </items>
  35.           </Menu>
  36.         </menus>
  37.       </MenuBar>
  38.       <TabPane layoutX="16.0" layoutY="21.0" prefHeight="200.0" prefWidth="200.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="4.0" AnchorPane.leftAnchor="16.0" AnchorPane.rightAnchor="-16.0" AnchorPane.topAnchor="21.0" />
  39.       <VBox fx:id="VBoxText" prefHeight="230.0" prefWidth="703.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="26.0">
  40.          <children>
  41.             <VBox prefHeight="230.0" prefWidth="703.0" VBox.vgrow="ALWAYS">
  42.                <children>
  43.                   <TextArea fx:id="texteditor" prefHeight="200.0" prefWidth="200.0" />
  44.                </children>
  45.             </VBox>
  46.          </children>
  47.       </VBox>
  48.    </children>
  49. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement