Back to index

wims  3.65+svn20090927
ListAction.java
Go to the documentation of this file.
00001 package rene.gui;
00002 
00003 import java.awt.List;
00004 
00010 public class ListAction extends List
00011 {      public ListAction (DoActionListener c, String name)
00012        {      addActionListener(new ActionTranslator(c,name));
00013         if (Global.NormalFont!=null) setFont(Global.NormalFont);
00014               if (Global.Background!=null) setBackground(Global.Background);
00015        }
00016        public ListAction (DoActionListener c, String name, int n)
00017        {      super(n);     
00018               addActionListener(new ActionTranslator(c,name));
00019         if (Global.NormalFont!=null) setFont(Global.NormalFont);
00020               if (Global.Background!=null) setBackground(Global.Background);
00021        }
00022 }