From 88e903ba9d41ea1a8d94883dd21f6dc286077955 Mon Sep 17 00:00:00 2001 From: Jakub Tarnawski Date: Wed, 7 May 2014 17:46:24 +0200 Subject: [PATCH] changed label to Browse, and removed some junk from a .form file --- Hightail/src/org/hightail/ui/ProblemJPanel.form | 4 ++-- Hightail/src/org/hightail/ui/ProblemJPanel.java | 4 ++-- Hightail/src/org/hightail/ui/TestcaseJDialog.form | 8 ++------ Hightail/src/org/hightail/ui/TestcaseJDialog.java | 6 +++--- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/Hightail/src/org/hightail/ui/ProblemJPanel.form b/Hightail/src/org/hightail/ui/ProblemJPanel.form index 69e2a87..47c8e1a 100644 --- a/Hightail/src/org/hightail/ui/ProblemJPanel.form +++ b/Hightail/src/org/hightail/ui/ProblemJPanel.form @@ -26,7 +26,7 @@ - + @@ -232,7 +232,7 @@ - + diff --git a/Hightail/src/org/hightail/ui/ProblemJPanel.java b/Hightail/src/org/hightail/ui/ProblemJPanel.java index c0f5c18..b1d873c 100644 --- a/Hightail/src/org/hightail/ui/ProblemJPanel.java +++ b/Hightail/src/org/hightail/ui/ProblemJPanel.java @@ -217,7 +217,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { .addGap(29, 29, 29)) ); - openContainingDirectoryButton.setText("Open containing directory"); + openContainingDirectoryButton.setText("Browse..."); openContainingDirectoryButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { openContainingDirectoryButtonActionPerformed(evt); @@ -240,7 +240,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { .addComponent(executableFileLabel) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(sourceFile) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(openContainingDirectoryButton))) .addContainerGap()) ); diff --git a/Hightail/src/org/hightail/ui/TestcaseJDialog.form b/Hightail/src/org/hightail/ui/TestcaseJDialog.form index c0c338b..fe3787b 100644 --- a/Hightail/src/org/hightail/ui/TestcaseJDialog.form +++ b/Hightail/src/org/hightail/ui/TestcaseJDialog.form @@ -7,6 +7,7 @@ + @@ -59,13 +60,8 @@ -<<<<<<< HEAD - - -======= ->>>>>>> a865b4309985a615ee45e30ec288424582406259 @@ -190,8 +186,8 @@ - + diff --git a/Hightail/src/org/hightail/ui/TestcaseJDialog.java b/Hightail/src/org/hightail/ui/TestcaseJDialog.java index e47748b..31423d8 100644 --- a/Hightail/src/org/hightail/ui/TestcaseJDialog.java +++ b/Hightail/src/org/hightail/ui/TestcaseJDialog.java @@ -178,8 +178,8 @@ public void windowClosing(java.awt.event.WindowEvent evt) { expectedOutputTextarea.setRows(5); jScrollPane1.setViewportView(expectedOutputTextarea); - programOutputTextarea.setColumns(20); programOutputTextarea.setEditable(false); + programOutputTextarea.setColumns(20); programOutputTextarea.setFont(new java.awt.Font("Courier New", 0, 12)); // NOI18N programOutputTextarea.setRows(5); jScrollPane3.setViewportView(programOutputTextarea); @@ -239,8 +239,8 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(layout.createSequentialGroup() .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(timeLimitTextField) - .addGap(18, 18, 18) + .addComponent(timeLimitTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 36, Short.MAX_VALUE) .addComponent(cancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(saveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)))