You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by me...@apache.org on 2001/01/08 20:43:09 UTC

cvs commit: jakarta-ant/src/antidote/org/apache/tools/ant/gui Antidote.java Main.java

metasim     01/01/08 11:43:08

  Modified:    src/antidote/org/apache/tools/ant/gui Antidote.java
                        Main.java
  Log:
  Added *internal* support multiple projects, and generalized the selection
  state mechanism.
  
  Revision  Changes    Path
  1.8       +2 -2      jakarta-ant/src/antidote/org/apache/tools/ant/gui/Antidote.java
  
  Index: Antidote.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/Antidote.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Antidote.java	2001/01/03 14:18:16	1.7
  +++ Antidote.java	2001/01/08 19:43:06	1.8
  @@ -62,7 +62,7 @@
    * The root class for the Ant GUI. Assembles all the graphical components
    * based on the configuration files.
    * 
  - * @version $Revision: 1.7 $ 
  + * @version $Revision: 1.8 $ 
    * @author Simeon Fitch 
    */
   public class Antidote extends JPanel {
  @@ -100,7 +100,7 @@
   
           add(BorderLayout.NORTH, populateModules("top"));
   
  -        setPreferredSize(new Dimension(640, 600));
  +        setPreferredSize(new Dimension(640, 480));
       }
   
   
  
  
  
  1.10      +2 -2      jakarta-ant/src/antidote/org/apache/tools/ant/gui/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/Main.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Main.java	2001/01/03 14:18:16	1.9
  +++ Main.java	2001/01/08 19:43:07	1.10
  @@ -62,7 +62,7 @@
   /**
    * Launch point for the Antidote GUI. Configurs it as an application.
    * 
  - * @version $Revision: 1.9 $ 
  + * @version $Revision: 1.10 $ 
    * @author Simeon Fitch 
    */
   public class Main {
  @@ -87,7 +87,7 @@
                                      context.getActions().createToolBar());
   
               ImageIcon icon = 
  -                context.getResources().getImageIcon("icon-small.gif");
  +                context.getResources().loadImageIcon("icon-small.gif");
               if(icon != null) {
                   f.setIconImage(icon.getImage());
               }