source: java/installer2/src/net/oni2/aeinstaller/gui/reporter/ReporterDialog.yml@ 1175

Last change on this file since 1175 was 886, checked in by alloc, 11 years ago

AEI2.16:

  • Fixes #61
  • Fixes #62
  • Adds help request dialog
File size: 1.2 KB
Line 
1JDialog:
2 name: frame
3 title: frame.title
4 size: packed
5 locationRelativeTo: null
6 defaultCloseOperation: disposeOnClose
7 iconImage: img.ae
8 modalityType: applicationModal
9 minimumSize: 600x500
10 content:
11 - JButton(name=btnOk, text=btnOk, onAction=[$validate,send,dispose])
12 - JButton(name=btnCancel, text=btnCancel, onAction=[dispose])
13 - HTMLLinkLabel(name=lblInfo)
14 - JLabel(name=lblMail, text=lblMail)
15 - JTextField(name=txtMail)
16 - JLabel(name=lblMessage, text=lblMessage)
17 - JScrollPane(name=scrollMessage, vScrollBar=always, hScrollBar=asNeeded):
18 JTextArea(name=txtMessage)
19 - HTMLLinkLabel(name=lblFiles)
20 - JCheckBox(name=chkGetCopy, text=chkGetCopy)
21 - MigLayout: |
22 [min] [grow]
23 lblInfo+* [min]
24 lblMail txtMail [min]
25 ^lblMessage scrollMessage [grow]
26 chkGetCopy+* [min]
27 lblFiles+* [min]
28 >btnOk+*=1,btnCancel=1 [min]
29
30validate:
31 - txtMail.text: {label: lblMail, email: true, mandatory: true}
32 - txtMessage.text: {label: lblMessage, mandatory: true, minLength: 20}
Note: See TracBrowser for help on using the repository browser.