[hg] main-silver: updating layout of BZ editor

  • From: Ondrej Vrabec < >
  • To:
  • Subject: [hg] main-silver: updating layout of BZ editor
  • Date: Tue, 13 Aug 2013 13:30:54 -0700

changeset 8ca4f73e17c4 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/8ca4f73e17c4
description:
        updating layout of BZ editor

diffstat:

 bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.form |  114 
+++------
 bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.java |  108 
++++-----
 2 files changed, 89 insertions(+), 133 deletions(-)

diffs (366 lines):

diff --git a/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.form 
b/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.form
--- a/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.form
+++ b/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.form
@@ -361,12 +361,13 @@
                                   <Component id="attachmentsLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                   <Component id="summaryLabel" alignment="0" 
min="-2" max="-2" attributes="0"/>
                                   <Component id="urlLabel" alignment="0" 
min="-2" max="-2" attributes="0"/>
-                                  <Component id="targetMilestoneLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                   <Component id="issueTypeLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                   <Component id="versionLabel" alignment="0" 
min="-2" max="-2" attributes="0"/>
                                   <Component id="componentLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                   <Component id="productLabel" alignment="0" 
min="-2" max="-2" attributes="0"/>
                                   <Component id="addCommentLabel" min="-2" 
max="-2" attributes="0"/>
+                                  <Component id="targetMilestoneLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
+                                  <Component id="dummyLabel2" alignment="1" 
min="-2" max="-2" attributes="0"/>
                               </Group>
                           </Group>
                           <Component id="customFieldsPanelLeft" 
alignment="0" min="-2" max="-2" attributes="0"/>
@@ -390,9 +391,20 @@
                           <Component id="messagePanel" alignment="0" 
max="32767" attributes="0"/>
                           <Group type="102" alignment="0" attributes="0">
                               <Group type="103" groupAlignment="0" 
attributes="0">
-                                  <Group type="102" attributes="0">
-                                      <Group type="103" groupAlignment="0" 
attributes="0">
-                                          <Group type="102" attributes="0">
+                                  <Group type="102" alignment="0" 
attributes="0">
+                                      <Component id="submitButton" min="-2" 
max="-2" attributes="0"/>
+                                      <EmptySpace max="-2" attributes="0"/>
+                                      <Component id="btnSaveChanges" 
min="-2" max="-2" attributes="0"/>
+                                      <EmptySpace max="-2" attributes="0"/>
+                                      <Component id="cancelButton" min="-2" 
max="-2" attributes="0"/>
+                                      <EmptySpace max="-2" attributes="0"/>
+                                      <Component id="btnDeleteTask" min="-2" 
max="-2" attributes="0"/>
+                                      <EmptySpace max="-2" attributes="0"/>
+                                      <Component id="attachLogCheckBox" 
min="-2" max="-2" attributes="0"/>
+                                      <EmptySpace max="-2" attributes="0"/>
+                                      <Component id="viewLogButton" min="-2" 
max="-2" attributes="0"/>
+                                  </Group>
+                                  <Group type="102" alignment="0" 
attributes="0">
                                               <Group type="103" 
groupAlignment="0" max="-2" attributes="0">
                                                   <Component 
id="issueTypeCombo" max="32767" attributes="1"/>
                                                   <Component 
id="statusWhiteboardField" min="0" pref="0" max="32767" attributes="1"/>
@@ -417,38 +429,31 @@
                                                   <Component 
id="componentCombo" alignment="0" max="32767" attributes="1"/>
                                                   <Component 
id="productCombo" alignment="0" max="32767" attributes="1"/>
                                               </Group>
+                                      <EmptySpace type="unrelated" max="-2" 
attributes="0"/>
+                                      <Group type="103" groupAlignment="0" 
attributes="0">
+                                          <Component id="assignedToWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                          <Component id="qaContactWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                          <Component id="ccWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                          <Component id="statusWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                          <Component id="resolutionWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                          <Component id="duplicateWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                          <Component id="dependsOnWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                          <Component id="blocksWarning" 
alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
+                                      </Group>
+                                      <EmptySpace min="-2" pref="5" max="-2" 
attributes="0"/>
+                                      <Group type="103" groupAlignment="0" 
attributes="0">
+                                          <Group type="102" alignment="0" 
attributes="0">
+                                              <Component id="reportedLabel" 
min="-2" max="-2" attributes="0"/>
                                               <EmptySpace max="-2" 
