<?xml version="1.0" encoding="UTF-8" ?> | |||||
<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> | |||||
<NonVisualComponents> | |||||
<Container class="javax.swing.JDialog" name="dlgFind"> | |||||
<Properties> | |||||
<Property name="title" type="java.lang.String" value="Search"/> | |||||
</Properties> | |||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> | |||||
<SubComponents> | |||||
<Component class="javax.swing.JTextField" name="tfSearchField"> | |||||
<Constraints> | |||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | |||||
<BorderConstraints direction="Center"/> | |||||
</Constraint> | |||||
</Constraints> | |||||
</Component> | |||||
<Container class="javax.swing.JPanel" name="pnlButtons"> | |||||
<Constraints> | |||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | |||||
<BorderConstraints direction="Last"/> | |||||
</Constraint> | |||||
</Constraints> | |||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout"> | |||||
<Property name="columns" type="int" value="2"/> | |||||
<Property name="rows" type="int" value="0"/> | |||||
</Layout> | |||||
<SubComponents> | |||||
<Component class="javax.swing.JButton" name="btnSearch"> | |||||
<Properties> | |||||
<Property name="text" type="java.lang.String" value="Search"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnCancel"> | |||||
<Properties> | |||||
<Property name="text" type="java.lang.String" value="Cancel"/> | |||||
</Properties> | |||||
</Component> | |||||
</SubComponents> | |||||
</Container> | |||||
</SubComponents> | |||||
</Container> | |||||
<Container class="javax.swing.JPopupMenu" name="popupmenu"> | |||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout"> | |||||
<Property name="useNullLayout" type="boolean" value="true"/> | |||||
</Layout> | |||||
<SubComponents> | |||||
<MenuItem class="javax.swing.JMenuItem" name="popOpen"> | |||||
<Properties> | |||||
<Property name="text" type="java.lang.String" value="Open"/> | |||||
<Property name="toolTipText" type="java.lang.String" value=""/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="popSave"> | |||||
<Properties> | |||||
<Property name="text" type="java.lang.String" value="Save"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
</SubComponents> | |||||
</Container> | |||||
<Menu class="javax.swing.JMenuBar" name="mnbMenu"> | |||||
<SubComponents> | |||||
<Menu class="javax.swing.JMenu" name="mniFile"> | |||||
<Properties> | |||||
<Property name="mnemonic" type="int" value="70"/> | |||||
<Property name="text" type="java.lang.String" value="File"/> | |||||
<Property name="toolTipText" type="java.lang.String" value=""/> | |||||
</Properties> | |||||
<SubComponents> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndNew"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+N"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/New24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="New"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndOpen"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+O"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Open24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="Open"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndSave"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+S"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Save24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="Save"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndPrint"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+P"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Print24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="Print"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
</SubComponents> | |||||
</Menu> | |||||
<Menu class="javax.swing.JMenu" name="mniEdit"> | |||||
<Properties> | |||||
<Property name="mnemonic" type="int" value="69"/> | |||||
<Property name="text" type="java.lang.String" value="Edit"/> | |||||
</Properties> | |||||
<SubComponents> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndDelete"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+D"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Delete24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="Delete"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndUndo"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+U"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Undo24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="Undo"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndRedo"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+R"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Redo24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="Redo"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndFind"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+F"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Search24.gif"/> | |||||
</Property> | |||||
<Property name="text" type="java.lang.String" value="Search"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
<MenuItem class="javax.swing.JMenuItem" name="mndEintrag"> | |||||
<Properties> | |||||
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor"> | |||||
<KeyStroke key="Ctrl+E"/> | |||||
</Property> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/table/RowInsertAfter24.gif"/> | |||||
</Property> | |||||
<Property name="actionCommand" type="java.lang.String" value="Entry"/> | |||||
<Property name="label" type="java.lang.String" value="Entry"/> | |||||
</Properties> | |||||
</MenuItem> | |||||
</SubComponents> | |||||
</Menu> | |||||
</SubComponents> | |||||
</Menu> | |||||
</NonVisualComponents> | |||||
<Properties> | |||||
<Property name="defaultCloseOperation" type="int" value="3"/> | |||||
<Property name="title" type="java.lang.String" value="Adressmanagment"/> | |||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> | |||||
<Dimension value="[800, 600]"/> | |||||
</Property> | |||||
</Properties> | |||||
<SyntheticProperties> | |||||
<SyntheticProperty name="menuBar" type="java.lang.String" value="mnbMenu"/> | |||||
<SyntheticProperty name="formSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,2,-92,0,0,3,-7"/> | |||||
<SyntheticProperty name="formSizePolicy" type="int" value="0"/> | |||||
<SyntheticProperty name="generateSize" type="boolean" value="true"/> | |||||
<SyntheticProperty name="generateCenter" type="boolean" value="true"/> | |||||
</SyntheticProperties> | |||||
<AuxValues> | |||||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | |||||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | |||||
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | |||||
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | |||||
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | |||||
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | |||||
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | |||||
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | |||||
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | |||||
</AuxValues> | |||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> | |||||
<SubComponents> | |||||
<Container class="javax.swing.JToolBar" name="tbBar"> | |||||
<Properties> | |||||
<Property name="rollover" type="boolean" value="true"/> | |||||
</Properties> | |||||
<Constraints> | |||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | |||||
<BorderConstraints direction="First"/> | |||||
</Constraint> | |||||
</Constraints> | |||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/> | |||||
<SubComponents> | |||||
<Component class="javax.swing.JButton" name="btnNew"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/New24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="New File"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnOpen"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Open24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="Open File"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnSave"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Save24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="Save File"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnDelete"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Delete24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="Delet"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnUndo"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Undo24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="Undo"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnRedo"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Redo24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="Redo"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnPrint"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Print24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="Print File"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnFind"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Search24.gif"/> | |||||
</Property> | |||||
<Property name="toolTipText" type="java.lang.String" value="Search"/> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
<Component class="javax.swing.JButton" name="btnEintrag"> | |||||
<Properties> | |||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | |||||
<Image iconType="3" name="/gui_adressverwaltung/Icons/toolbarButtonGraphics/table/RowInsertAfter24.gif"/> | |||||
</Property> | |||||
<Property name="focusable" type="boolean" value="false"/> | |||||
<Property name="horizontalTextPosition" type="int" value="0"/> | |||||
<Property name="verticalTextPosition" type="int" value="3"/> | |||||
</Properties> | |||||
</Component> | |||||
</SubComponents> | |||||
</Container> | |||||
<Container class="javax.swing.JScrollPane" name="jScrollPane1"> | |||||
<AuxValues> | |||||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> | |||||
</AuxValues> | |||||
<Constraints> | |||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | |||||
<BorderConstraints direction="Center"/> | |||||
</Constraint> | |||||
</Constraints> | |||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | |||||
<SubComponents> | |||||
<Component class="javax.swing.JTable" name="tblAdressen"> | |||||
<Properties> | |||||
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> | |||||
<Table columnCount="5" rowCount="3"> | |||||
<Column editable="true" title="First Name" type="java.lang.Object"/> | |||||
<Column editable="true" title="Last Name" type="java.lang.Object"/> | |||||
<Column editable="true" title="Post Code" type="java.lang.Object"/> | |||||
<Column editable="true" title="City" type="java.lang.Object"/> | |||||
<Column editable="true" title="Telefon Number" type="java.lang.Object"/> | |||||
</Table> | |||||
</Property> | |||||
<Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor"> | |||||
<TableColumnModel selectionModel="3"> | |||||
<Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> | |||||
<Title/> | |||||
<Editor/> | |||||
<Renderer/> | |||||
</Column> | |||||
<Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> | |||||
<Title/> | |||||
<Editor/> | |||||
<Renderer/> | |||||
</Column> | |||||
<Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> | |||||
<Title/> | |||||
<Editor/> | |||||
<Renderer/> | |||||
</Column> | |||||
<Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> | |||||
<Title/> | |||||
<Editor/> | |||||
<Renderer/> | |||||
</Column> | |||||
<Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> | |||||
<Title/> | |||||
<Editor/> | |||||
<Renderer/> | |||||
</Column> | |||||
</TableColumnModel> | |||||
</Property> | |||||
<Property name="columnSelectionAllowed" type="boolean" value="true"/> | |||||
<Property name="componentPopupMenu" type="javax.swing.JPopupMenu" editor="org.netbeans.modules.form.ComponentChooserEditor"> | |||||
<ComponentRef name="popupmenu"/> | |||||
</Property> | |||||
<Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> | |||||
<TableHeader reorderingAllowed="true" resizingAllowed="true"/> | |||||
</Property> | |||||
</Properties> | |||||
</Component> | |||||
</SubComponents> | |||||
</Container> | |||||
<Component class="javax.swing.JLabel" name="lblStatus"> | |||||
<Properties> | |||||
<Property name="text" type="java.lang.String" value="File: "/> | |||||
</Properties> | |||||
<Constraints> | |||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | |||||
<BorderConstraints direction="Last"/> | |||||
</Constraint> | |||||
</Constraints> | |||||
</Component> | |||||
</SubComponents> | |||||
</Form> |
/* | |||||
* To change this license header, choose License Headers in Project Properties. | |||||
* To change this template file, choose Tools | Templates | |||||
* and open the template in the editor. | |||||
*/ | |||||
package gui_adressverwaltung.view; | |||||
import java.awt.EventQueue; | |||||
/** | |||||
* | |||||
* @author nobody | |||||
*/ | |||||
public class Hauptfenster extends javax.swing.JFrame | |||||
{ | |||||
/** | |||||
* @return the mndEintrag | |||||
*/ | |||||
public javax.swing.JMenuItem getMndEintrag() { | |||||
return mndEintrag; | |||||
} | |||||
/** | |||||
* @return the btnEintrag | |||||
*/ | |||||
public javax.swing.JButton getBtnEintrag() { | |||||
return btnEintrag; | |||||
} | |||||
/** | |||||
* @return the btnDelete | |||||
*/ | |||||
public javax.swing.JButton getBtnDelete() | |||||
{ | |||||
return btnDelete; | |||||
} | |||||
/** | |||||
* @return the lblStatus | |||||
*/ | |||||
public javax.swing.JLabel getLblStatus() | |||||
{ | |||||
return lblStatus; | |||||
} | |||||
/** | |||||
* @return the mnbMenu | |||||
*/ | |||||
public javax.swing.JMenuBar getMnbMenu() | |||||
{ | |||||
return mnbMenu; | |||||
} | |||||
/** | |||||
* @return the mndDelete | |||||
*/ | |||||
public javax.swing.JMenuItem getMndDelete() | |||||
{ | |||||
return mndDelete; | |||||
} | |||||
/** | |||||
* @return the mndFind | |||||
*/ | |||||
public javax.swing.JMenuItem getMndFind() | |||||
{ | |||||
return mndFind; | |||||
} | |||||
/** | |||||
* @return the mndNew | |||||
*/ | |||||
public javax.swing.JMenuItem getMndNew() | |||||
{ | |||||
return mndNew; | |||||
} | |||||
/** | |||||
* @return the mndOpen | |||||
*/ | |||||
public javax.swing.JMenuItem getMndOpen() | |||||
{ | |||||
return mndOpen; | |||||
} | |||||
/** | |||||
* @return the mndPrint | |||||
*/ | |||||
public javax.swing.JMenuItem getMndPrint() | |||||
{ | |||||
return mndPrint; | |||||
} | |||||
/** | |||||
* @return the mndRedo | |||||
*/ | |||||
public javax.swing.JMenuItem getMndRedo() | |||||
{ | |||||
return mndRedo; | |||||
} | |||||
/** | |||||
* @return the mndSave | |||||
*/ | |||||
public javax.swing.JMenuItem getMndSave() | |||||
{ | |||||
return mndSave; | |||||
} | |||||
/** | |||||
* @return the mndUndo | |||||
*/ | |||||
public javax.swing.JMenuItem getMndUndo() | |||||
{ | |||||
return mndUndo; | |||||
} | |||||
/** | |||||
* @return the mniEdit | |||||
*/ | |||||
public javax.swing.JMenu getMniEdit() | |||||
{ | |||||
return mniEdit; | |||||
} | |||||
/** | |||||
* @return the mniFile | |||||
*/ | |||||
public javax.swing.JMenu getMniFile() | |||||
{ | |||||
return mniFile; | |||||
} | |||||
/** | |||||
* @return the pnlButtons | |||||
*/ | |||||
public javax.swing.JPanel getPnlButtons() | |||||
{ | |||||
return pnlButtons; | |||||
} | |||||
/** | |||||
* @return the popOpen | |||||
*/ | |||||
public javax.swing.JMenuItem getPopOpen() | |||||
{ | |||||
return popOpen; | |||||
} | |||||
/** | |||||
* @return the popSave | |||||
*/ | |||||
public javax.swing.JMenuItem getPopSave() | |||||
{ | |||||
return popSave; | |||||
} | |||||
/** | |||||
* @return the popupmenu | |||||
*/ | |||||
public javax.swing.JPopupMenu getPopupmenu() | |||||
{ | |||||
return popupmenu; | |||||
} | |||||
/** | |||||
* @return the tbBar | |||||
*/ | |||||
public javax.swing.JToolBar getTbBar() | |||||
{ | |||||
return tbBar; | |||||
} | |||||
/** | |||||
* @return the tblAdressen | |||||
*/ | |||||
public javax.swing.JTable getTblAdressen() | |||||
{ | |||||
return tblAdressen; | |||||
} | |||||
/** | |||||
* @return the tfSearchField | |||||
*/ | |||||
public javax.swing.JTextField getTfSearchField() | |||||
{ | |||||
return tfSearchField; | |||||
} | |||||
/** | |||||
* @return the btnCancel | |||||
*/ | |||||
public javax.swing.JButton getBtnCancel() | |||||
{ | |||||
return btnCancel; | |||||
} | |||||
/** | |||||
* @return the btnFind | |||||
*/ | |||||
public javax.swing.JButton getBtnFind() | |||||
{ | |||||
return btnFind; | |||||
} | |||||
/** | |||||
* @return the btnNew | |||||
*/ | |||||
public javax.swing.JButton getBtnNew() | |||||
{ | |||||
return btnNew; | |||||
} | |||||
/** | |||||
* @return the btnOpen | |||||
*/ | |||||
public javax.swing.JButton getBtnOpen() | |||||
{ | |||||
return btnOpen; | |||||
} | |||||
/** | |||||
* @return the btnPrint | |||||
*/ | |||||
public javax.swing.JButton getBtnPrint() | |||||
{ | |||||
return btnPrint; | |||||
} | |||||
/** | |||||
* @return the btnRedo | |||||
*/ | |||||
public javax.swing.JButton getBtnRedo() | |||||
{ | |||||
return btnRedo; | |||||
} | |||||
/** | |||||
* @return the btnSave | |||||
*/ | |||||
public javax.swing.JButton getBtnSave() | |||||
{ | |||||
return btnSave; | |||||
} | |||||
/** | |||||
* @return the btnSearch | |||||
*/ | |||||
public javax.swing.JButton getBtnSearch() | |||||
{ | |||||
return btnSearch; | |||||
} | |||||
/** | |||||
* @return the btnUndo | |||||
*/ | |||||
public javax.swing.JButton getBtnUndo() | |||||
{ | |||||
return btnUndo; | |||||
} | |||||
/** | |||||
* @return the dlgFind | |||||
*/ | |||||
public javax.swing.JDialog getDlgFind() | |||||
{ | |||||
return dlgFind; | |||||
} | |||||
/** | |||||
* Creates new form Hauptfenster | |||||
*/ | |||||
public Hauptfenster() | |||||
{ | |||||
initComponents(); | |||||
} | |||||
/** | |||||
* This method is called from within the constructor to initialize the form. | |||||
* WARNING: Do NOT modify this code. The content of this method is always | |||||
* regenerated by the Form Editor. | |||||
*/ | |||||
@SuppressWarnings("unchecked") | |||||
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents | |||||
private void initComponents() { | |||||
dlgFind = new javax.swing.JDialog(); | |||||
tfSearchField = new javax.swing.JTextField(); | |||||
pnlButtons = new javax.swing.JPanel(); | |||||
btnSearch = new javax.swing.JButton(); | |||||
btnCancel = new javax.swing.JButton(); | |||||
popupmenu = new javax.swing.JPopupMenu(); | |||||
popOpen = new javax.swing.JMenuItem(); | |||||
popSave = new javax.swing.JMenuItem(); | |||||
tbBar = new javax.swing.JToolBar(); | |||||
btnNew = new javax.swing.JButton(); | |||||
btnOpen = new javax.swing.JButton(); | |||||
btnSave = new javax.swing.JButton(); | |||||
btnDelete = new javax.swing.JButton(); | |||||
btnUndo = new javax.swing.JButton(); | |||||
btnRedo = new javax.swing.JButton(); | |||||
btnPrint = new javax.swing.JButton(); | |||||
btnFind = new javax.swing.JButton(); | |||||
btnEintrag = new javax.swing.JButton(); | |||||
jScrollPane1 = new javax.swing.JScrollPane(); | |||||
tblAdressen = new javax.swing.JTable(); | |||||
lblStatus = new javax.swing.JLabel(); | |||||
mnbMenu = new javax.swing.JMenuBar(); | |||||
mniFile = new javax.swing.JMenu(); | |||||
mndNew = new javax.swing.JMenuItem(); | |||||
mndOpen = new javax.swing.JMenuItem(); | |||||
mndSave = new javax.swing.JMenuItem(); | |||||
mndPrint = new javax.swing.JMenuItem(); | |||||
mniEdit = new javax.swing.JMenu(); | |||||
mndDelete = new javax.swing.JMenuItem(); | |||||
mndUndo = new javax.swing.JMenuItem(); | |||||
mndRedo = new javax.swing.JMenuItem(); | |||||
mndFind = new javax.swing.JMenuItem(); | |||||
mndEintrag = new javax.swing.JMenuItem(); | |||||
dlgFind.setTitle("Search"); | |||||
dlgFind.getContentPane().add(tfSearchField, java.awt.BorderLayout.CENTER); | |||||
pnlButtons.setLayout(new java.awt.GridLayout(0, 2)); | |||||
btnSearch.setText("Search"); | |||||
pnlButtons.add(btnSearch); | |||||
btnCancel.setText("Cancel"); | |||||
pnlButtons.add(btnCancel); | |||||
dlgFind.getContentPane().add(pnlButtons, java.awt.BorderLayout.PAGE_END); | |||||
popOpen.setText("Open"); | |||||
popOpen.setToolTipText(""); | |||||
popupmenu.add(popOpen); | |||||
popSave.setText("Save"); | |||||
popupmenu.add(popSave); | |||||
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); | |||||
setTitle("Adressmanagment"); | |||||
setPreferredSize(new java.awt.Dimension(800, 600)); | |||||
tbBar.setRollover(true); | |||||
btnNew.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/New24.gif"))); // NOI18N | |||||
btnNew.setToolTipText("New File"); | |||||
btnNew.setFocusable(false); | |||||
btnNew.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnNew.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnNew); | |||||
btnOpen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Open24.gif"))); // NOI18N | |||||
btnOpen.setToolTipText("Open File"); | |||||
btnOpen.setFocusable(false); | |||||
btnOpen.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnOpen.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnOpen); | |||||
btnSave.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Save24.gif"))); // NOI18N | |||||
btnSave.setToolTipText("Save File"); | |||||
btnSave.setFocusable(false); | |||||
btnSave.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnSave); | |||||
btnDelete.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Delete24.gif"))); // NOI18N | |||||
btnDelete.setToolTipText("Delet"); | |||||
btnDelete.setFocusable(false); | |||||
btnDelete.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnDelete.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnDelete); | |||||
btnUndo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Undo24.gif"))); // NOI18N | |||||
btnUndo.setToolTipText("Undo"); | |||||
btnUndo.setFocusable(false); | |||||
btnUndo.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnUndo.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnUndo); | |||||
btnRedo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Redo24.gif"))); // NOI18N | |||||
btnRedo.setToolTipText("Redo"); | |||||
btnRedo.setFocusable(false); | |||||
btnRedo.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnRedo.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnRedo); | |||||
btnPrint.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Print24.gif"))); // NOI18N | |||||
btnPrint.setToolTipText("Print File"); | |||||
btnPrint.setFocusable(false); | |||||
btnPrint.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnPrint.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnPrint); | |||||
btnFind.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Search24.gif"))); // NOI18N | |||||
btnFind.setToolTipText("Search"); | |||||
btnFind.setFocusable(false); | |||||
btnFind.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnFind.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnFind); | |||||
btnEintrag.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/table/RowInsertAfter24.gif"))); // NOI18N | |||||
btnEintrag.setFocusable(false); | |||||
btnEintrag.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); | |||||
btnEintrag.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); | |||||
tbBar.add(btnEintrag); | |||||
getContentPane().add(tbBar, java.awt.BorderLayout.PAGE_START); | |||||
tblAdressen.setModel(new javax.swing.table.DefaultTableModel( | |||||
new Object [][] { | |||||
{null, null, null, null, null}, | |||||
{null, null, null, null, null}, | |||||
{null, null, null, null, null} | |||||
}, | |||||
new String [] { | |||||
"First Name", "Last Name", "Post Code", "City", "Telefon Number" | |||||
} | |||||
)); | |||||
tblAdressen.setColumnSelectionAllowed(true); | |||||
tblAdressen.setComponentPopupMenu(popupmenu); | |||||
jScrollPane1.setViewportView(tblAdressen); | |||||
tblAdressen.getColumnModel().getSelectionModel().setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); | |||||
getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER); | |||||
lblStatus.setText("File: "); | |||||
getContentPane().add(lblStatus, java.awt.BorderLayout.PAGE_END); | |||||
mniFile.setMnemonic('F'); | |||||
mniFile.setText("File"); | |||||
mniFile.setToolTipText(""); | |||||
mndNew.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_N, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndNew.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/New24.gif"))); // NOI18N | |||||
mndNew.setText("New"); | |||||
mniFile.add(mndNew); | |||||
mndOpen.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndOpen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Open24.gif"))); // NOI18N | |||||
mndOpen.setText("Open"); | |||||
mniFile.add(mndOpen); | |||||
mndSave.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndSave.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Save24.gif"))); // NOI18N | |||||
mndSave.setText("Save"); | |||||
mniFile.add(mndSave); | |||||
mndPrint.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndPrint.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Print24.gif"))); // NOI18N | |||||
mndPrint.setText("Print"); | |||||
mniFile.add(mndPrint); | |||||
mnbMenu.add(mniFile); | |||||
mniEdit.setMnemonic('E'); | |||||
mniEdit.setText("Edit"); | |||||
mndDelete.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_D, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndDelete.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Delete24.gif"))); // NOI18N | |||||
mndDelete.setText("Delete"); | |||||
mniEdit.add(mndDelete); | |||||
mndUndo.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_U, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndUndo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Undo24.gif"))); // NOI18N | |||||
mndUndo.setText("Undo"); | |||||
mniEdit.add(mndUndo); | |||||
mndRedo.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndRedo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Redo24.gif"))); // NOI18N | |||||
mndRedo.setText("Redo"); | |||||
mniEdit.add(mndRedo); | |||||
mndFind.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndFind.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/general/Search24.gif"))); // NOI18N | |||||
mndFind.setText("Search"); | |||||
mniEdit.add(mndFind); | |||||
mndEintrag.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_E, java.awt.event.InputEvent.CTRL_MASK)); | |||||
mndEintrag.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui_adressverwaltung/Icons/toolbarButtonGraphics/table/RowInsertAfter24.gif"))); // NOI18N | |||||
mndEintrag.setActionCommand("Entry"); | |||||
mndEintrag.setLabel("Entry"); | |||||
mniEdit.add(mndEintrag); | |||||
mnbMenu.add(mniEdit); | |||||
setJMenuBar(mnbMenu); | |||||
setSize(new java.awt.Dimension(1017, 676)); | |||||
setLocationRelativeTo(null); | |||||
}// </editor-fold>//GEN-END:initComponents | |||||
/** | |||||
* @param args the command line arguments | |||||
*/ | |||||
public static void main(String args[]) | |||||
{ | |||||
/* Set the Nimbus look and feel */ | |||||
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> | |||||
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. | |||||
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html | |||||
*/ | |||||
try | |||||
{ | |||||
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) | |||||
{ | |||||
if ("Nimbus".equals(info.getName())) | |||||
{ | |||||
javax.swing.UIManager.setLookAndFeel(info.getClassName()); | |||||
break; | |||||
} | |||||
} | |||||
} | |||||
catch (ClassNotFoundException ex) | |||||
{ | |||||
java.util.logging.Logger.getLogger(Hauptfenster.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | |||||
} | |||||
catch (InstantiationException ex) | |||||
{ | |||||
java.util.logging.Logger.getLogger(Hauptfenster.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | |||||
} | |||||
catch (IllegalAccessException ex) | |||||
{ | |||||
java.util.logging.Logger.getLogger(Hauptfenster.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | |||||
} | |||||
catch (javax.swing.UnsupportedLookAndFeelException ex) | |||||
{ | |||||
java.util.logging.Logger.getLogger(Hauptfenster.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); | |||||
} | |||||
//</editor-fold> | |||||
/* Create and display the form */ | |||||
EventQueue.invokeLater(new Runnable() | |||||
{ | |||||
public void run() | |||||
{ | |||||
new Hauptfenster().setVisible(true); | |||||
} | |||||
}); | |||||
} | |||||
// Variables declaration - do not modify//GEN-BEGIN:variables | |||||
private javax.swing.JButton btnCancel; | |||||
private javax.swing.JButton btnDelete; | |||||
private javax.swing.JButton btnEintrag; | |||||
private javax.swing.JButton btnFind; | |||||
private javax.swing.JButton btnNew; | |||||
private javax.swing.JButton btnOpen; | |||||
private javax.swing.JButton btnPrint; | |||||
private javax.swing.JButton btnRedo; | |||||
private javax.swing.JButton btnSave; | |||||
private javax.swing.JButton btnSearch; | |||||
private javax.swing.JButton btnUndo; | |||||
private javax.swing.JDialog dlgFind; | |||||
private javax.swing.JScrollPane jScrollPane1; | |||||
private javax.swing.JLabel lblStatus; | |||||
private javax.swing.JMenuBar mnbMenu; | |||||
private javax.swing.JMenuItem mndDelete; | |||||
private javax.swing.JMenuItem mndEintrag; | |||||
private javax.swing.JMenuItem mndFind; | |||||
private javax.swing.JMenuItem mndNew; | |||||
private javax.swing.JMenuItem mndOpen; | |||||
private javax.swing.JMenuItem mndPrint; | |||||
private javax.swing.JMenuItem mndRedo; | |||||
private javax.swing.JMenuItem mndSave; | |||||
private javax.swing.JMenuItem mndUndo; | |||||
private javax.swing.JMenu mniEdit; | |||||
private javax.swing.JMenu mniFile; | |||||
private javax.swing.JPanel pnlButtons; | |||||
private javax.swing.JMenuItem popOpen; | |||||
private javax.swing.JMenuItem popSave; | |||||
private javax.swing.JPopupMenu popupmenu; | |||||
private javax.swing.JToolBar tbBar; | |||||
private javax.swing.JTable tblAdressen; | |||||
private javax.swing.JTextField tfSearchField; | |||||
// End of variables declaration//GEN-END:variables | |||||
} |