axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandak...@apache.org
Subject svn commit: r552681 - in /webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache: axis2/tools/idea/ axis2/tools/java2wsdl/ axis2/tools/wizardframe/ ideaplugin/frames/
Date Tue, 03 Jul 2007 06:12:15 GMT
Author: sandakith
Date: Mon Jul  2 23:12:14 2007
New Revision: 552681

URL: http://svn.apache.org/viewvc?view=rev&rev=552681
Log:
Thanks Shivantha, for the patch

Modified:
    webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/idea/Java2CodeFrame.java
    webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/java2wsdl/Java2WSDLFrame.java
    webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/CodegenFrame.java
    webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java
    webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/frames/Axi2PluginPage.java

Modified: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/idea/Java2CodeFrame.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/idea/Java2CodeFrame.java?view=diff&rev=552681&r1=552680&r2=552681
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/idea/Java2CodeFrame.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/idea/Java2CodeFrame.java
Mon Jul  2 23:12:14 2007
@@ -41,7 +41,7 @@
  * Time: 2:26:15 PM
  */
 public class Java2CodeFrame extends JFrame {
-    ImagePanel panel_3;
+   // ImagePanel panel_3;
     FirstPanel plMiddle;
     BottomPanel lblBottom;
     //    SecondPanel secondPanel;
@@ -64,11 +64,11 @@
 
         codegenBean = new CodegenBean();
 
-        panel_3 = new ImagePanel();
+      /*  panel_3 = new ImagePanel();
         panel_3.setCaptions("  WSDL selection page"
-                , "  Welcome to the Axis2 code generation wizard. Select the WSDL file");
+                , "  Welcome to the Axis2 code generation wizard. Select the WSDL file");*/
 
-        getContentPane().add(panel_3);
+       // getContentPane().add(panel_3);
 
         plMiddle = new FirstPanel(codegenBean);
         getContentPane().add(plMiddle);
@@ -259,8 +259,8 @@
                     panleID--;
                     break;
                 }
-                panel_3.setCaptions("  Custom Options"
-                        , "  Set the options for the code generation");
+              /*  panel_3.setCaptions("  Custom Options"
+                        , "  Set the options for the code generation");*/
 
                 this.secondPanel.setVisible(true);
                 if(this.secondPanel.codegenBean == null)
@@ -273,8 +273,8 @@
             }
             case 2: {
 
-                panel_3.setCaptions("  Set the output location for the generated code"
-                        , "  set the output project for the generated code");
+               /* panel_3.setCaptions("  Set the output location for the generated code"
+                        , "  set the output project for the generated code");*/
                 this.secondPanel.setVisible(false);
                 this.plMiddle.setVisible(false);
                 this.secondPanel.fillBean();
@@ -310,8 +310,8 @@
         panleID--;
         switch (panleID) {
             case 0: {
-                panel_3.setCaptions("  WSDL selection page"
-                        , "  Welcome to the Axis2 code generation wizard. Select the WSDL
file");
+               /* panel_3.setCaptions("  WSDL selection page"
+                        , "  Welcome to the Axis2 code generation wizard. Select the WSDL
file");*/
                 this.secondPanel.setVisible(false);
                 this.plMiddle.setVisible(true);
                 this.outputpane.setVisible(false);
@@ -319,8 +319,8 @@
                 break;
             }
             case 1: {
-                panel_3.setCaptions("  Custom  Options"
-                        , "  Set the options for the code generation");
+              /*  panel_3.setCaptions("  Custom  Options"
+                        , "  Set the options for the code generation");*/
 
                 this.secondPanel.setVisible(true);
                 this.plMiddle.setVisible(false);
@@ -377,23 +377,23 @@
         Insets insets = parent.getInsets();
 
         Component c;
-        c = parent.getComponent(0);
+       /* c = parent.getComponent(0);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top, 600, 80);
-        }
-        c = parent.getComponent(1);
+        }*/
+        c = parent.getComponent(0);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 80, 600, 480);
         }
-        c = parent.getComponent(3);
+        c = parent.getComponent(2);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 80, 600, 480);
         }
-        c = parent.getComponent(4);
+        c = parent.getComponent(3);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 80, 600, 480);
         }