attributes="0"/>
-                                              <Group type="103" 
groupAlignment="0" attributes="0">
-                                                  <Group type="103" 
groupAlignment="0" attributes="0">
-                                                      <Group type="102" 
alignment="1" attributes="0">
-                                                          <Component 
id="dependsOnWarning" min="-2" pref="16" max="-2" attributes="0"/>
-                                                          <EmptySpace 
min="-2" pref="5" max="-2" attributes="0"/>
-                                                      </Group>
-                                                      <Group type="102" 
alignment="1" attributes="0">
-                                                          <Component 
id="assignedToWarning" min="-2" pref="16" max="-2" attributes="0"/>
-                                                          <EmptySpace 
min="-2" pref="4" max="-2" attributes="0"/>
+                                              <Component id="reportedField" 
min="-2" max="-2" attributes="0"/>
+                                              <EmptySpace min="-2" max="-2" 
attributes="0"/>
+                                              <Component 
id="reportedStatusLabel" min="-2" max="-2" attributes="0"/>
+                                              <EmptySpace type="unrelated" 
min="-2" max="-2" attributes="0"/>
+                                              <Component id="modifiedLabel" 
min="-2" max="-2" attributes="0"/>
+                                              <EmptySpace min="-2" max="-2" 
attributes="0"/>
+                                              <Component id="modifiedField" 
min="-2" max="-2" attributes="0"/>
                                                       </Group>
                                                       <Group type="102" 
alignment="0" attributes="0">
-                                                          <Component 
id="blocksWarning" min="-2" pref="16" max="-2" attributes="0"/>
-                                                          <EmptySpace 
min="-2" pref="5" max="-2" attributes="0"/>
-                                                      </Group>
-                                                  </Group>
-                                                  <Group type="102" 
attributes="0">
-                                                      <Group type="103" 
groupAlignment="0" attributes="0">
-                                                          <Component 
id="qaContactWarning" alignment="0" min="-2" pref="16" max="-2" 
attributes="0"/>
-                                                          <Component 
id="statusWarning" alignment="0" min="-2" pref="16" max="-2" attributes="0"/>
-                                                          <Component 
id="ccWarning" min="-2" pref="16" max="-2" attributes="0"/>
-                                                          <Component 
id="resolutionWarning" alignment="0" min="-2" pref="16" max="-2" 
attributes="0"/>
-                                                      </Group>
-                                                      <EmptySpace min="-2" 
pref="5" max="-2" attributes="0"/>
-                                                  </Group>
-                                              </Group>
-                                          </Group>
-                                          <Group type="102" alignment="1" 
attributes="0">
-                                              <Component 
id="duplicateWarning" min="-2" pref="16" max="-2" attributes="0"/>
-                                              <EmptySpace min="-2" pref="5" 
max="-2" attributes="0"/>
-                                          </Group>
-                                      </Group>
                                       <Group type="103" groupAlignment="0" 
attributes="0">
                                           <Component id="blocksLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                           <Component id="dependsLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
@@ -458,20 +463,8 @@
                                           <Component id="ccLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                           <Component id="qaContactLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                           <Component id="assignedLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
-                                          <Component id="reportedLabel" 
alignment="0" min="-2" max="-2" attributes="0"/>
                                       </Group>
                                       <EmptySpace max="-2" attributes="0"/>
-                                      <Group type="103" groupAlignment="0" 
attributes="0">
-                                          <Group type="102" alignment="0" 
attributes="0">
-                                              <Component id="reportedField" 
min="-2" max="-2" attributes="0"/>
-                                              <EmptySpace min="-2" max="-2" 
attributes="0"/>
-                                              <Component 
id="reportedStatusLabel" min="-2" max="-2" attributes="0"/>
-                                              <EmptySpace type="unrelated" 
min="-2" max="-2" attributes="0"/>
-                                              <Component id="modifiedLabel" 
min="-2" max="-2" attributes="0"/>
-                                              <EmptySpace min="-2" max="-2" 
attributes="0"/>
-                                              <Component id="modifiedField" 
min="-2" max="-2" attributes="0"/>
-                                          </Group>
-                                          <Group type="102" alignment="0" 
attributes="0">
                                               <Group type="103" 
