Browse Source

SDK:
- make android deployment notes more obvious

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8797 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 14 years ago
parent
commit
44a4829692

+ 1 - 1
jme3-android/src/com/jme3/gde/android/Bundle.properties

@@ -10,7 +10,7 @@ MobileCustomizerPanel.jLabel1.text=Android Target
 MobileCustomizerPanel.jLabel3.text=Application Package
 MobileCustomizerPanel.jTextField1.text=jTextField1
 MobileCustomizerPanel.jButton2.text=Run Android Target Configuration Utility
-MobileCustomizerPanel.jTextArea1.text=You have to disable "Compile on Save" to be able to run the project on a device using the "Android Device" function.\n\nThe android project ("mobile" folder) will be deleted when Android deployment is disabled.
+MobileCustomizerPanel.jTextArea1.text=Notes  (Press F1 for more information)\n\nThe android application package name can be freely chosen can differ from the main projects package name.\n\nYou have to disable "Compile on Save" under "Compiling" on the left to be able to run the project on a device using the "Android Device" configuration.\n\nThe android project ("mobile" folder) will be deleted when Android deployment is disabled.
 MobileCustomizerPanel.jTextField1.toolTipText=The package name used when creating the MainActivity
 MobileCustomizerPanel.jComboBox1.toolTipText=The android target platform of this project
 MobileCustomizerPanel.jButton2.toolTipText=Run the android target configuration utility

+ 5 - 4
jme3-android/src/com/jme3/gde/android/MobileCustomizerPanel.form

@@ -30,11 +30,11 @@
               <Component id="jTextField1" pref="237" max="32767" attributes="0"/>
               <EmptySpace max="-2" attributes="0"/>
           </Group>
-          <Component id="jScrollPane1" alignment="0" pref="394" max="32767" attributes="0"/>
           <Group type="102" alignment="0" attributes="0">
               <Component id="jButton2" min="-2" max="-2" attributes="0"/>
               <EmptySpace max="-2" attributes="0"/>
           </Group>
+          <Component id="jScrollPane1" alignment="0" pref="394" max="32767" attributes="0"/>
       </Group>
     </DimensionLayout>
     <DimensionLayout dim="1">
@@ -53,10 +53,10 @@
                   <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
                   <Component id="jTextField1" alignment="3" min="-2" max="-2" attributes="0"/>
               </Group>
-              <EmptySpace pref="62" max="32767" attributes="0"/>
+              <EmptySpace max="-2" attributes="0"/>
+              <Component id="jScrollPane1" pref="143" max="32767" attributes="0"/>
+              <EmptySpace max="-2" attributes="0"/>
               <Component id="jButton2" min="-2" max="-2" attributes="0"/>
-              <EmptySpace type="unrelated" max="-2" attributes="0"/>
-              <Component id="jScrollPane1" min="-2" max="-2" attributes="0"/>
           </Group>
       </Group>
     </DimensionLayout>
@@ -144,6 +144,7 @@
         <Component class="javax.swing.JTextArea" name="jTextArea1">
           <Properties>
             <Property name="columns" type="int" value="20"/>
+            <Property name="editable" type="boolean" value="false"/>
             <Property name="lineWrap" type="boolean" value="true"/>
             <Property name="rows" type="int" value="5"/>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">

+ 6 - 5
jme3-android/src/com/jme3/gde/android/MobileCustomizerPanel.java

@@ -134,6 +134,7 @@ public class MobileCustomizerPanel extends javax.swing.JPanel implements ActionL
         jScrollPane1.setEnabled(false);
 
         jTextArea1.setColumns(20);
+        jTextArea1.setEditable(false);
         jTextArea1.setLineWrap(true);
         jTextArea1.setRows(5);
         jTextArea1.setText(org.openide.util.NbBundle.getMessage(MobileCustomizerPanel.class, "MobileCustomizerPanel.jTextArea1.text")); // NOI18N
@@ -157,10 +158,10 @@ public class MobileCustomizerPanel extends javax.swing.JPanel implements ActionL
                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                 .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 237, Short.MAX_VALUE)
                 .addContainerGap())
-            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 394, Short.MAX_VALUE)
             .addGroup(layout.createSequentialGroup()
                 .addComponent(jButton2)
                 .addContainerGap())
+            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 394, Short.MAX_VALUE)
         );
         layout.setVerticalGroup(
             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
@@ -176,10 +177,10 @@ public class MobileCustomizerPanel extends javax.swing.JPanel implements ActionL
                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                     .addComponent(jLabel3)
                     .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
-                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 62, Short.MAX_VALUE)
-                .addComponent(jButton2)
-                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
-                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 143, Short.MAX_VALUE)
+                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+                .addComponent(jButton2))
         );
     }// </editor-fold>//GEN-END:initComponents