Skip to content

Commit e46c6cc

Browse files
committed
Added ticket expiration countdown and some tweaks
1 parent bab7b1c commit e46c6cc

File tree

2 files changed

+94
-67
lines changed

2 files changed

+94
-67
lines changed

src/main/java/TicketAPI/TicketRequestDemo.form

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<Properties>
55
<Property name="defaultCloseOperation" type="int" value="3"/>
66
<Property name="title" type="java.lang.String" value="Ticket Request Demo"/>
7+
<Property name="resizable" type="boolean" value="false"/>
78
</Properties>
89
<SyntheticProperties>
910
<SyntheticProperty name="formSizePolicy" type="int" value="0"/>
@@ -33,36 +34,31 @@
3334
<Component id="jSeparator1" min="-2" pref="277" max="-2" attributes="0"/>
3435
<EmptySpace max="32767" attributes="0"/>
3536
</Group>
36-
<Group type="102" alignment="0" attributes="0">
37-
<EmptySpace max="-2" attributes="0"/>
37+
<Group type="102" attributes="0">
3838
<Group type="103" groupAlignment="0" attributes="0">
3939
<Group type="102" alignment="0" attributes="0">
40-
<EmptySpace min="-2" pref="121" max="-2" attributes="0"/>
41-
<Component id="btnRequest" min="-2" pref="156" max="-2" attributes="0"/>
42-
<EmptySpace min="-2" pref="107" max="-2" attributes="0"/>
43-
</Group>
44-
<Group type="102" alignment="0" attributes="0">
40+
<EmptySpace max="-2" attributes="0"/>
4541
<Group type="103" groupAlignment="0" attributes="0">
4642
<Component id="jLabel7" alignment="0" max="32767" attributes="0"/>
4743
<Component id="txtClientPassword" alignment="0" max="32767" attributes="0"/>
4844
<Group type="102" alignment="1" attributes="0">
49-
<Component id="txtClientCertificatePath" max="32767" attributes="0"/>
45+
<Component id="txtClientCertPath" max="32767" attributes="0"/>
5046
<EmptySpace max="-2" attributes="0"/>
5147
<Component id="btnClientBrowse" min="-2" pref="78" max="-2" attributes="0"/>
5248
</Group>
5349
<Group type="102" alignment="0" attributes="0">
5450
<Group type="103" groupAlignment="1" attributes="0">
5551
<Component id="jLabel8" alignment="0" max="32767" attributes="0"/>
56-
<Component id="txtRootCertificatePath" alignment="1" max="32767" attributes="0"/>
52+
<Component id="txtRootCertPath" alignment="1" max="32767" attributes="0"/>
5753
</Group>
5854
<EmptySpace max="-2" attributes="0"/>
5955
<Component id="btnRootBrowse" min="-2" pref="78" max="-2" attributes="0"/>
6056
</Group>
61-
<Component id="jLabel5" alignment="0" max="32767" attributes="0"/>
57+
<Component id="lblTicket" alignment="0" max="32767" attributes="0"/>
6258
<Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/>
6359
<Group type="102" alignment="0" attributes="0">
6460
<Group type="103" groupAlignment="0" max="-2" attributes="0">
65-
<Component id="txtHost" alignment="0" max="32767" attributes="0"/>
61+
<Component id="txtHostname" alignment="0" max="32767" attributes="0"/>
6662
<Component id="txtDirectory" alignment="0" max="32767" attributes="0"/>
6763
<Component id="jLabel1" alignment="0" max="32767" attributes="0"/>
6864
<Component id="jLabel4" alignment="0" min="-2" pref="183" max="-2" attributes="0"/>
@@ -76,15 +72,19 @@
7672
</Group>
7773
</Group>
7874
</Group>
75+
</Group>
76+
<Group type="102" alignment="0" attributes="0">
7977
<EmptySpace max="-2" attributes="0"/>
78+
<Component id="jLabel6" max="32767" attributes="0"/>
8079
</Group>
8180
</Group>
82-
</Group>
83-
<Group type="102" alignment="0" attributes="0">
84-
<EmptySpace max="-2" attributes="0"/>
85-
<Component id="jLabel6" max="32767" attributes="0"/>
8681
<EmptySpace max="-2" attributes="0"/>
8782
</Group>
83+
<Group type="102" alignment="1" attributes="0">
84+
<EmptySpace max="32767" attributes="0"/>
85+
<Component id="btnRequest" min="-2" pref="156" max="-2" attributes="0"/>
86+
<EmptySpace min="-2" pref="116" max="-2" attributes="0"/>
87+
</Group>
8888
</Group>
8989
</DimensionLayout>
9090
<DimensionLayout dim="1">
@@ -94,7 +94,7 @@
9494
<Component id="jLabel6" min="-2" max="-2" attributes="0"/>
9595
<EmptySpace max="-2" attributes="0"/>
9696
<Group type="103" groupAlignment="3" attributes="0">
97-
<Component id="txtClientCertificatePath" alignment="3" min="-2" max="-2" attributes="0"/>
97+
<Component id="txtClientCertPath" alignment="3" min="-2" max="-2" attributes="0"/>
9898
<Component id="btnClientBrowse" alignment="3" min="-2" max="-2" attributes="0"/>
9999
</Group>
100100
<EmptySpace type="unrelated" max="-2" attributes="0"/>
@@ -105,7 +105,7 @@
105105
<Component id="jLabel8" min="-2" max="-2" attributes="0"/>
106106
<EmptySpace max="-2" attributes="0"/>
107107
<Group type="103" groupAlignment="3" attributes="0">
108-
<Component id="txtRootCertificatePath" alignment="3" min="-2" max="-2" attributes="0"/>
108+
<Component id="txtRootCertPath" alignment="3" min="-2" max="-2" attributes="0"/>
109109
<Component id="btnRootBrowse" alignment="3" min="-2" max="-2" attributes="0"/>
110110
</Group>
111111
<EmptySpace min="-2" pref="45" max="-2" attributes="0"/>
@@ -120,7 +120,7 @@
120120
<Group type="102" alignment="0" attributes="0">
121121
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
122122
<EmptySpace max="-2" attributes="0"/>
123-
<Component id="txtHost" min="-2" max="-2" attributes="0"/>
123+
<Component id="txtHostname" min="-2" max="-2" attributes="0"/>
124124
</Group>
125125
</Group>
126126
<EmptySpace type="separate" max="-2" attributes="0"/>
@@ -137,7 +137,7 @@
137137
</Group>
138138
</Group>
139139
<EmptySpace type="unrelated" max="-2" attributes="0"/>
140-
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
140+
<Component id="lblTicket" min="-2" max="-2" attributes="0"/>
141141
<EmptySpace max="-2" attributes="0"/>
142142
<Component id="jScrollPane1" min="-2" max="-2" attributes="0"/>
143143
<EmptySpace max="-2" attributes="0"/>
@@ -163,9 +163,9 @@
163163
<Property name="text" type="java.lang.String" value="domain"/>
164164
</Properties>
165165
</Component>
166-
<Component class="javax.swing.JTextField" name="txtRootCertificatePath">
166+
<Component class="javax.swing.JTextField" name="txtRootCertPath">
167167
</Component>
168-
<Component class="javax.swing.JLabel" name="jLabel5">
168+
<Component class="javax.swing.JLabel" name="lblTicket">
169169
<Properties>
170170
<Property name="text" type="java.lang.String" value="Ticket:"/>
171171
</Properties>
@@ -200,14 +200,14 @@
200200
</Component>
201201
</SubComponents>
202202
</Container>
203-
<Component class="javax.swing.JTextField" name="txtHost">
203+
<Component class="javax.swing.JTextField" name="txtHostname">
204204
<Properties>
205205
<Property name="text" type="java.lang.String" value="qlikserver1.domain.local"/>
206206
</Properties>
207207
</Component>
208208
<Component class="javax.swing.JLabel" name="jLabel1">
209209
<Properties>
210-
<Property name="text" type="java.lang.String" value="Host:"/>
210+
<Property name="text" type="java.lang.String" value="Hostname:"/>
211211
</Properties>
212212
</Component>
213213
<Component class="javax.swing.JLabel" name="jLabel6">
@@ -220,7 +220,7 @@
220220
<Property name="text" type="java.lang.String" value="Virtual Proxy Prefix:"/>
221221
</Properties>
222222
</Component>
223-
<Component class="javax.swing.JTextField" name="txtClientCertificatePath">
223+
<Component class="javax.swing.JTextField" name="txtClientCertPath">
224224
</Component>
225225
<Component class="javax.swing.JTextField" name="txtVirtualProxy">
226226
</Component>

0 commit comments

Comments
 (0)