Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /antelope/src/ise/antelope/common/, /antelope/src/ise/library/

antelope
Discussion topic

Back to topic list

CVS update: /antelope/src/ise/antelope/common/, /antelope/src/ise/library/

Author danson
Full name Dale Anson
Date 2004-05-30 07:20:52 PDT
Message User: danson
Date: 04/05/30 07:20:52

Modified:
 /antelope/src/ise/an​telope/common/
  SAXPanel.java, version.txt
 /antelope/src/ise/library/
  Nav.java

Log:
 fixed icon issue with Nav
 
 Issue number:
 Obtained from:
 Submitted by:
 Reviewed by:

File Changes:

Directory: /antelope/src/ise/an​telope/common/
====================​====================​=====

File [changed]: SAXPanel.java
Url: http://antelope.tigr​is.org/source/browse​/antelope/src/ise/an​telope/common/SAXPan​el.java?r1=1.12&​r2=1.13
Delta lines: +7 -11
--------------------
--- SAXPanel.java 30 May 2004 01:42:02 -0000 1.12
+++ SAXPanel.java 30 May 2004 14:20:51 -0000 1.13
@@ -51,12 +51,6 @@
                }
                                        );
           
- _nav = new Nav( this );
- JPanel bottom_panel = new JPanel( new LambdaLayout() );
- add( bottom_panel, BorderLayout.SOUTH );
- bottom_panel.add( show_attr_mi, "0,0" );
- bottom_panel.add( _nav, "1, 0" );
-
          MouseAdapter ma = new MouseAdapter() {
                   public void mouseClicked( MouseEvent evt ) {
                      int clicks = evt.getClickCount();
@@ -79,15 +73,11 @@
                      }
                   }
                   public void mousePressed( MouseEvent me ) {
- System.out.println("​mousePressed");
- System.out.println("​me.isPopupTrigger = " + me.isPopupTrigger());
                      if ( me.isPopupTrigger() ) {
                         showPopup( me );
                      }
                   }
                   public void mouseReleased( MouseEvent me ) {
- System.out.println("​mouseReleased");
- System.out.println("​me.isPopupTrigger = " + me.isPopupTrigger());
                      if ( me.isPopupTrigger() ) {
                         showPopup( me );
                      }
@@ -179,7 +169,13 @@
                ;
                
          tree.addMouseListener( ma );
- System.out.println("added mouse listener");
+
+ _nav = new Nav( this );
+ JPanel bottom_panel = new JPanel( new LambdaLayout() );
+ add( bottom_panel, BorderLayout.SOUTH );
+ bottom_panel.add( show_attr_mi, "0,0" );
+ bottom_panel.add( _nav, "1, 0" );
+
       }
       catch ( Exception e ) {
          e.printStackTrace();

File [changed]: version.txt
Url: http://antelope.tigr​is.org/source/browse​/antelope/src/ise/an​telope/common/versio​n.txt?r1=1.30&r2​=1.31
Delta lines: +1 -1
-------------------
--- version.txt 24 May 2004 13:03:07 -0000 1.30
+++ version.txt 30 May 2004 14:20:52 -0000 1.31
@@ -1,2 +1,2 @@
 VERSION=3.1.8
-DATE=May 23 2004
\ No newline at end of file
+DATE=May 29 2004
\ No newline at end of file

Directory: /antelope/src/ise/library/
====================​=================

File [changed]: Nav.java
Url: http://antelope.tigr​is.org/source/browse​/antelope/src/ise/li​brary/Nav.java?r1=1.​2&r2=1.3
Delta lines: +3 -6
-------------------
--- Nav.java 30 May 2004 01:42:02 -0000 1.2
+++ Nav.java 30 May 2004 14:20:52 -0000 1.3
@@ -49,9 +49,6 @@
      * @param client the client object to provide navigation for
      */
     public Nav( Navable client ) {
- if(true)
- throw new RuntimeException("got a new nav");
- System.out.println("new changes");
         if ( client == null )
             throw new IllegalArgumentException( "client cannot be null" );
         this.client = client;
@@ -64,7 +61,7 @@
         Icon icon = null;
         if ( url != null )
             icon = new ImageIcon( url );
- if (icon == null)
+ if (icon != null)
             back.setIcon( icon );
         else
             back.setText("<");
@@ -74,10 +71,10 @@
         icon = null;
         if ( url != null )
             icon = new ImageIcon( url );
- if (icon == null)
+ if (icon != null)
             forward.setIcon( icon );
         else
- forward.setText("<");
+ forward.setText(">");
 
         back.setMargin( new Insets( 0, 0, 0, 0 ) );
         forward.setMargin( new Insets( 0, 0, 0, 0 ) );




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@ante​lope.tigris.org
For additional commands, e-mail: cvs-help at antelope dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /antelope/src/ise/antelope/common/, /antelope/src/ise/library/ danson Dale Anson 2004-05-30 07:20:52 PDT
Messages per page: