edu.uvm.ccts.common.ui.ConfirmDialog.jfd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ccts-common Show documentation
Show all versions of ccts-common Show documentation
A library of useful generic objects and tools consolidated here to simplify all UVM CCTS projects
JFDML JFormDesigner: "5.2.0.0.109" Java: "1.6.0_65" 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"
"title": "Select a Response"
"modal": true
"minimumSize": new java.awt.Dimension( 350, 175 )
"$sizePolicy": 1
"defaultCloseOperation": 0
"resizable": false
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class java.awt.BorderLayout ) ) {
name: "dialogPane"
"border": new javax.swing.border.EmptyBorder( 12, 12, 12, 12 )
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class org.jdesktop.layout.GroupLayout ) {
"$horizontalGroup": "par l {seq l {space :::p, comp lblIcon:::p:60:p, space s:::p, comp lblMessage::::211:x, space :::p}}"
"$verticalGroup": "par l {seq l {space :::p, par l {comp lblMessage:::::x, seq {comp lblIcon:::p:60:p, space :0:0:x}}, space :::p}}"
} ) {
name: "contentPanel"
add( new FormComponent( "javax.swing.JLabel" ) {
name: "lblIcon"
"text": "icon"
"icon": sfield com.jformdesigner.model.FormObject NULL_VALUE
"preferredSize": new java.awt.Dimension( 50, 50 )
} )
add( new FormComponent( "javax.swing.JLabel" ) {
name: "lblMessage"
"text": "text"
"verticalAlignment": 1
} )
}, 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: "noButton"
"text": "No"
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "noButtonActionPerformed", false ) )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.GridBagConstraintsEx ) {
"gridx": 1
"gridy": 0
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "yesButton"
"text": "Yes"
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "yesButtonActionPerformed", false ) )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.GridBagConstraintsEx ) {
"gridx": 2
"gridy": 0
} )
}, new FormLayoutConstraints( class java.lang.String ) {
"value": "South"
} )
}, new FormLayoutConstraints( class java.lang.String ) {
"value": "Center"
} )
}, new FormLayoutConstraints( null ) {
"location": new java.awt.Point( 0, 0 )
"size": new java.awt.Dimension( 355, 180 )
} )
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy