Untitled

                Never    
XML
       
<?xml version="1.0" encoding="UTF-8"?>

<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.DatePicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.text.Text?>

<AnchorPane id="AnchorPane" prefHeight="661.0" prefWidth="890.0" styleClass="mainFxmlClass" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="imoawin.controller.FXMLNuevoPedidoController">
     <stylesheets>
        <URL value="@fxmlnuevopedido.css" />
    </stylesheets>
   <children>
      <GridPane layoutX="25.0" layoutY="14.0" prefHeight="145.0" prefWidth="768.0" AnchorPane.leftAnchor="25.0" AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="14.0">
        <columnConstraints>
            <ColumnConstraints hgrow="SOMETIMES" maxWidth="201.0" minWidth="10.0" prefWidth="92.0" />
          <ColumnConstraints hgrow="SOMETIMES" maxWidth="314.0" minWidth="10.0" prefWidth="241.0" />
          <ColumnConstraints hgrow="SOMETIMES" maxWidth="211.0" minWidth="10.0" prefWidth="132.0" />
            <ColumnConstraints hgrow="SOMETIMES" maxWidth="300.0" minWidth="10.0" prefWidth="300.0" />
        </columnConstraints>
        <rowConstraints>
            <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
            <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
          <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
            <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />          
        </rowConstraints>
         <children>
            <Label text="%lb.Cliente" GridPane.rowIndex="2" />
            <Label text="%lb.Firma" GridPane.rowIndex="3" />
            <Label text="%lb.Representante" GridPane.columnIndex="2" GridPane.rowIndex="1" />
            <Label text="%lb.FechaE" GridPane.columnIndex="2" GridPane.rowIndex="3" />
            <Button id="btPlusLargo" fx:id="btNuevoP" alignment="CENTER_RIGHT" mnemonicParsing="false" onAction="#onClickNuevo" prefHeight="27.0" prefWidth="180.0" stylesheets="@botones.css" text="%bt.NuevoP" GridPane.columnIndex="1" GridPane.rowIndex="1" />
            <ComboBox fx:id="cbSerie" prefWidth="150.0" GridPane.rowIndex="1" />
            <ComboBox fx:id="cbCliente" prefHeight="25.0" prefWidth="205.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
            <ComboBox fx:id="cbFirma" prefHeight="25.0" prefWidth="204.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
            <ComboBox fx:id="cbPedido" onAction="#OnSelectedItem" prefHeight="25.0" prefWidth="204.0" promptText="%cb.Escoja" GridPane.columnIndex="1" GridPane.rowIndex="4" />
            <TextField fx:id="ctReferenciaC" prefHeight="25.0" prefWidth="222.0" GridPane.columnIndex="3" />
            <ComboBox fx:id="cbRepresentante" prefHeight="25.0" prefWidth="211.0" GridPane.columnIndex="3" GridPane.rowIndex="1" />
            <AnchorPane prefHeight="37.0" prefWidth="310.0" GridPane.columnIndex="3" GridPane.rowIndex="2">
               <children>
                  <DatePicker fx:id="dpFecha" layoutY="4.0" prefHeight="29.0" prefWidth="140.0" />
                  <Button id="btAdjuntar" fx:id="btAdjuntar" layoutX="152.0" layoutY="7.0" mnemonicParsing="false" prefHeight="20.0" prefWidth="134.0" stylesheets="@botones.css" text="%bt.AdjuntarD" />
               </children>
            </AnchorPane>
            <DatePicker fx:id="dpFechaEntrega" prefHeight="29.0" prefWidth="140.0" GridPane.columnIndex="3" GridPane.halignment="LEFT" GridPane.rowIndex="3">
               <GridPane.margin>
                  <Insets right="25.0" />
               </GridPane.margin>
            </DatePicker>
            <Label text="%lb.FechaP" GridPane.columnIndex="2" GridPane.rowIndex="2" />
            <Label prefHeight="17.0" prefWidth="96.0" text="%lb.SelPed" GridPane.rowIndex="4" />
            <Text strokeType="OUTSIDE" strokeWidth="0.0" text="%lb.ReferenciaC" GridPane.columnIndex="2" />
            <Text strokeType="OUTSIDE" strokeWidth="0.0" text="%lb.ReferenciaM" GridPane.columnIndex="2" GridPane.rowIndex="4" />
            <TextField fx:id="ctReferenciaM" prefHeight="25.0" prefWidth="222.0" GridPane.columnIndex="3" GridPane.rowIndex="4" />
            <Text fx:id="ctPedido" strokeType="OUTSIDE" strokeWidth="0.0" wrappingWidth="95.99999964237213" />
         </children>
      </GridPane>
      <TableView fx:id="lineasPedido" layoutX="25.0" layoutY="173.0" prefHeight="354.0" prefWidth="767.0" AnchorPane.bottomAnchor="134.0" AnchorPane.leftAnchor="25.0" AnchorPane.rightAnchor="26.0" AnchorPane.topAnchor="173.0">
        <columns>
          <TableColumn fx:id="clCArticulo" prefWidth="75.0" text="%lb.Codigo" />
          <TableColumn fx:id="clDescripcion" prefWidth="357.0" text="%lb.Descripcion" />
            <TableColumn fx:id="clCantidad" prefWidth="65.0" text="%lb.Cant" />
            <TableColumn fx:id="clCantFacturar" prefWidth="65.0" text="%lb.CantEnt" />
            <TableColumn fx:id="clCantEntregada" prefWidth="65.0" text="%lb.CantE" />
            <TableColumn fx:id="clPrecio" prefWidth="99.0" text="%lb.PrecioU" />
            <TableColumn fx:id="clDto" prefWidth="53.0" text="%lb.Dto" />
            <TableColumn fx:id="clDto2" prefWidth="52.0" text="%lb.Dto2" />
            <TableColumn fx:id="clDto3" prefWidth="48.0" text="%lb.Dto3" />
            <TableColumn fx:id="clTotal" prefWidth="89.0" text="%lb.Total" />
        </columns>
      </TableView>
      <Button id="btPrint" fx:id="btPrint" layoutX="28.0" layoutY="539.0" mnemonicParsing="false" onAction="#mostrarPedido" prefHeight="52.0" prefWidth="55.0" stylesheets="@botones.css" AnchorPane.bottomAnchor="70.0" AnchorPane.leftAnchor="28.0" />
      <TextField fx:id="ctDto" layoutX="307.0" layoutY="559.0" prefHeight="25.0" prefWidth="69.0" AnchorPane.bottomAnchor="77.0" AnchorPane.rightAnchor="514.0" />
      <TextField fx:id="ctPortes" layoutX="385.0" layoutY="559.0" prefHeight="25.0" prefWidth="69.0" AnchorPane.bottomAnchor="77.0" AnchorPane.rightAnchor="436.0" />
      <ComboBox fx:id="cbFormaP" layoutX="408.0" layoutY="486.0" prefWidth="150.0" AnchorPane.bottomAnchor="76.0" AnchorPane.rightAnchor="260.0" />
      <ComboBox fx:id="cbDireccion" layoutX="25.0" layoutY="620.0" prefWidth="150.0" AnchorPane.bottomAnchor="16.0" AnchorPane.leftAnchor="25.0" />
      <TextField fx:id="ctObservaciones" layoutX="185.0" layoutY="621.0" prefHeight="25.0" prefWidth="441.0" AnchorPane.bottomAnchor="15.0" AnchorPane.leftAnchor="185.0" />
      <Button id="btSave" fx:id="btGuardar" layoutX="694.0" layoutY="599.0" mnemonicParsing="false" onAction="#OnClickGuardar" prefHeight="52.0" prefWidth="52.0" stylesheets="@botones.css" text="%bt.Guardar" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="72.0" />
      <Button id="btTraspaso" fx:id="btFacturar" layoutX="701.0" layoutY="486.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="108.0" stylesheets="@botones.css" text="%bt.Facturar" textAlignment="CENTER" AnchorPane.bottomAnchor="76.0" AnchorPane.rightAnchor="9.0" />
      <Label layoutX="408.0" layoutY="463.0" text="%lb.FormaPx" AnchorPane.bottomAnchor="107.0" AnchorPane.rightAnchor="327.0" />
      <Label layoutX="569.0" layoutY="463.0" text="%lb.Totalx" AnchorPane.bottomAnchor="107.0" AnchorPane.rightAnchor="220.0" />
      <Button id="btCancel" fx:id="btCancela" layoutX="628.0" layoutY="599.0" mnemonicParsing="false" onAction="#OnClickCancel" prefHeight="52.0" prefWidth="52.0" stylesheets="@botones.css" text="%bt.Cancel" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="138.0" />
      <Button id="btVolverPeq" fx:id="btVolver" layoutX="752.0" layoutY="599.0" mnemonicParsing="false" onAction="#OnClickSalir" prefHeight="52.0" prefWidth="52.0" stylesheets="@botones.css" text="%bt.Volver" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="14.0" />
      <Label layoutX="25.0" layoutY="597.0" text="%lb.DireccionE" AnchorPane.bottomAnchor="47.0" AnchorPane.leftAnchor="25.0" />
      <Label layoutX="185.0" layoutY="598.0" text="%lb.Observaciones" AnchorPane.bottomAnchor="46.0" AnchorPane.leftAnchor="185.0" />
      <Text layoutX="307.0" layoutY="549.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%lb.Dto" AnchorPane.bottomAnchor="108.98828125" AnchorPane.rightAnchor="541.10546875" />
      <TextField fx:id="ctTotal" editable="false" layoutX="569.0" layoutY="484.0" prefHeight="29.0" prefWidth="121.0" promptText="Total" AnchorPane.bottomAnchor="74.0" AnchorPane.rightAnchor="128.0" />
      <Text layoutX="385.0" layoutY="549.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%lb.Portes" AnchorPane.bottomAnchor="108.0" AnchorPane.rightAnchor="449.259765625" />
      <Text fx:id="tSubtotal" layoutX="97.0" layoutY="572.0" strokeType="OUTSIDE" strokeWidth="0.0" text="b.imponible" textAlignment="CENTER" AnchorPane.bottomAnchor="85.0" AnchorPane.leftAnchor="97.0" />
      <Text fx:id="tIva" layoutX="207.0" layoutY="572.0" strokeType="OUTSIDE" strokeWidth="0.0" text="iva" textAlignment="CENTER" AnchorPane.bottomAnchor="85.0" AnchorPane.leftAnchor="207.0" />
      <Text layoutX="104.0" layoutY="549.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%lb.BImp" textAlignment="CENTER" AnchorPane.bottomAnchor="108.0" AnchorPane.leftAnchor="104.0" />
      <Text layoutX="197.0" layoutY="549.0" strokeType="OUTSIDE" strokeWidth="0.0" text="%lb.Iva" textAlignment="CENTER" AnchorPane.bottomAnchor="108.98828125" AnchorPane.leftAnchor="197.0" />
      <Button id="btPlusLargo" fx:id="btEntregaTodo" layoutX="773.0" layoutY="532.0" mnemonicParsing="false" onAction="#onClickAgregaTodo" prefHeight="25.0" prefWidth="150.0" stylesheets="@botones.css" text="%bt.AgregaTodo" textAlignment="RIGHT" AnchorPane.bottomAnchor="104.0" AnchorPane.rightAnchor="9.0" />
   </children>
</AnchorPane>

Raw Text