Skip to content

Commit 38e658e

Browse files
committed
界面调整,完成内容设置逻辑
1 parent c9f48b9 commit 38e658e

File tree

6 files changed

+261
-92
lines changed

6 files changed

+261
-92
lines changed

jsonView.zip

320 KB
Binary file not shown.

src/main/java/com/longforus/apidebugger/ui/MainPanel.form

Lines changed: 89 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
<rowspec value="center:d:noGrow"/>
55
<rowspec value="center:max(d;4px):noGrow"/>
66
<rowspec value="top:4dlu:noGrow"/>
7-
<rowspec value="center:max(d;4px):noGrow"/>
8-
<rowspec value="top:4dlu:noGrow"/>
7+
<rowspec value="center:33px:noGrow"/>
98
<rowspec value="center:33px:noGrow"/>
109
<rowspec value="center:200px:noGrow"/>
11-
<rowspec value="top:4dlu:noGrow"/>
1210
<rowspec value="center:40px:noGrow"/>
11+
<rowspec value="top:4dlu:noGrow"/>
1312
<rowspec value="center:max(p;600px):grow"/>
1413
<rowspec value="center:max(d;4px):noGrow"/>
1514
<colspec value="fill:d:noGrow"/>
@@ -26,10 +25,11 @@
2625
<colspec value="left:4dlu:noGrow"/>
2726
<colspec value="fill:600px:grow"/>
2827
<constraints>
29-
<xy x="20" y="20" width="1375" height="1002"/>
28+
<xy x="20" y="20" width="1502" height="1002"/>
3029
</constraints>
3130
<properties>
3231
<name value="Api debugger"/>
32+
<preferredSize width="1341" height="980"/>
3333
</properties>
3434
<border type="empty">
3535
<size top="1" left="1" bottom="1" right="1"/>
@@ -64,7 +64,7 @@
6464
</component>
6565
<scrollpane id="13be7">
6666
<constraints>
67-
<grid row="6" column="0" row-span="1" col-span="11" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
67+
<grid row="5" column="0" row-span="1" col-span="11" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
6868
<forms defaultalign-horz="false" defaultalign-vert="false"/>
6969
</constraints>
7070
<properties/>
@@ -78,24 +78,9 @@
7878
</component>
7979
</children>
8080
</scrollpane>
81-
<scrollpane id="86e31">
82-
<constraints>
83-
<grid row="9" column="0" row-span="1" col-span="13" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
84-
<forms defaultalign-horz="false" defaultalign-vert="false"/>
85-
</constraints>
86-
<properties>
87-
<horizontalScrollBarPolicy value="31"/>
88-
</properties>
89-
<border type="none" title="Response"/>
90-
<children>
91-
<component id="61514" class="com.teamdev.jxbrowser.chromium.swing.BrowserView" binding="mBrowserView1" custom-create="true" default-binding="true">
92-
<constraints/>
93-
</component>
94-
</children>
95-
</scrollpane>
9681
<component id="8b0f0" class="javax.swing.JLabel" binding="lbStatus">
9782
<constraints>
98-
<grid row="10" column="0" row-span="1" col-span="11" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
83+
<grid row="9" column="0" row-span="1" col-span="11" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
9984
<forms/>
10085
</constraints>
10186
<properties>
@@ -112,7 +97,9 @@
11297
<children>
11398
<component id="c39d2" class="javax.swing.JTextPane" binding="mTpInfo">
11499
<constraints/>
115-
<properties/>
100+
<properties>
101+
<text value=""/>
102+
</properties>
116103
</component>
117104
</children>
118105
</scrollpane>
@@ -150,34 +137,16 @@
150137
</component>
151138
<component id="48771" class="javax.swing.JComboBox" binding="mCbApiUrl">
152139
<constraints>
153-
<grid row="3" column="2" row-span="1" col-span="7" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false"/>
140+
<grid row="3" column="2" row-span="1" col-span="5" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false"/>
154141
<forms/>
155142
</constraints>
156143
<properties>
157144
<editable value="true"/>
158145
</properties>
159146
</component>
160-
<component id="e47f" class="javax.swing.JButton" binding="btnDelApi">
161-
<constraints>
162-
<grid row="5" column="10" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
163-
<forms/>
164-
</constraints>
165-
<properties>
166-
<text value="Delete"/>
167-
</properties>
168-
</component>
169-
<component id="998ff" class="javax.swing.JButton" binding="mBtnSend">
170-
<constraints>
171-
<grid row="5" column="4" row-span="1" col-span="3" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
172-
<forms/>
173-
</constraints>
174-
<properties>
175-
<text value="Send"/>
176-
</properties>
177-
</component>
178147
<grid id="b83c2" layout-manager="FlowLayout" hgap="3" vgap="0" flow-align="2">
179148
<constraints>
180-
<grid row="8" column="0" row-span="1" col-span="11" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
149+
<grid row="6" column="0" row-span="1" col-span="11" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
181150
<forms/>
182151
</constraints>
183152
<properties/>
@@ -203,24 +172,98 @@
203172
</component>
204173
</children>
205174
</grid>
175+
<component id="998ff" class="javax.swing.JButton" binding="mBtnSend">
176+
<constraints>
177+
<grid row="3" column="10" row-span="2" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
178+
<forms/>
179+
</constraints>
180+
<properties>
181+
<borderPainted value="false"/>
182+
<iconTextGap value="1"/>
183+
<inheritsPopupMenu value="false"/>
184+
<margin top="5" left="5" bottom="5" right="5"/>
185+
<maximumSize width="78" height="78"/>
186+
<minimumSize width="78" height="78"/>
187+
<opaque value="true"/>
188+
<preferredSize width="78" height="78"/>
189+
<requestFocusEnabled value="false"/>
190+
<text value=""/>
191+
</properties>
192+
</component>
193+
<component id="e47f" class="javax.swing.JButton" binding="btnDelApi">
194+
<constraints>
195+
<grid row="4" column="8" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
196+
<forms/>
197+
</constraints>
198+
<properties>
199+
<text value="Delete"/>
200+
</properties>
201+
</component>
206202
<component id="bbb13" class="javax.swing.JButton" binding="mBtnNewApi">
207203
<constraints>
208-
<grid row="3" column="10" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
204+
<grid row="3" column="8" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
209205
<forms/>
210206
</constraints>
211207
<properties>
212208
<text value="Copy New"/>
213209
</properties>
214210
</component>
215-
<component id="1e7e4" class="javax.swing.JButton" binding="mBtnSaveApi">
211+
<component id="80e6b" class="javax.swing.JButton" binding="mbtnDp">
216212
<constraints>
217-
<grid row="5" column="8" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
213+
<grid row="4" column="4" row-span="1" col-span="3" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
218214
<forms/>
219215
</constraints>
220216
<properties>
221-
<text value="Save"/>
217+
<text value=" Default Parameter"/>
218+
<toolTipText value=" Set Current Project Default Parameter"/>
222219
</properties>
223220
</component>
221+
<grid id="69c35" layout-manager="GridLayoutManager" row-count="1" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
222+
<margin top="0" left="0" bottom="0" right="0"/>
223+
<constraints>
224+
<grid row="4" column="0" row-span="1" col-span="3" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
225+
<forms/>
226+
</constraints>
227+
<properties>
228+
<background color="-15856893"/>
229+
</properties>
230+
<border type="none"/>
231+
<children>
232+
<component id="628c7" class="javax.swing.JLabel">
233+
<constraints>
234+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
235+
</constraints>
236+
<properties>
237+
<foreground color="-1"/>
238+
<text value="Concurrent test"/>
239+
</properties>
240+
</component>
241+
<component id="8ef11" class="javax.swing.JTextField" binding="tvTestCount">
242+
<constraints>
243+
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
244+
<preferred-size width="150" height="-1"/>
245+
</grid>
246+
</constraints>
247+
<properties>
248+
<toolTipText value="test count"/>
249+
</properties>
250+
</component>
251+
<component id="67965" class="javax.swing.JButton" binding="mStartButton" default-binding="true">
252+
<constraints>
253+
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
254+
</constraints>
255+
<properties>
256+
<text value="Start"/>
257+
</properties>
258+
</component>
259+
</children>
260+
</grid>
261+
<component id="61514" class="com.teamdev.jxbrowser.chromium.swing.BrowserView" binding="mBrowserView" custom-create="true">
262+
<constraints>
263+
<grid row="7" column="0" row-span="2" col-span="13" vsize-policy="3" hsize-policy="3" anchor="0" fill="0" indent="0" use-parent-layout="false"/>
264+
<forms/>
265+
</constraints>
266+
</component>
224267
</children>
225268
</grid>
226269
</form>

0 commit comments

Comments
 (0)