chrisw 2003/10/12 11:30:02 Modified: src/java/org/apache/tools/ant/gui/resources antidote.properties src/java/org/apache/tools/ant/gui/core ActionManager.java src/java/org/apache/tools/ant/gui/command ShowOrHideConsoleCmd.java src/java/org/apache/tools/ant/gui/modules Reopener.java src/java/org/apache/tools/ant/gui About.java Added: src/java/org/apache/tools/ant/gui/resources antidote_de.properties action_de.properties empty.gif Log: German i18n, i18n completion and fixes. Revision Changes Path 1.8 +3 -1 ant-antidote/src/java/org/apache/tools/ant/gui/resources/antidote.properties Index: antidote.properties =================================================================== RCS file: /home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/resources/antidote.properties,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- antidote.properties 13 Jan 2003 13:31:24 -0000 1.7 +++ antidote.properties 12 Oct 2003 18:30:02 -0000 1.8 @@ -153,8 +153,10 @@ org.apache.tools.ant.gui.About.antVersion=Ant Version org.apache.tools.ant.gui.About.antDate=Ant Build Date org.apache.tools.ant.gui.About.message=\ - Copyright © 2003 The Apache Software Foundation. All rights reserved.
For more informations visit ant.apache.org
+ Copyright © 2003 The Apache Software Foundation. All rights reserved.
For more informations visit http://ant.apache.org
org.apache.tools.ant.gui.About.operatingSystem=Operating System org.apache.tools.ant.gui.About.freeMemory=Free Memory org.apache.tools.ant.gui.About.totalMemory=Total Memory +org.apache.tools.ant.gui.About.info=Info +org.apache.tools.ant.gui.About.about=About 1.1 ant-antidote/src/java/org/apache/tools/ant/gui/resources/antidote_de.properties Index: antidote_de.properties =================================================================== # This is the general properties file for the Antidote application. #debug=true # The following four module properties configure those properties that # should be initialized and displayed by default by the GUI. If more # than one module is configured for a property (as indicated providing # class names as a comma delimited list), then each module will appear # in its own tab in a JTabbedPane. # Configure the modules that appear on the right of the UI. org.apache.tools.ant.gui.Antidote.right.modules=\ org.apache.tools.ant.gui.modules.edit.PropertyEditor # Configure the modules that appear on the left of the UI. org.apache.tools.ant.gui.Antidote.left.modules=\ org.apache.tools.ant.gui.modules.edit.ElementNavigator # Configure the modules that appear on the bottom of the UI. org.apache.tools.ant.gui.Antidote.bottom.modules=\ org.apache.tools.ant.gui.modules.console.BuildConsole # Configure the modules that appear on the top of the UI. org.apache.tools.ant.gui.Antidote.top.modules=\ org.apache.tools.ant.gui.modules.TargetMonitor org.apache.tools.ant.gui.modules.edit.PropertyEditor.name=Properties # Configure the modules that do not have a UI. org.apache.tools.ant.gui.Antidote.hidden.modules=\ org.apache.tools.ant.gui.modules.ProjectMonitor,\ org.apache.tools.ant.gui.modules.Reopener # Configure the Reopener module org.apache.tools.ant.gui.modules.Reopener.menuName=Erneut öffnen org.apache.tools.ant.gui.modules.Reopener.icon=empty.gif org.apache.tools.ant.gui.modules.Reopener.insertAfterMenuName=Öffnen # DependentTargetChooser part of the DependentTargetPropertyEditor org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.ok=OK org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.cancel=Abbrechen org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.target=Target org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.description=Beschreibung org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.upIcon=up.gif org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.downIcon=down.gif org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.addIcon=enter.gif org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.removeIcon=exit.gif org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.up=Target nach oben schieben org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.down=Target nach unten schieben org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.add=Target hinzufügen org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.remove=Target entfernen org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.selection=Auswahl org.apache.tools.ant.gui.modules.edit.ElementNavigator.name=Projekt org.apache.tools.ant.gui.modules.edit.ElementNavigator.popupActions=\ newTarget, newTask, newProperty org.apache.tools.ant.gui.modules.TargetMonitor.name=Ausgewählte Target(s) org.apache.tools.ant.gui.modules.TargetMonitor.defText=[none] org.apache.tools.ant.gui.modules.console.BuildConsole.name=Protokollfenster org.apache.tools.ant.gui.modules.console.BuildConsole.clearLog=\ Protokoll löschen org.apache.tools.ant.gui.modules.console.BuildConsole.logLevel=\ Detailstufe des Protokolls: org.apache.tools.ant.gui.core.XMLFileFilter.description=XML Dateien org.apache.tools.ant.gui.core.ProjectSelectionMenu.name=Projekte org.apache.tools.ant.gui.command.LoadFileCmd.noFile=\ Die Datei "{0}" wurde nicht gefunden. org.apache.tools.ant.gui.command.LoadFileCmd.loadError=\ Die Datei "{0}" konte nicht geladen werden. org.apache.tools.ant.gui.command.DisplayErrorCmd.title=Antidote Fehler... org.apache.tools.ant.gui.command.DisplayErrorCmd.expand=Details >> org.apache.tools.ant.gui.command.SaveCmd.saveError=Konnte nicht unter dem Namen "{0}" abgespeichert werden. org.apache.tools.ant.gui.command.SaveCmd.noProject=Kein Projekt zum speichern vorhanden. org.apache.tools.ant.gui.command.SaveCmd.title=Überschreiben? org.apache.tools.ant.gui.command.SaveCmd.overwrite=Soll die Datei "{0}" überschrieben werden? # Properties file for BeanInfo strings org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.beanName=Target org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.beanDescription=\ Ein ausführbares Target in der Build-Datei. org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.name=Name org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.description=Beschreibung org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.depends=Abhängigkeiten org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.if=Wenn-Bedingung org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.unless=Bis-Bedingund org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.xmlString=XML Text org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.icon=target.gif org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.icon_open=target_open.gif org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.beanName=Projekt org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.beanDescription=\ Das oberste Element "Projekt" in der Defi ition des "Build"-Vorgangs. org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.name=Name org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.description=Beschreibung org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.basedir=Basis Verzeichnis org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.default=Standard Target org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.icon=project.gif org.apache.tools.ant.gui.acs.ACSProjectElementBeanInfo.icon_open=project_open.gif org.apache.tools.ant.gui.acs.ACSPropertyElementBeanInfo.beanName=Eigenschaft org.apache.tools.ant.gui.acs.ACSPropertyElementBeanInfo.beanDescription=\ Eine beschreibende Eigenschaft für den Build-Prozess. org.apache.tools.ant.gui.acs.ACSPropertyElementBeanInfo.name=Name org.apache.tools.ant.gui.acs.ACSPropertyElementBeanInfo.value=Wert org.apache.tools.ant.gui.acs.ACSPropertyElementBeanInfo.file=Datei org.apache.tools.ant.gui.acs.ACSPropertyElementBeanInfo.namedValues=\ Attribute org.apache.tools.ant.gui.acs.ACSPropertyElementBeanInfo.icon=property.gif org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.beanName=Task org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.beanDescription=\ Ein auszuführender Task org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.taskType=Type org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.namedValues=Attribute org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.xmlString=XML Text org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.icon=task.gif org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.icon_open=task_open.gif org.apache.tools.ant.gui.acs.ACSDtdDefinedElementBeanInfo.beanName= org.apache.tools.ant.gui.acs.ACSDtdDefinedElementBeanInfo.beanDescription=\ org.apache.tools.ant.gui.acs.ACSDtdDefinedElementBeanInfo.taskType=Type org.apache.tools.ant.gui.acs.ACSDtdDefinedElementBeanInfo.namedValues=\ Attribute org.apache.tools.ant.gui.acs.ACSDtdDefinedElementBeanInfo.xmlString=XML Text org.apache.tools.ant.gui.acs.ACSDtdDefinedElementBeanInfo.icon=default.gif org.apache.tools.ant.gui.acs.ACSIntrospectedElementBeanInfo.beanName= org.apache.tools.ant.gui.acs.ACSIntrospectedElementBeanInfo.beanDescription=\ org.apache.tools.ant.gui.acs.ACSIntrospectedElementBeanInfo.taskType=Typ org.apache.tools.ant.gui.acs.ACSIntrospectedElementBeanInfo.namedValues=\ Attribute org.apache.tools.ant.gui.acs.ACSIntrospectedElementBeanInfo.xmlString=XML Text org.apache.tools.ant.gui.acs.ACSIntrospectedElementBeanInfo.icon=default.gif org.apache.tools.ant.gui.command.NewProjectCmd.defName=Neues Projekt org.apache.tools.ant.gui.command.NewTargetCmd.defName=Neues Target #---------------------------------------------------------------------------- # About Description (NB: this is only a temporary approach). #---------------------------------------------------------------------------- org.apache.tools.ant.gui.About.title=Über org.apache.tools.ant.gui.About.version=Version org.apache.tools.ant.gui.About.date=Build Datum org.apache.tools.ant.gui.About.antVersion=Ant Version org.apache.tools.ant.gui.About.antDate=Ant Build Datum org.apache.tools.ant.gui.About.message=\ Copyright © 2003 The Apache Software Foundation. Alle Rechte vorbehalten.
Für mehr Informationen besuchen Sie http://ant.apache.org
org.apache.tools.ant.gui.About.operatingSystem=Betriebssystem org.apache.tools.ant.gui.About.freeMemory=Freier Speicher org.apache.tools.ant.gui.About.totalMemory=Reservierter Speicher org.apache.tools.ant.gui.About.info=Information org.apache.tools.ant.gui.About.about=Über 1.1 ant-antidote/src/java/org/apache/tools/ant/gui/resources/action_de.properties Index: action_de.properties =================================================================== # Define the primary menubar items. menus=Datei, Anzeige, Build, Projekte, Hilfe # Declare the list of known actions. actions=\ new, open, save, saveas, close, exit, about, \ default, newTarget, newElement, newProperty, deleteElement, \ startBuild, stopBuild, viewConsole # Configure the decalred actions. new.name=Neues Projekt... new.shortDescription=Neues Projekt erstellen new.parentMenuName=Datei new.icon=new-project.gif new.accelerator=control N new.enabled=true new.command=org.apache.tools.ant.gui.command.NewProjectCmd open.name=Öffnen... open.shortDescription=Ein bestehendes Projekt öffen open.parentMenuName=Datei open.icon=open.gif open.accelerator=control O open.enabled=true open.command=org.apache.tools.ant.gui.command.OpenCmd save.name=Speichern save.shortDescription=Speichern des aktuellen Projektes save.parentMenuName=Datei save.icon=save.gif save.accelerator=control S save.command=org.apache.tools.ant.gui.command.SaveCmd save.enabled=false save.disableOn= \ org.apache.tools.ant.gui.event.ProjectClosedEvent, \ org.apache.tools.ant.gui.event.BuildStartedEvent save.enableOn= \ org.apache.tools.ant.gui.event.ProjectSelectedEvent, \ org.apache.tools.ant.gui.event.NewProjectEvent, \ org.apache.tools.ant.gui.event.BuildFinishedEvent saveas.name=Speichern unter... saveas.shortDescription=Unter einem bestimmten Namen speichern saveas.parentMenuName=Datei saveas.command=org.apache.tools.ant.gui.command.SaveAsCmd saveas.enabled=false saveas.disableOn= \ org.apache.tools.ant.gui.event.ProjectClosedEvent, \ org.apache.tools.ant.gui.event.BuildStartedEvent saveas.enableOn= \ org.apache.tools.ant.gui.event.ProjectSelectedEvent, \ org.apache.tools.ant.gui.event.NewProjectEvent, \ org.apache.tools.ant.gui.event.BuildFinishedEvent close.name=Schließen close.shortDescription=Das aktuelle Projekt schließen close.parentMenuName=Datei close.command=org.apache.tools.ant.gui.command.CloseCmd close.enabled=false close.disableOn= \ org.apache.tools.ant.gui.event.ProjectClosedEvent, \ org.apache.tools.ant.gui.event.BuildStartedEvent close.enableOn= \ org.apache.tools.ant.gui.event.ProjectSelectedEvent, \ org.apache.tools.ant.gui.event.NewProjectEvent, \ org.apache.tools.ant.gui.event.BuildFinishedEvent exit.name=Beenden exit.shortDescription=Anwendung beenden exit.parentMenuName=Datei exit.separator=true exit.command=org.apache.tools.ant.gui.command.ExitCmd exit.enabled=true about.name=Über... about.shortDescription=Informationen über diese Anwendung about.parentMenuName=Hilfe about.separator=true; about.enabled=true about.command=org.apache.tools.ant.gui.command.AboutCmd startBuild.name=Build-Vorgang starten startBuild.shortDescription=Build-Vorgang für das ausgewählte "Target" starten startBuild.parentMenuName=Build startBuild.icon=start.gif startBuild.separator=true startBuild.accelerator=control B startBuild.command=org.apache.tools.ant.gui.command.BuildCmd startBuild.enabled=false startBuild.enableOn=\ org.apache.tools.ant.gui.event.ProjectSelectedEvent, \ org.apache.tools.ant.gui.event.NewProjectEvent, \ org.apache.tools.ant.gui.event.BuildFinishedEvent startBuild.disableOn=\ org.apache.tools.ant.gui.event.BuildStartedEvent, \ org.apache.tools.ant.gui.event.ProjectClosedEvent stopBuild.name=Build-Vorgang stoppen stopBuild.shortDescription=Aktuellen Build-Vorgang starten stopBuild.parentMenuName=Build stopBuild.icon=stop.gif stopBuild.accelerator=control K stopBuild.enabled=false stopBuild.enableOn=\ org.apache.tools.ant.gui.event.BuildStartedEvent stopBuild.disableOn=\ org.apache.tools.ant.gui.event.BuildFinishedEvent newTarget.name=Neues Target newTarget.shortDescription=Neues Target erstellen newTarget.icon=new-target.gif newTarget.enabled=false newTarget.separator=true newTarget.command=org.apache.tools.ant.gui.command.NewTargetCmd newTarget.enableOn=\ org.apache.tools.ant.gui.event.ProjectSelectedEvent, \ org.apache.tools.ant.gui.event.NewProjectEvent newTarget.disableOn=\ org.apache.tools.ant.gui.event.TargetSelectionEvent, \ org.apache.tools.ant.gui.event.TaskSelectionEvent, \ org.apache.tools.ant.gui.event.PropertySelectionEvent, \ org.apache.tools.ant.gui.event.ProjectClosedEvent, \ org.apache.tools.ant.gui.event.NullSelectionEvent, \ org.apache.tools.ant.gui.event.IntrospectedElementSelectionEvent newTask.name=Neuer Task newTask.shortDescription=Einen neuen Task unter dem ausgewählten Target anlegen newTask.icon=new-task.gif newTask.enabled=false newTask.command=org.apache.tools.ant.gui.command.NewTaskCmd newTask.enableOn=\ org.apache.tools.ant.gui.event.TargetSelectionEvent newTask.disableOn=\ org.apache.tools.ant.gui.event.ProjectClosedEvent, \ org.apache.tools.ant.gui.event.TaskSelectionEvent, \ org.apache.tools.ant.gui.event.PropertySelectionEvent, \ org.apache.tools.ant.gui.event.NullSelectionEvent, \ org.apache.tools.ant.gui.event.IntrospectedElementSelectionEvent property.name=Neue Property property.shortDescription=Neue Property unter dem ausgewählten Element anlegen property.icon=new-property.gif property.command=org.apache.tools.ant.gui.command.NewPropertyCmd newProperty.name=Neue Property newProperty.shortDescription=Neue Property unter dem ausgewählten Element anlegen newProperty.icon=new-property.gif newProperty.command=org.apache.tools.ant.gui.command.NewPropertyCmd newProperty.enabled=false newProperty.enableOn=\ org.apache.tools.ant.gui.event.ProjectSelectedEvent, \ org.apache.tools.ant.gui.event.NewProjectEvent, \ org.apache.tools.ant.gui.event.TargetSelectionEvent, \ org.apache.tools.ant.gui.event.TaskSelectionEvent newProperty.disableOn=\ org.apache.tools.ant.gui.event.PropertySelectionEvent, \ org.apache.tools.ant.gui.event.ProjectClosedEvent, \ org.apache.tools.ant.gui.event.NullSelectionEvent, \ org.apache.tools.ant.gui.event.IntrospectedElementSelectionEvent default.name=Neues Element default.shortDescription=Neues Element unter dem ausgewählten Element anlegen default.icon=new-element.gif default.command=org.apache.tools.ant.gui.command.NewElementCmd default.enabled=true default.hidden=true default.popupSeparator=true newElement.name=Neues Element newElement.shortDescription=Neues Element unter dem ausgewählten Element anlegen newElement.icon=add-element.gif newElement.command=org.apache.tools.ant.gui.command.NewElementCmd newElement.enabled=true newElement.hidden=true newElement.popupSeparator=true deleteElement.name=Element löschen deleteElement.shortDescription=Das ausgewählte Element löschen deleteElement.icon=delete.gif deleteElement.command=org.apache.tools.ant.gui.command.DeleteElementCmd deleteElement.enabled=true deleteElement.hidden=true deleteElement.popupSeparator=true viewConsole.name=Protokoll viewConsole.shortDescription=Protokollfenster anzeigen oder ausblenden viewConsole.parentMenuName=Anzeige viewConsole.icon=console.gif viewConsole.separator=true viewConsole.accelerator=control C viewConsole.enabled=true viewConsole.toggle=true viewConsole.initalToggleValue=true viewConsole.command=org.apache.tools.ant.gui.command.ShowOrHideConsoleCmd viewConsole.checkedTrueOn=\ org.apache.tools.ant.gui.event.ConsoleVisibleEvent viewConsole.checkedFalseOn=\ org.apache.tools.ant.gui.event.ConsoleNotVisibleEvent 1.1 ant-antidote/src/java/org/apache/tools/ant/gui/resources/empty.gif <> 1.4 +5 -3 ant-antidote/src/java/org/apache/tools/ant/gui/core/ActionManager.java Index: ActionManager.java =================================================================== RCS file: /home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/core/ActionManager.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ActionManager.java 10 Feb 2003 14:35:02 -0000 1.3 +++ ActionManager.java 12 Oct 2003 18:30:02 -0000 1.4 @@ -168,7 +168,7 @@ // See if we should add a separator. if(action.isPreceededBySeparator() && - menu.getMenuComponentCount() > 0) { + menu.getMenuComponentCount() > 0) { menu.addSeparator(); } @@ -176,6 +176,9 @@ JMenuItem item = menu.add(action); item.setAccelerator(action.getAccelerator()); addNiceStuff(item, action); + if(item.getIcon() == null) { + item.setIcon(_resources.loadImageIcon("empty.gif")); + } } else { JCheckBoxMenuItem b = @@ -192,7 +195,6 @@ addNiceStuff(b, action); menu.add(b); } - } } 1.4 +3 -2 ant-antidote/src/java/org/apache/tools/ant/gui/command/ShowOrHideConsoleCmd.java Index: ShowOrHideConsoleCmd.java =================================================================== RCS file: /home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/command/ShowOrHideConsoleCmd.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ShowOrHideConsoleCmd.java 28 Sep 2003 13:02:58 -0000 1.3 +++ ShowOrHideConsoleCmd.java 12 Oct 2003 18:30:02 -0000 1.4 @@ -61,6 +61,7 @@ import javax.swing.JSplitPane; import org.apache.tools.ant.gui.core.AppContext; +import org.apache.tools.ant.gui.modules.console.BuildConsole; /** * Toggles the display of the console window @@ -98,7 +99,7 @@ * If the console pane is not visible, show it. */ public void run() { - JComponent component = (JComponent) findComponent("Console"); + JComponent component = (JComponent) findComponent(getContext().getResources().getString(BuildConsole.class, "name")); JSplitPane pane = (JSplitPane) component.getParent(); if (_alwaysShow) { if (component.getHeight() == 0) { 1.6 +7 -1 ant-antidote/src/java/org/apache/tools/ant/gui/modules/Reopener.java Index: Reopener.java =================================================================== RCS file: /home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/modules/Reopener.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Reopener.java 29 Sep 2003 06:40:00 -0000 1.5 +++ Reopener.java 12 Oct 2003 18:30:02 -0000 1.6 @@ -63,6 +63,7 @@ import java.util.Set; import java.util.TreeMap; +import javax.swing.ImageIcon; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; @@ -97,6 +98,8 @@ = new SimpleDateFormat("yyyy.MM.dd G 'at' hh:mm:ss a zzz"); /** The title of our menu */ private String _menuName = null; + /** The icon of our menu */ + private ImageIcon _icon = null; /** The menu we put our menu after */ private String _insertAfterMenuName = null; /** The number of files to display */ @@ -155,6 +158,8 @@ context.getResources().getString(getClass(), "menuName"); _insertAfterMenuName = context.getResources().getString(getClass(), "insertAfterMenuName"); + _icon = + context.getResources().getImageIcon(getClass(), "icon"); context.getEventBus().addMember(EventBus.RESPONDING, new Handler()); } @@ -168,6 +173,7 @@ final String findName = _insertAfterMenuName; _menu = new JMenu(); _menu.setText(_menuName); + _menu.setIcon(_icon); // Load the list of files loadList(); 1.8 +7 -5 ant-antidote/src/java/org/apache/tools/ant/gui/About.java Index: About.java =================================================================== RCS file: /home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/About.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- About.java 13 Sep 2003 19:22:56 -0000 1.7 +++ About.java 12 Oct 2003 18:30:02 -0000 1.8 @@ -139,8 +139,8 @@ JTabbedPane mainTabbedPane = new JTabbedPane(); - mainTabbedPane.add("About", getImagePanel()); - mainTabbedPane.add("Info", getClientInfoPanel()); + mainTabbedPane.add(getResource("about", "About"), getImagePanel()); + mainTabbedPane.add(getResource("info", "Info"), getClientInfoPanel()); mainPanel.add(mainTabbedPane, BorderLayout.CENTER); @@ -204,15 +204,16 @@ clientTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); TableColumn col = new TableColumn(0); - col.setHeaderValue("Property"); + col.setHeaderValue(getResource("property", "Property")); col.setPreferredWidth(100); clientTable.getColumnModel().addColumn(col); col = new TableColumn(1); - col.setHeaderValue("Value"); + col.setHeaderValue(getResource("value", "Value")); col.setPreferredWidth(250); clientTable.getColumnModel().addColumn(col); + String [] dummy = {"",""}; String[][] data = new String[11][2]; data[0][0] = getResource("version", "Version"); @@ -245,6 +246,7 @@ }); clientTable.setRowSelectionAllowed(false); + clientTable.setTableHeader(null); JScrollPane tableScrollPane = new JScrollPane(clientTable); tableScrollPane.setPreferredSize(new Dimension(250, 100)); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org