groupAlignment="0" max="-2" attributes="0">
                                                   <Component id="ccField" 
alignment="0" max="32767" attributes="1"/>
                                                   <Component 
id="assignedField" alignment="0" max="32767" attributes="1"/>
@@ -500,19 +493,6 @@
                                           </Group>
                                       </Group>
                                   </Group>
-                                  <Group type="102" alignment="0" 
attributes="0">
-                                      <Component id="submitButton" min="-2" 
max="-2" attributes="0"/>
-                                      <EmptySpace max="-2" attributes="0"/>
-                                      <Component id="btnSaveChanges" 
min="-2" max="-2" attributes="0"/>
-                                      <EmptySpace max="-2" attributes="0"/>
-                                      <Component id="cancelButton" min="-2" 
max="-2" attributes="0"/>
-                                      <EmptySpace max="-2" attributes="0"/>
-                                      <Component id="btnDeleteTask" min="-2" 
max="-2" attributes="0"/>
-                                      <EmptySpace max="-2" attributes="0"/>
-                                      <Component id="attachLogCheckBox" 
min="-2" max="-2" attributes="0"/>
-                                      <EmptySpace max="-2" attributes="0"/>
-                                      <Component id="viewLogButton" min="-2" 
max="-2" attributes="0"/>
-                                  </Group>
                               </Group>
                               <EmptySpace min="0" pref="0" max="32767" 
attributes="0"/>
                           </Group>
@@ -521,16 +501,15 @@
                   </Group>
                   <Group type="102" alignment="1" attributes="0">
                       <EmptySpace min="0" pref="0" max="32767" 
attributes="0"/>
-                      <Group type="103" groupAlignment="0" attributes="0">
+                      <Group type="103" groupAlignment="1" attributes="0">
                           <Component id="dummyLabel1" alignment="1" min="-2" 
max="-2" attributes="0"/>
-                          <Component id="dummyLabel2" alignment="1" min="-2" 
max="-2" attributes="0"/>
                           <Component id="dummyLabel3" alignment="1" min="-2" 
max="-2" attributes="0"/>
                           <Component id="dummyTimetrackingLabel" 
alignment="1" min="-2" max="-2" attributes="0"/>
                       </Group>
                       <EmptySpace min="849" pref="849" max="-2" 
attributes="0"/>
                   </Group>
               </Group>
-              <EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
+              <EmptySpace min="-2" max="-2" attributes="0"/>
           </Group>
       </Group>
     </DimensionLayout>
@@ -621,8 +600,9 @@
                   <Component id="duplicateLabel" alignment="2" min="-2" 
max="-2" attributes="0"/>
                   <Component id="duplicateField" alignment="2" min="-2" 
max="-2" attributes="0"/>
                   <Component id="duplicateButton" alignment="2" min="-2" 
max="-2" attributes="0"/>
+                  <Component id="dummyLabel2" linkSize="8" alignment="2" 
min="-2" max="-2" attributes="0"/>
               </Group>
-              <EmptySpace min="-2" max="-2" attributes="0"/>
+              <EmptySpace max="-2" attributes="0"/>
               <Group type="103" groupAlignment="2" attributes="0">
                   <Component id="urlWarning" alignment="2" min="-2" 
pref="16" max="-2" attributes="0"/>
                   <Component id="urlLabel" alignment="2" min="-2" max="-2" 
attributes="0"/>
@@ -711,17 +691,9 @@
               <Component id="dummyCommentsPanel" max="32767" attributes="0"/>
           </Group>
           <Group type="102" attributes="0">
-              <Group type="103" groupAlignment="0" attributes="0">
-                  <Group type="102" attributes="0">
                       <EmptySpace min="65" pref="65" max="-2" 
attributes="0"/>
                       <Component id="assignedToStatusLabel" min="-2" 
