Skip to content

Commit 88e903b

Browse files
committed
changed label to Browse, and removed some junk from a .form file
1 parent ff1f205 commit 88e903b

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

Hightail/src/org/hightail/ui/ProblemJPanel.form

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<Component id="executableFileLabel" min="-2" max="-2" attributes="0"/>
2727
<EmptySpace type="unrelated" max="-2" attributes="0"/>
2828
<Component id="sourceFile" max="32767" attributes="0"/>
29-
<EmptySpace max="-2" attributes="0"/>
29+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
3030
<Component id="openContainingDirectoryButton" min="-2" max="-2" attributes="0"/>
3131
</Group>
3232
</Group>
@@ -232,7 +232,7 @@
232232
</Container>
233233
<Component class="javax.swing.JButton" name="openContainingDirectoryButton">
234234
<Properties>
235-
<Property name="text" type="java.lang.String" value="Open containing directory"/>
235+
<Property name="text" type="java.lang.String" value="Browse..."/>
236236
</Properties>
237237
<Events>
238238
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="openContainingDirectoryButtonActionPerformed"/>

Hightail/src/org/hightail/ui/ProblemJPanel.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
217217
.addGap(29, 29, 29))
218218
);
219219

220-
openContainingDirectoryButton.setText("Open containing directory");
220+
openContainingDirectoryButton.setText("Browse...");
221221
openContainingDirectoryButton.addActionListener(new java.awt.event.ActionListener() {
222222
public void actionPerformed(java.awt.event.ActionEvent evt) {
223223
openContainingDirectoryButtonActionPerformed(evt);
@@ -240,7 +240,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
240240
.addComponent(executableFileLabel)
241241
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
242242
.addComponent(sourceFile)
243-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
243+
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
244244
.addComponent(openContainingDirectoryButton)))
245245
.addContainerGap())
246246
);

Hightail/src/org/hightail/ui/TestcaseJDialog.form

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
</Properties>
88
<SyntheticProperties>
99
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10+
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
1011
</SyntheticProperties>
1112
<Events>
1213
<EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowClosing"/>
@@ -59,13 +60,8 @@
5960
</Group>
6061
<Group type="102" alignment="1" attributes="0">
6162
<EmptySpace max="-2" attributes="0"/>
62-
<<<<<<< HEAD
63-
<Component id="timeLimitTextField" max="32767" attributes="0"/>
64-
<EmptySpace type="separate" max="-2" attributes="0"/>
65-
=======
6663
<Component id="timeLimitTextField" min="-2" pref="38" max="-2" attributes="0"/>
6764
<EmptySpace pref="36" max="32767" attributes="0"/>
68-
>>>>>>> a865b4309985a615ee45e30ec288424582406259
6965
<Component id="cancelButton" min="-2" pref="100" max="-2" attributes="0"/>
7066
<EmptySpace type="separate" max="-2" attributes="0"/>
7167
<Component id="saveButton" min="-2" pref="100" max="-2" attributes="0"/>
@@ -190,8 +186,8 @@
190186
<SubComponents>
191187
<Component class="javax.swing.JTextArea" name="programOutputTextarea">
192188
<Properties>
193-
<Property name="columns" type="int" value="20"/>
194189
<Property name="editable" type="boolean" value="false"/>
190+
<Property name="columns" type="int" value="20"/>
195191
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
196192
<Font name="Courier New" size="12" style="0"/>
197193
</Property>

Hightail/src/org/hightail/ui/TestcaseJDialog.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ public void windowClosing(java.awt.event.WindowEvent evt) {
178178
expectedOutputTextarea.setRows(5);
179179
jScrollPane1.setViewportView(expectedOutputTextarea);
180180

181-
programOutputTextarea.setColumns(20);
182181
programOutputTextarea.setEditable(false);
182+
programOutputTextarea.setColumns(20);
183183
programOutputTextarea.setFont(new java.awt.Font("Courier New", 0, 12)); // NOI18N
184184
programOutputTextarea.setRows(5);
185185
jScrollPane3.setViewportView(programOutputTextarea);
@@ -239,8 +239,8 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
239239
.addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE)))
240240
.addGroup(layout.createSequentialGroup()
241241
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
242-
.addComponent(timeLimitTextField)
243-
.addGap(18, 18, 18)
242+
.addComponent(timeLimitTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
243+
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 36, Short.MAX_VALUE)
244244
.addComponent(cancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
245245
.addGap(18, 18, 18)
246246
.addComponent(saveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)))

0 commit comments

Comments
 (0)