JFDML JFormDesigner: "5.2.0.0.54" Java: "1.6.0_51" encoding: "UTF-8"

new FormModel {
	contentType: "form/swing"
	root: new FormRoot {
		add( new FormWindow( "javax.swing.JDialog", new FormLayoutManager( class java.awt.BorderLayout ) ) {
			name: "this"
			add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class java.awt.BorderLayout ) ) {
				name: "dialogPane"
				"border": new javax.swing.border.EmptyBorder( 12, 12, 12, 12 )
				"preferredSize": new java.awt.Dimension( 367, 550 )
				add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
					"axis": 1
				} ) {
					name: "contentPanel"
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel16"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label16"
							"text": "Subprotocol:"
							"horizontalAlignment": 2
							"maximumSize": &Dimension0 new java.awt.Dimension( 80, 16 )
						} )
						add( new FormComponent( "javax.swing.JComboBox" ) {
							name: "DBSubprotocol"
							"maximumSize": &Dimension1 new java.awt.Dimension( 250, 28 )
							"preferredSize": &Dimension2 new java.awt.Dimension( 250, 28 )
							"model": new javax.swing.DefaultComboBoxModel {
								selectedItem: "mysql"
								addElement( "mysql" )
								addElement( "sqlite" )
							}
							addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "tableNameActionPerformed", true ) )
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel4"
						"maximumSize": new java.awt.Dimension( 330, 28 )
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label4"
							"text": "Name:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "DBName"
							"editable": true
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel1"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label1"
							"text": "Host:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "DBHost"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
							"toolTipText": "my.awesomedb.com"
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel6"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label6"
							"text": "Path:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "DBPath"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
							"toolTipText": "myfolder"
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel5"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label5"
							"text": "Port (optional):"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "port"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
							"toolTipText": "my.awesomedb.com"
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel2"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label2"
							"text": "Username:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
							"minimumSize": &Dimension3 new java.awt.Dimension( 66, 16 )
							"preferredSize": &Dimension4 new java.awt.Dimension( 80, 16 )
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "username"
							"maximumSize": &Dimension5 new java.awt.Dimension( 150, 28 )
							"preferredSize": &Dimension6 new java.awt.Dimension( 150, 28 )
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel3"
						"maximumSize": new java.awt.Dimension( 400, 28 )
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label3"
							"text": "Password (opt.):"
							"maximumSize": new java.awt.Dimension( 120, 16 )
							"minimumSize": #Dimension3
							"preferredSize": #Dimension4
							"horizontalAlignment": 2
						} )
						add( new FormComponent( "javax.swing.JPasswordField" ) {
							name: "password"
							"maximumSize": #Dimension5
							"preferredSize": #Dimension6
							"enabled": false
						} )
						add( new FormComponent( "javax.swing.JCheckBox" ) {
							name: "checkBox1"
							"text": "Save"
						} )
					} )
					add( new FormComponent( "javax.swing.JSeparator" ) {
						name: "separator1"
						"preferredSize": &Dimension7 new java.awt.Dimension( 0, 1 )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel15"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label15"
							"text": "New Table Name:"
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "newTableNameField"
							"toolTipText": "Name for new table"
							"maximumSize": new java.awt.Dimension( 250, 28 )
						} )
						add( new FormComponent( "javax.swing.JButton" ) {
							name: "addNewTableButton"
							"text": "Add"
							addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "addNewTableButtonActionPerformed", true ) )
						} )
					} )
					add( new FormComponent( "javax.swing.JSeparator" ) {
						name: "separator2"
						"preferredSize": #Dimension7
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel7"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label7"
							"text": "Table Name:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JComboBox" ) {
							name: "tableName"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
							addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "tableNameActionPerformed", true ) )
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel8"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label8"
							"text": "Format:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JComboBox" ) {
							name: "dataType"
							"maximumSize": new java.awt.Dimension( 250, 28 )
							"minimumSize": new java.awt.Dimension( 96, 28 )
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel9"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label9"
							"text": "Chromosome Column Name:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "chromField"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel10"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label10"
							"text": "Position Start Column Name:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "posStartField"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel13"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label13"
							"text": "Position End Column Name:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "posEndField"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel11"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label11"
							"text": "Data start column index:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "startColField"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
							"toolTipText": "Starting column index from which to read data (1-based)"
							"text": "1"
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel12"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label12"
							"text": "Data end column index:"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "endColField"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
							"toolTipText": "Last column (1-based, inclusive end) from which to read data"
							"text": "2147483646"
						} )
					} )
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class javax.swing.BoxLayout ) {
						"axis": 0
					} ) {
						name: "panel14"
						add( new FormComponent( "javax.swing.JLabel" ) {
							name: "label14"
							"text": "Bin column Name (opt.):"
							"horizontalAlignment": 2
							"maximumSize": #Dimension0
						} )
						add( new FormComponent( "javax.swing.JTextField" ) {
							name: "binColField"
							"maximumSize": #Dimension1
							"preferredSize": #Dimension2
							"toolTipText": "Some databases use binning to speed up querying"
						} )
					} )
				}, new FormLayoutConstraints( class java.lang.String ) {
					"value": "Center"
				} )
				add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class java.awt.GridBagLayout ) {
					"$columnSpecs": "0:1.0, 80, 80"
					"$rowSpecs": "0"
					"$hGap": 5
					"$vGap": 5
				} ) {
					name: "buttonBar"
					"border": new javax.swing.border.EmptyBorder( 12, 0, 0, 0 )
					add( new FormComponent( "javax.swing.JButton" ) {
						name: "saveButton"
						"text": "Save Profile"
						addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "saveButtonActionPerformed", true ) )
					}, new FormLayoutConstraints( class com.jformdesigner.runtime.GridBagConstraintsEx ) )
					add( new FormComponent( "javax.swing.JButton" ) {
						name: "okButton"
						"text": "Load Data"
						"visible": false
					}, new FormLayoutConstraints( class com.jformdesigner.runtime.GridBagConstraintsEx ) {
						"gridx": 1
					} )
					add( new FormComponent( "javax.swing.JButton" ) {
						name: "cancelButton"
						"text": "Cancel"
						addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "cancelButtonActionPerformed", true ) )
					}, new FormLayoutConstraints( class com.jformdesigner.runtime.GridBagConstraintsEx ) {
						"gridx": 2
					} )
				}, new FormLayoutConstraints( class java.lang.String ) {
					"value": "South"
				} )
			}, new FormLayoutConstraints( class java.lang.String ) {
				"value": "Center"
			} )
		}, new FormLayoutConstraints( null ) {
			"path": new java.awt.Point( 0, 0 )
			"size": new java.awt.Dimension( 400, 560 )
		} )
	}
}