max="-2" attributes="0"/>
-                  </Group>
-                  <Group type="102" attributes="0">
-                      <EmptySpace min="281" pref="281" max="-2" 
attributes="0"/>
-                      <Component id="dummyLabel2" linkSize="8" min="-2" 
max="-2" attributes="0"/>
-                  </Group>
-              </Group>
-              <EmptySpace min="-2" pref="299" max="-2" attributes="0"/>
+              <EmptySpace max="32767" attributes="0"/>
           </Group>
       </Group>
     </DimensionLayout>
diff --git a/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.java 
b/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.java
--- a/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.java
+++ b/bugzilla/src/org/netbeans/modules/bugzilla/issue/IssuePanel.java
@@ -2099,12 +2099,13 @@
                                     .addComponent(attachmentsLabel)
                                     .addComponent(summaryLabel)
                                     .addComponent(urlLabel, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                    .addComponent(targetMilestoneLabel)
                                     .addComponent(issueTypeLabel)
                                     .addComponent(versionLabel)
                                     .addComponent(componentLabel)
                                     .addComponent(productLabel)
-                                    .addComponent(addCommentLabel)))
+                                    .addComponent(addCommentLabel)
+                                    .addComponent(targetMilestoneLabel)
+                                    .addComponent(dummyLabel2, 
javax.swing.GroupLayout.Alignment.TRAILING)))
                             .addComponent(customFieldsPanelLeft, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)
                             .addGroup(layout.createSequentialGroup()
                                 .addComponent(platformWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
@@ -2124,7 +2125,17 @@
                             .addGroup(layout.createSequentialGroup()
                                 
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                     .addGroup(layout.createSequentialGroup()
-                                        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+                                        .addComponent(submitButton)
+                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                                        .addComponent(btnSaveChanges)
+                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                                        .addComponent(cancelButton)
+                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                                        .addComponent(btnDeleteTask)
+                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                                        .addComponent(attachLogCheckBox)
+                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                                        .addComponent(viewLogButton, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE))
                                             
.addGroup(layout.createSequentialGroup()
                                                 
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
 false)
                                                     
.addComponent(issueTypeCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, 
Short.MAX_VALUE)
@@ -2146,28 +2157,29 @@
                                                     
.addComponent(versionCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, 
Short.MAX_VALUE)
                                                     
.addComponent(componentCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, 
Short.MAX_VALUE)
                                                     
.addComponent(productCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, 
Short.MAX_VALUE))
+                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+                                        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+                                            .addComponent(assignedToWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                            .addComponent(qaContactWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                            .addComponent(ccWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                            .addComponent(statusWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                            .addComponent(resolutionWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                            .addComponent(duplicateWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                            .addComponent(dependsOnWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                            .addComponent(blocksWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE))
+                                        .addGap(5, 5, 5)
+                                        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+                                            
.addGroup(layout.createSequentialGroup()
+                                                .addComponent(reportedLabel)
                                                 
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                                                    
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                                                        
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, 
layout.createSequentialGroup()
-                                                            
.addComponent(dependsOnWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                            .addGap(5, 5, 5))
-                                                        
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, 
layout.createSequentialGroup()
-                                                            
.addComponent(assignedToWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                            .addGap(4, 4, 4))
+                                                .addComponent(reportedField, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)
+                                                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                                                
.addComponent(reportedStatusLabel)
+                                                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+                                                .addComponent(modifiedLabel)
+                                                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                                                .addComponent(modifiedField, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE))
                                                         
.addGroup(layout.createSequentialGroup()
-                                                            
.addComponent(blocksWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                            .addGap(5, 5, 
5)))
-                                                    
.addGroup(layout.createSequentialGroup()
-                                                        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                                                            
.addComponent(qaContactWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                            
.addComponent(statusWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                            
.addComponent(ccWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                            
.addComponent(resolutionWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE))
-                                                        .addGap(5, 5, 5))))
-                                            
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, 
layout.createSequentialGroup()
-                                                
.addComponent(duplicateWarning, javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                .addGap(5, 5, 5)))
                                         
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                             .addComponent(blocksLabel)
                                             .addComponent(dependsLabel)
@@ -2176,19 +2188,8 @@
                                             .addComponent(statusLabel)
                                             .addComponent(ccLabel)
                                             .addComponent(qaContactLabel)
-                                            .addComponent(assignedLabel)
-                                            .addComponent(reportedLabel))
+                                                    
.addComponent(assignedLabel))
                                         
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                                            
.addGroup(layout.createSequentialGroup()
-                                                .addComponent(reportedField, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                                                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                                
.addComponent(reportedStatusLabel)
-                                                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
-                                                .addComponent(modifiedLabel)
-                                                
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                                .addComponent(modifiedField, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE))
-                                            
.addGroup(layout.createSequentialGroup()
                                                 
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
 false)
                                                     .addComponent(ccField)
                                                     
.addComponent(assignedField)
@@ -2209,30 +2210,17 @@
                                                     
.addComponent(assignToDefaultCheckBox)
                                                     
.addComponent(qaContactField))
                                                 
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                                
.addComponent(assignedToStatusLabel))))
-                                    .addGroup(layout.createSequentialGroup()
-                                        .addComponent(submitButton)
-                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                        .addComponent(btnSaveChanges)
-                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                        .addComponent(cancelButton)
-                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                        .addComponent(btnDeleteTask)
-                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                        .addComponent(attachLogCheckBox)
-                                        
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                                        .addComponent(viewLogButton, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)))
+                                                
.addComponent(assignedToStatusLabel)))))
                                 .addGap(0, 0, Short.MAX_VALUE))
                             .addComponent(summaryField)))
                     .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, 
