Commits

Giuliano Ribeiro committed 3bb5d98

fix da img. pegando via classpath.
novo construtor.

  • Participants
  • Parent commits 0c9752b

Comments (0)

Files changed (2)

File Google/gmail-settings-ui/src/main/java/com/ilegra/google/ui/Main.form

       <Group type="103" groupAlignment="0" attributes="0">
           <Group type="102" alignment="1" attributes="0">
               <EmptySpace max="-2" attributes="0"/>
-              <Component id="guiTabPanel" max="32767" attributes="0"/>
+              <Component id="guiTabPanel" pref="358" max="32767" attributes="0"/>
               <EmptySpace max="-2" attributes="0"/>
           </Group>
       </Group>
             <Component class="javax.swing.JLabel" name="jLabel1">
               <Properties>
                 <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-                  <Image iconType="3" name="/com/ilegra/google/ui/google-apps.png"/>
+                  <Image iconType="3" name="/google-apps.png"/>
                 </Property>
                 <Property name="toolTipText" type="java.lang.String" value="Click here to login with your Google Apps&#x2122; Account"/>
                 <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">

File Google/gmail-settings-ui/src/main/java/com/ilegra/google/ui/Main.java

         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
         setTitle("Google Apps™ Mail Settings - ilegra®");
 
-        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/ilegra/google/ui/google-apps.png"))); // NOI18N
+        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/google-apps.png"))); // NOI18N
         jLabel1.setToolTipText("Click here to login with your Google Apps™ Account");
         jLabel1.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
         jLabel1.addMouseListener(new java.awt.event.MouseAdapter() {
             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
             .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                 .addContainerGap()
-                .add(guiTabPanel)
+                .add(guiTabPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 358, Short.MAX_VALUE)
                 .addContainerGap())
         );
 
 
     private void jLabel1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseClicked
             try {
-                gs = new GmailSettings("ilegra-gui-app", null, null, null);
+                gs = new GmailSettings("ilegra-gmail-settings");
                 guiTabPanel.addTab("Signature", signatureTab);
                 guiTabPanel.setSelectedIndex(1);
             } catch (IOException ex) {