From: Johannes Z. <jza...@us...> - 2006-02-28 12:40:36
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/gui/dialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6671/src/net/sf/magicmap/client/gui/dialogs Modified Files: InfoObjectDialog.java RFIDAntennaDialog.java Log Message: Index: RFIDAntennaDialog.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/gui/dialogs/RFIDAntennaDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RFIDAntennaDialog.java 28 Feb 2006 11:23:16 -0000 1.1 --- RFIDAntennaDialog.java 28 Feb 2006 12:40:29 -0000 1.2 *************** *** 4,10 **** package net.sf.magicmap.client.gui.dialogs; - import java.awt.Dialog; import java.awt.Frame; - import java.awt.GraphicsConfiguration; import java.awt.HeadlessException; import java.awt.event.ActionEvent; --- 4,8 ---- *************** *** 16,27 **** import javax.swing.JTextField; - import com.brunchboy.util.swing.relativelayout.RelativeLayout; - import net.sf.magicmap.client.gui.utils.GUIConstants; import net.sf.magicmap.client.gui.utils.GUIUtils; import net.sf.magicmap.client.gui.utils.RelativePanelBuilder; - import net.sf.magicmap.client.model.node.InfoObject; import net.sf.magicmap.client.model.node.RFIDAntenna; /** * @author Johannes Zapotoczky (joh...@za...) --- 14,24 ---- import javax.swing.JTextField; import net.sf.magicmap.client.gui.utils.GUIConstants; import net.sf.magicmap.client.gui.utils.GUIUtils; import net.sf.magicmap.client.gui.utils.RelativePanelBuilder; import net.sf.magicmap.client.model.node.RFIDAntenna; + import com.brunchboy.util.swing.relativelayout.RelativeLayout; + /** * @author Johannes Zapotoczky (joh...@za...) *************** *** 30,33 **** --- 27,35 ---- public class RFIDAntennaDialog extends JDialog implements ActionListener { + /** + * serial version id + */ + private static final long serialVersionUID = -1805244476536023692L; + private RFIDAntenna antenna; *************** *** 51,56 **** */ public RFIDAntennaDialog(Frame owner) { ! super(owner, GUIUtils.i18n("geopos")); ! this.setSize(300, 300); this.setResizable(false); --- 53,58 ---- */ public RFIDAntennaDialog(Frame owner) { ! super(owner, GUIUtils.i18n("rfidantenna")); ! this.setSize(250, 165); this.setResizable(false); *************** *** 68,73 **** // Kopf ! builder.addDialogHeader("<html><b>" + GUIUtils.i18n("setgeopos") + "</b><br>" ! + GUIUtils.i18n("setgeoposhint") + "</html>", GUIConstants.ICON_GEOPOS_BIG, "header"); builder.setTop("header", 0); builder.setLeft("header", 0); --- 70,75 ---- // Kopf ! builder.addDialogHeader("<html><b>" + GUIUtils.i18n("setrfidantenna") + "</b><br>" ! + GUIUtils.i18n("setrfidantennahint") + "</html>", GUIConstants.ICON_RFID_ANTENNA, "header"); builder.setTop("header", 0); builder.setLeft("header", 0); *************** *** 79,88 **** //id ! id = builder.addTextField("longitude"); ! builder.addLabel("Longitude", "longitudelabel", id); ! builder.setLeft("longitudelabel", 20); ! builder.setRightRightDistance("longitude", null, -20); ! builder.setTopBottomDistance("longitudelabel", "header", 20); ! builder.setTopBottomDistance("longitude", "header", 20); } --- 81,90 ---- //id ! id = builder.addTextField("id"); ! builder.addLabel("ID", "idlabel", id); ! builder.setLeft("idlabel", 20); ! builder.setRightRightDistance("id", null, -20); ! builder.setTopBottomDistance("idlabel", "header", 20); ! builder.setTopBottomDistance("id", "header", 20); } Index: InfoObjectDialog.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/gui/dialogs/InfoObjectDialog.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InfoObjectDialog.java 28 Feb 2006 11:23:16 -0000 1.1 --- InfoObjectDialog.java 28 Feb 2006 12:40:29 -0000 1.2 *************** *** 57,62 **** public InfoObjectDialog(JFrame owner) { ! super(owner, GUIUtils.i18n("geopos")); ! this.setSize(300, 300); this.setResizable(false); --- 57,62 ---- public InfoObjectDialog(JFrame owner) { ! super(owner, GUIUtils.i18n("infoobject")); ! this.setSize(250, 165); this.setResizable(false); *************** *** 74,79 **** // Kopf ! builder.addDialogHeader("<html><b>" + GUIUtils.i18n("setgeopos") + "</b><br>" ! + GUIUtils.i18n("setgeoposhint") + "</html>", GUIConstants.ICON_GEOPOS_BIG, "header"); builder.setTop("header", 0); builder.setLeft("header", 0); --- 74,79 ---- // Kopf ! builder.addDialogHeader("<html><b>" + GUIUtils.i18n("setinfoobject") + "</b><br>" ! + GUIUtils.i18n("setinfoobjecthint") + "</html>", GUIConstants.ICON_INFO, "header"); builder.setTop("header", 0); builder.setLeft("header", 0); *************** *** 85,94 **** //url ! url = builder.addTextField("longitude"); ! builder.addLabel("Longitude", "longitudelabel", url); ! builder.setLeft("longitudelabel", 20); ! builder.setRightRightDistance("longitude", null, -20); ! builder.setTopBottomDistance("longitudelabel", "header", 20); ! builder.setTopBottomDistance("longitude", "header", 20); } --- 85,94 ---- //url ! url = builder.addTextField("url"); ! builder.addLabel("URL", "urllabel", url); ! builder.setLeft("urllabel", 20); ! builder.setRightRightDistance("url", null, -20); ! builder.setTopBottomDistance("urllabel", "header", 20); ! builder.setTopBottomDistance("url", "header", 20); } |