Fixed text viewer vertical resizing

This commit is contained in:
adam-m 2011-12-28 15:52:45 -05:00
parent 3a2c860eb9
commit 423b614a2b
3 changed files with 8 additions and 8 deletions

View File

@ -53,8 +53,8 @@
<Component id="hitPreviousButton" min="-2" pref="23" max="-2" attributes="0"/>
<Component id="hitNextButton" min="-2" pref="23" max="-2" attributes="0"/>
</Group>
<EmptySpace max="32767" attributes="0"/>
<Component id="jScrollPane1" min="-2" pref="287" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane1" pref="287" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>

View File

@ -135,8 +135,8 @@ class ExtractedContentPanel extends javax.swing.JPanel {
.addComponent(hitCountLabel))
.addComponent(hitPreviousButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(hitNextButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 287, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 287, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables

View File

@ -308,10 +308,10 @@ public class RegexQuery implements KeywordSearchQuery {
progress.progress("RegEx query completed.");
//debug query
StringBuilder sb = new StringBuilder();
for (Term t : terms) {
sb.append(t.getTerm() + " : " + t.getFrequency() + "\n");
}
//StringBuilder sb = new StringBuilder();
//for (Term t : terms) {
// sb.append(t.getTerm() + " : " + t.getFrequency() + "\n");
//}
//logger.log(Level.INFO, "TermsComponent query result: " + sb.toString());
//end debug query