axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/utils tcpmon.java
Date Wed, 09 May 2001 20:52:16 GMT
dug         01/05/09 13:52:16

  Modified:    java/src/org/apache/axis/utils tcpmon.java
  Log:
  Remove xml format button in favor of the check box
  
  Revision  Changes    Path
  1.6       +0 -18     xml-axis/java/src/org/apache/axis/utils/tcpmon.java
  
  Index: tcpmon.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/tcpmon.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- tcpmon.java	2001/05/09 20:45:35	1.5
  +++ tcpmon.java	2001/05/09 20:52:12	1.6
  @@ -375,7 +375,6 @@
   
             listener.removeButton.setEnabled(false);
             listener.removeAllButton.setEnabled(true);
  -          // listener.xmlFormatButton.setEnabled(true);
             listener.saveButton.setEnabled(true);
             listener.outPane.setDividerLocation(divLoc);
             listener.outPane.setVisible( true );
  @@ -515,7 +514,6 @@
       public  JButton     stopButton      = null ;
       public  JButton     removeButton    = null ;
       public  JButton     removeAllButton = null ;
  -    // public  JButton     xmlFormatButton = null ;
       public  JCheckBox   xmlFormatBox    = null ;
       public  JButton     saveButton      = null ;
       public  JButton     switchButton    = null ;
  @@ -611,7 +609,6 @@
               setRight( new JLabel("") );
               removeButton.setEnabled(false);
               removeAllButton.setEnabled(false);
  -            // xmlFormatButton.setEnabled(false);
               saveButton.setEnabled(false);
             }
             else {
  @@ -622,7 +619,6 @@
                   setRight(new JLabel(""));
                   removeButton.setEnabled(false);
                   removeAllButton.setEnabled(false);
  -                // xmlFormatButton.setEnabled(false);
                   saveButton.setEnabled(false);
                 }
                 else {
  @@ -631,7 +627,6 @@
                   setRight( conn.outputScroll );
                   removeButton.setEnabled(false);
                   removeAllButton.setEnabled(true);
  -                // xmlFormatButton.setEnabled(true);
                   saveButton.setEnabled(true);
                 }
               }
  @@ -641,7 +636,6 @@
                 setRight( conn.outputScroll );
                 removeButton.setEnabled(true);
                 removeAllButton.setEnabled(true);
  -              // xmlFormatButton.setEnabled(true);
                 saveButton.setEnabled(true);
               }
             }
  @@ -699,7 +693,6 @@
         JPanel bottomButtons = new JPanel();
         bottomButtons.setLayout( new BoxLayout(bottomButtons, BoxLayout.X_AXIS));
         bottomButtons.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
  -      // bottomButtons.add( xmlFormatButton = new JButton( "XML Format" ) );
         bottomButtons.add( xmlFormatBox = new JCheckBox( "XML Format" ) );
         bottomButtons.add( Box.createRigidArea(new Dimension(5,0)) );
         bottomButtons.add( saveButton = new JButton( "Save" ) );
  @@ -709,13 +702,6 @@
         bottomButtons.add( closeButton = new JButton( "Close" ) );
         pane2.add( bottomButtons, BorderLayout.SOUTH );
   
  -      // xmlFormatButton.setEnabled( false );
  -      // xmlFormatButton.addActionListener( new ActionListener() {
  -          // public void actionPerformed(ActionEvent event) {
  -            // if ( "XML Format".equals(event.getActionCommand()) ) xmlFormat();
  -          // };
  -        // });
  -
         saveButton.setEnabled( false );
         saveButton.addActionListener( new ActionListener() {
             public void actionPerformed(ActionEvent event) {
  @@ -828,10 +814,6 @@
         lsm.clearSelection();
         lsm.setSelectionInterval(0,0);
       }
  -
  -    // public void xmlFormat() {
  -      // System.err.println("Formatting...");
  -    // }
   
       public void save() {
         JFileChooser  dialog = new JFileChooser( "." );
  
  
  

Mime
View raw message