-        c = parent.getComponent(2);
+        c = parent.getComponent(1);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 550, 600, 50);
         }

Modified: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/java2wsdl/Java2WSDLFrame.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/java2wsdl/Java2WSDLFrame.java?view=diff&rev=552681&r1=552680&r2=552681
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/java2wsdl/Java2WSDLFrame.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/java2wsdl/Java2WSDLFrame.java
Mon Jul  2 23:12:14 2007
@@ -18,7 +18,6 @@
  */
 package org.apache.axis2.tools.java2wsdl;
 
-import org.apache.axis2.tools.idea.*;
 import org.apache.axis2.tools.bean.WsdlgenBean;
 import com.intellij.openapi.project.Project;
 import javax.swing.*;
@@ -28,7 +27,7 @@
 public class Java2WSDLFrame extends JFrame {
 
     // first panel
-    ImagePanel imgPanel;
+  //  ImagePanel imgPanel;
     MiddlePanel plMiddle;
     BottomPanel plBottom;
     OptionPanel opPanel;
@@ -53,10 +52,10 @@
         wsdlgenBean=new WsdlgenBean();
         //add image panel
 
-        imgPanel = new ImagePanel();
+       /* imgPanel = new ImagePanel();
         imgPanel.setCaptions("  Java source/classpath selection"
                 , "  Welcome to the Axis2 Java source code generation wizard.");
-        getContentPane().add(imgPanel);
+        getContentPane().add(imgPanel);*/
 
         //add bottom panel
 
@@ -140,9 +139,9 @@
 
         switch (panleID) {
             case 1:{
-                this.imgPanel .setCaptions(" Java source/classpath selection" ,
+                /*this.imgPanel .setCaptions(" Java source/classpath selection" ,
                         "  Select the classes and the libraries.");
-
+*/
                 this.plMiddle .setVisible(true);
 
                 this.opPanel.setVisible(false);
@@ -154,10 +153,10 @@
                 break;
             }
             case 2: {
-                this.imgPanel .setCaptions(" Java to WSDL Options " ,
+              /*  this.imgPanel .setCaptions(" Java to WSDL Options " ,
                         "  Set the Options for the generator.");
                 this.plMiddle .setVisible(false);
-
+*/
                 this.opPanel.setVisible(true);
 
                 this.outPanel .setVisible(false);
@@ -167,10 +166,10 @@
                 break;
             }
             case 3: {
-                this.imgPanel .setCaptions(" WSDL file Output location " ,
+               /* this.imgPanel .setCaptions(" WSDL file Output location " ,
                         "  Select the location for the generated WSDL.");
                 this.plMiddle .setVisible(false);
-
+*/
                 this.opPanel.setVisible(false);
 
                 this.outPanel .setVisible(true);
@@ -187,9 +186,9 @@
         switch (panleID) {
             case 1: {
 
-                this.imgPanel .setCaptions(" Java source/classpath selection" ,
+               /* this.imgPanel .setCaptions(" Java source/classpath selection" ,
                         "  Select the classes and the libraries.");
-
+*/
                 this.opPanel.setVisible(false);
 
                 this.plMiddle.setVisible(true);
@@ -203,9 +202,9 @@
 
             case 2: {
 
-                this.imgPanel .setCaptions(" Java to WSDL Options " ,
+              /*  this.imgPanel .setCaptions(" Java to WSDL Options " ,
                         "  Set the Options for the generator.");
-
+*/
                 this.plMiddle .setVisible(false);
 
                 this.outPanel.setVisible(false);
@@ -219,9 +218,9 @@
 
             case 3: {
 
-                this.imgPanel .setCaptions(" WSDL file Output location " ,
+               /* this.imgPanel .setCaptions(" WSDL file Output location " ,
                         "  Select the location for the generated WSDL.");
-
+*/
                 this.plMiddle .setVisible(false);
 
                 this.outPanel.setVisible(true);
@@ -267,23 +266,23 @@
         Insets insets = parent.getInsets();
 
         Component c;
-        c = parent.getComponent(0);
+       /* c = parent.getComponent(0);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top, 550, 80);
-        }
-        c = parent.getComponent(2);
+        }*/
+        c = parent.getComponent(1);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 80, 500, 450);
         }
-        c = parent.getComponent(3);
+        c = parent.getComponent(2);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 80, 500, 450);
         }
-        c = parent.getComponent(4);
+        c = parent.getComponent(3);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 80, 500, 450);
         }
-        c = parent.getComponent(1);
+        c = parent.getComponent(0);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top + 525, 500, 50);
         }

Modified: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/CodegenFrame.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/CodegenFrame.java?view=diff&rev=552681&r1=552680&r2=552681
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/CodegenFrame.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/CodegenFrame.java
Mon Jul  2 23:12:14 2007
@@ -21,6 +21,7 @@
 import org.apache.axis2.tools.bean.WsdlgenBean;
 import org.apache.axis2.tools.bean.CodegenBean;
 import org.apache.axis2.tools.idea.FirstPanel;
+import org.apache.axis2.tools.idea.ChooserPanel;
 import org.apache.axis2.tools.component.Utilities;
 import org.apache.axis2.tools.component.WizardPanel;
 
@@ -52,10 +53,10 @@
 
         wsdlgenBean= new WsdlgenBean();
         codegenBean = new CodegenBean();
-       /*
+
         panel = new ChooserPanel(getWizardComponents());
         getWizardComponents().addWizardPanel(PANEL_CHOOSER , panel);
-
+      /*
         panel = new FirstPanel(getWizardComponents(),codegenBean);
         getWizardComponents().addWizardPanel(PANEL_FIRST_A , panel);
 
@@ -74,7 +75,7 @@
         panel = new J2WLocationWizardPanel(getWizardComponents(),wsdlgenBean);
         getWizardComponents().addWizardPanel(PANEL_LAST_B , panel);*/
 
-        setSize(550, 200);
+        setSize(650, 600);
         Utilities.centerComponentOnScreen(this);
 
     }

Modified: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java?view=diff&rev=552681&r1=552680&r2=552681
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java
Mon Jul  2 23:12:14 2007
@@ -18,10 +18,7 @@
  */
 package org.apache.axis2.tools.wizardframe;
 
-import org.apache.axis2.tools.component.CancelAction;
-import org.apache.axis2.tools.component.WizardComponents;
-import org.apache.axis2.tools.component.FinishAction;
-import org.apache.axis2.tools.component.DefaultWizardComponents;
+import org.apache.axis2.tools.component.*;
 
 import javax.swing.*;
 import java.awt.*;
@@ -34,6 +31,15 @@
  * wizardFrame class
  */
 public class WizardFrame extends JFrame {
+     /**
+     * variable
+     */
+
+    private JLabel panelImageLabel;
+    private JLabel panelTopTitleLabel;
+    private JLabel panelBottomTitleLabel;
+    private JLabel errorLabel;
+    private JPanel errorPanel;
     private WizardComponents wizardComponents;
 
     public WizardFrame() {
@@ -45,25 +51,25 @@
         wizardComponents = new DefaultWizardComponents();
 
         this.getContentPane().setLayout(new GridBagLayout());
-       /* this.getContentPane().add(new ImagePanel(wizardComponents)
+        this.getContentPane().add(createTitlePanel()
                 , new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0
-                , GridBagConstraints.NORTH, GridBagConstraints.BOTH
+                , GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL
                 , new Insets(0, 0, 0, 0), 0, 0));
 
         this.getContentPane().add(new JSeparator()
                 , new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0
                 , GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
-                new Insets(1, 1, 1, 1), 0, 0));
+                new Insets(0, 0, 0, 0), 0, 0));
 
         this.getContentPane().add(wizardComponents.getWizardPanelsContainer()
                 , new GridBagConstraints(0, 2, 1, 1, 1.0, 1.0
-                , GridBagConstraints.PAGE_START , GridBagConstraints.BOTH
+                , GridBagConstraints.NORTHWEST , GridBagConstraints.NONE
                 , new Insets(10, 0, 0, 0), 0, 0));
 
-        this.getContentPane().add(new ProgressBarPanel(wizardComponents)
+       /* this.getContentPane().add(new ProgressBarPanel(wizardComponents)
                 , new GridBagConstraints(0, 3, 1, 1, 1.0, 0.0
                 , GridBagConstraints.CENTER, GridBagConstraints.NONE
-                , new Insets(10, 0, 0, 0), 0, 0));
+                , new Insets(10, 0, 0, 0), 0, 0));  */
 
         this.getContentPane().add(new JSeparator()
                 , new GridBagConstraints(0, 4, 1, 1, 1.0, 0.0
@@ -73,14 +79,18 @@
         this.getContentPane().add(createButtonPanel(),
                 new GridBagConstraints(0, 5, 1, 1, 1.0, 0.0
                         ,GridBagConstraints.EAST, GridBagConstraints.NONE,
-                        new Insets(20, 20, 20, 20), 0, 0));*/
+                        new Insets(20, 20, 20, 20), 0, 0));
 
         ImageIcon  img=new ImageIcon("icons/icon.png");
         this.setIconImage(img.getImage());
 
         wizardComponents.addPropertyChangeListener(new PropertyChangeListener() {
             public void propertyChange(PropertyChangeEvent event) {
-
+                setPanelTopTitle(((WizardPanel)event.getNewValue()).getPanelTopTitle());
+                setPanelTitleImage(((WizardPanel)event.getNewValue()).getPanelImage());
+                setPanelBottomTitle(((WizardPanel)event.getNewValue()).getPanelBottomTitle());
+                setErrorVisible(false
+                        ,((WizardPanel)event.getNewValue()).getError());
             }
         });
         wizardComponents.setFinishAction(createFinishAction());
@@ -100,7 +110,77 @@
         wizardComponents.updateComponents();
         super.show();
     }
+      // set error message
+    protected void setErrorVisible(boolean flag ,String  error){
+        errorLabel.setText(error);
+        errorPanel.setVisible(flag);
+
+    }
+    protected void setBottomVisible(boolean flag){
+        panelBottomTitleLabel.setVisible(flag);
+    }
+    //Set Title Panel
+    protected void setPanelTopTitle(String title) {
+        panelTopTitleLabel.setText(title);
+    }
+
+    protected void setPanelBottomTitle(String title) {
+        panelBottomTitleLabel.setText(title);
+    }
+    // set title image
+    protected void setPanelTitleImage(ImageIcon image){
+        panelImageLabel.setIcon(image );
+    }
+
+     protected JPanel createTitlePanel() {
+
+        JPanel panel = new JPanel(new GridBagLayout() );
+
+        panel.setBackground(Color.white );
+
+        panelTopTitleLabel = new JLabel();
 
+        panelBottomTitleLabel=new JLabel();
+
+        panelImageLabel= new JLabel();
+
+        errorLabel = new JLabel();
+        errorLabel.setVisible(false);
+        errorLabel.setBackground(Color.blue);
+
+        errorPanel =new JPanel();
+        errorPanel .setLayout(new GridBagLayout());
+        errorPanel .setBorder(BorderFactory.createLineBorder(Color.black));
+
+        errorPanel.add(errorLabel,
+                new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
+                , GridBagConstraints.CENTER, GridBagConstraints.BOTH
+                , new Insets(10, 10, 0, 10), 0, 0));
+
+        panel.add(panelTopTitleLabel
+                , new GridBagConstraints(0, 0, 1, 1, 0.5, 0.0
+                , GridBagConstraints.LINE_START , GridBagConstraints.BOTH
+                , new Insets(10, 20, 0, 0), 0, 0));
+
+        panel.add(panelBottomTitleLabel
+                , new GridBagConstraints(0, 1, 1, 1, 0.5, 0.0
+                , GridBagConstraints.LINE_START, GridBagConstraints.BOTH
+                , new Insets(10,20, 0, 0), 0, 0));
+
+        panel.add(panelImageLabel
+                , new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0
+                , GridBagConstraints.CENTER, GridBagConstraints.BOTH
+                , new Insets(0, 0, 0, 0), 0, 0));
+
+
+        panel.add(errorPanel
+                , new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0
+                , GridBagConstraints.SOUTH, GridBagConstraints.BOTH
+                , new Insets(20, 0, 0, 0), 0, 0));
+
+        return panel;
+
+    }
     protected JPanel createButtonPanel() {
         JPanel panel = new JPanel(new GridLayout());
         panel.add(wizardComponents.getBackButton());

Modified: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/frames/Axi2PluginPage.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/frames/Axi2PluginPage.java?view=diff&rev=552681&r1=552680&r2=552681
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/frames/Axi2PluginPage.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/frames/Axi2PluginPage.java
Mon Jul  2 23:12:14 2007
@@ -21,6 +21,7 @@
 import com.intellij.openapi.project.Project;
 import org.apache.axis2.tools.idea.Java2CodeFrame;
 import org.apache.axis2.tools.java2wsdl.Java2WSDLFrame;
+import org.apache.axis2.tools.wizardframe.CodegenFrame;
 
 
 import javax.swing.*;
@@ -36,14 +37,12 @@
 public class Axi2PluginPage extends JFrame implements ActionListener {
     ButtonGroup cbg;
     JRadioButton service;
-    JRadioButton wsdlGen;
-    JRadioButton sourceGen;
+    JRadioButton codeGen;
     JButton butOK;
     JButton butCancle;
     JPanel imglbl;
     Project project;
-    Java2CodeFrame winj2c;
-    Java2WSDLFrame winj2w;
+    CodegenFrame codegenFrame;
 
     private int defaultCloseOperation;
 
@@ -62,22 +61,18 @@
 
         /*Create a service archive Radio Button  */
 
-        service = new JRadioButton("Create a service archive", true);
+        service = new JRadioButton("Axis2 Aervice Archive", true);
         service.setToolTipText("Hepls package classes, libs and WSDLs to create a archive
that can be deployed in Axis2");
         cbg.add(service);
         getContentPane().add(service);
 
         /*Create a Code code generation Radio Button */
 
-        wsdlGen = new JRadioButton("Generate a WSDL from a java source file", false);
-        wsdlGen.setToolTipText("you can generate a WSDL from a java source file ");
-        cbg.add(wsdlGen);
-        getContentPane().add(wsdlGen);
-
-        sourceGen =new JRadioButton("Generate java source code from a WSDL file",true);
-        sourceGen.setToolTipText("you can generate java code from a WSDL");
-        cbg.add(sourceGen);
-        getContentPane().add(sourceGen);
+        codeGen = new JRadioButton("Axis2 Code Generator", false);
+        codeGen.setToolTipText("you can generate a WSDL from a java source file or java code
from a WSDL ");
+        cbg.add(codeGen);
+        getContentPane().add(codeGen);
+
 
 
         butOK = new JButton("OK");
@@ -135,24 +130,10 @@
         } else if (obj == butOK) {
             this.hide();
             setVisible(false);
-            if (wsdlGen.isSelected()) {                
-
-                winj2c = new Java2CodeFrame();
-                winj2c.setResizable(false);
-                winj2c.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
-                winj2c.setProject(project);
-                winj2c.pack();
-                winj2c.show();
-                
-            } else if (sourceGen.isSelected() ) {
-
-                winj2w = new Java2WSDLFrame();
-                winj2w.setResizable(false);
-                winj2w.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
-                winj2w.setProject(project);
-                winj2w.pack();
-                winj2w.show();
-
+            if (codeGen.isSelected()) {
+                codegenFrame = new CodegenFrame();
+                codegenFrame.setVisible(true);
+                codegenFrame .setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);           
    
             }else{
                 ServiceArciveFrame window = new ServiceArciveFrame();
                 window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
@@ -205,19 +186,15 @@
         if (c.isVisible()) {
             c.setBounds(insets.left + 24, insets.top + 136, 296, 24);
         }
-         c = parent.getComponent(2);
-        if (c.isVisible()) {
-            c.setBounds(insets.left + 24, insets.top + 168, 296, 24);
-        }
-        c = parent.getComponent(3);
+        c = parent.getComponent(2);
         if (c.isVisible()) {
             c.setBounds(insets.left + 130, insets.top + 210, 80, 24);
         }
-        c = parent.getComponent(4);
+        c = parent.getComponent(3);
         if (c.isVisible()) {
             c.setBounds(insets.left + 215, insets.top + 210, 80, 24);
         }
-        c = parent.getComponent(5);
+        c = parent.getComponent(4);
         if (c.isVisible()) {
             c.setBounds(insets.left, insets.top, 320, 80);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message