layout.createSequentialGroup()
                         .addGap(0, 0, Short.MAX_VALUE)
-                        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                            .addComponent(dummyLabel1, 
javax.swing.GroupLayout.Alignment.TRAILING)
-                            .addComponent(dummyLabel2, 
javax.swing.GroupLayout.Alignment.TRAILING)
-                            .addComponent(dummyLabel3, 
javax.swing.GroupLayout.Alignment.TRAILING)
-                            .addComponent(dummyTimetrackingLabel, 
javax.swing.GroupLayout.Alignment.TRAILING))
+                        
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+                            .addComponent(dummyLabel1)
+                            .addComponent(dummyLabel3)
+                            .addComponent(dummyTimetrackingLabel))
                         .addGap(849, 849, 849)))
-                .addGap(24, 24, 24))
+                .addContainerGap())
         );
 
         layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new 
java.awt.Component[] {osCombo, platformCombo, priorityCombo, severityCombo});
@@ -2315,7 +2303,8 @@
                     .addComponent(duplicateWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
                     .addComponent(duplicateLabel)
                     .addComponent(duplicateField, 
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
javax.swing.GroupLayout.PREFERRED_SIZE)
-                    .addComponent(duplicateButton))
+                    .addComponent(duplicateButton)
+                    .addComponent(dummyLabel2))
                 
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                 
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                     .addComponent(urlWarning, 
javax.swing.GroupLayout.PREFERRED_SIZE, 16, 
javax.swing.GroupLayout.PREFERRED_SIZE)
@@ -2388,14 +2377,9 @@
                 
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                 .addComponent(dummyCommentsPanel, 
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, 
Short.MAX_VALUE))
             .addGroup(layout.createSequentialGroup()
-                
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                    .addGroup(layout.createSequentialGroup()
                         .addGap(65, 65, 65)
-                        .addComponent(assignedToStatusLabel))
-                    .addGroup(layout.createSequentialGroup()
-                        .addGap(281, 281, 281)
-                        .addComponent(dummyLabel2)))
-                .addGap(299, 299, 299))
+                .addComponent(assignedToStatusLabel)
+                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, 
Short.MAX_VALUE))
         );
 
         layout.linkSize(javax.swing.SwingConstants.VERTICAL, new 
java.awt.Component[] {refreshButton, reloadButton, separatorLabel, 
separatorLabel2, separatorLabel3, showInBrowserButton});

[hg] main-silver: updating layout of BZ editor

Ondrej Vrabec 08/13/2013

Project Features

About this Project

ConnectedDeveloper was started in November 2009, is owned by tpavek, and has 66 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close