From: <cpm...@us...> - 2009-03-31 19:40:11
|
Revision: 9812 http://pcgen.svn.sourceforge.net/pcgen/?rev=9812&view=rev Author: cpmeister Date: 2009-03-31 19:39:41 +0000 (Tue, 31 Mar 2009) Log Message: ----------- UI Update Modified Paths: -------------- sandbox/cdomui/code/src/java/pcgen/core/SettingsHandler.java sandbox/cdomui/code/src/java/pcgen/gui2/CharacterSheetPanel.java sandbox/cdomui/code/src/java/pcgen/gui2/tools/ResourceManager.java sandbox/cdomui/nbproject/ide-file-targets.xml sandbox/cdomui/nbproject/project.xml Removed Paths: ------------- sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.form sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.java sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.form sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.java sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/SummaryTab.form sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/SummaryTab.java Modified: sandbox/cdomui/code/src/java/pcgen/core/SettingsHandler.java =================================================================== --- sandbox/cdomui/code/src/java/pcgen/core/SettingsHandler.java 2009-03-31 04:59:32 UTC (rev 9811) +++ sandbox/cdomui/code/src/java/pcgen/core/SettingsHandler.java 2009-03-31 19:39:41 UTC (rev 9812) @@ -252,7 +252,17 @@ private static String hiddenSources = ""; //$NON-NLS-1$ private static String quickLaunchSources = ""; //$NON-NLS-1$ - + + public static String getSelectedGenerators(String string) + { + throw new UnsupportedOperationException("Not yet implemented"); + } + + public static void setSelectedGenerators(String prop, String generators) + { + throw new UnsupportedOperationException("Not yet implemented"); + } + public static void setAbilitiesShownAsATab(final boolean showAbilitiesAsTab) { abilitiesShownAsTab = showAbilitiesAsTab; @@ -3624,4 +3634,5 @@ { SettingsHandler.useAdvancedSourceSelect = useAdvancedSourceSelect; } + } Modified: sandbox/cdomui/code/src/java/pcgen/gui2/CharacterSheetPanel.java =================================================================== --- sandbox/cdomui/code/src/java/pcgen/gui2/CharacterSheetPanel.java 2009-03-31 04:59:32 UTC (rev 9811) +++ sandbox/cdomui/code/src/java/pcgen/gui2/CharacterSheetPanel.java 2009-03-31 19:39:41 UTC (rev 9812) @@ -143,7 +143,7 @@ { StringWriter out = new StringWriter(); BufferedWriter buf = new BufferedWriter(out); - handler.write(character, buf); + //handler.write(character, buf); Thread t = Thread.currentThread(); if (t.isInterrupted()) { Deleted: sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.form =================================================================== --- sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.form 2009-03-31 04:59:32 UTC (rev 9811) +++ sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.form 2009-03-31 19:39:41 UTC (rev 9812) @@ -1,259 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<Form version="1.3" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JDialogFormInfo"> - <SyntheticProperties> - <SyntheticProperty name="formSizePolicy" type="int" value="1"/> - </SyntheticProperties> - <Events> - <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="closeDialog"/> - </Events> - <AuxValues> - <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> - <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> - <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="2"/> - <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.DesignGridBagLayout"/> - <SubComponents> - <Container class="pcgen.gui.tools.FlippingSplitPane" name="flippingSplitPane1"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="1.0"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/> - <SubComponents> - <Container class="pcgen.gui.tools.FlippingSplitPane" name="flippingSplitPane2"> - <Properties> - <Property name="orientation" type="int" value="0"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="right"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/> - <SubComponents> - <Container class="javax.swing.JPanel" name="jPanel2"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="top"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/> - <SubComponents> - <Component class="javax.swing.JLabel" name="jLabel1"> - <Properties> - <Property name="text" type="java.lang.String" value="jLabel1"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <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.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="0" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="1.0"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> - <SubComponents> - <Component class="javax.swing.JList" name="jList1"> - <Properties> - <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> - <StringArray count="5"> - <StringItem index="0" value="Item 1"/> - <StringItem index="1" value="Item 2"/> - <StringItem index="2" value="Item 3"/> - <StringItem index="3" value="Item 4"/> - <StringItem index="4" value="Item 5"/> - </StringArray> - </Property> - </Properties> - </Component> - </SubComponents> - </Container> - <Component class="javax.swing.JButton" name="jButton1"> - <Properties> - <Property name="text" type="java.lang.String" value="jButton1"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JButton" name="jButton2"> - <Properties> - <Property name="text" type="java.lang.String" value="jButton2"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="11" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - </SubComponents> - </Container> - <Container class="javax.swing.JPanel" name="jPanel3"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="right"/> - </Constraint> - </Constraints> - - <Layout> - <DimensionLayout dim="0"> - <Group type="103" groupAlignment="0" attributes="0"> - <EmptySpace min="0" pref="154" max="32767" attributes="0"/> - </Group> - </DimensionLayout> - <DimensionLayout dim="1"> - <Group type="103" groupAlignment="0" attributes="0"> - <EmptySpace min="0" pref="111" max="32767" attributes="0"/> - </Group> - </DimensionLayout> - </Layout> - </Container> - </SubComponents> - </Container> - <Container class="pcgen.gui.tools.FlippingSplitPane" name="flippingSplitPane3"> - <Properties> - <Property name="orientation" type="int" value="0"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="left"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/> - <SubComponents> - <Container class="javax.swing.JPanel" name="jPanel1"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="top"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/> - <SubComponents> - <Component class="javax.swing.JLabel" name="jLabel2"> - <Properties> - <Property name="text" type="java.lang.String" value="Description"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="2" insetsBottom="0" insetsRight="2" anchor="17" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Container class="javax.swing.JScrollPane" name="jScrollPane2"> - <AuxValues> - <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> - </AuxValues> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="1.0"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> - <SubComponents> - <Component class="javax.swing.JTextArea" name="jTextArea1"> - <Properties> - <Property name="columns" type="int" value="20"/> - <Property name="rows" type="int" value="5"/> - </Properties> - </Component> - </SubComponents> - </Container> - </SubComponents> - </Container> - <Container class="javax.swing.JPanel" name="jPanel4"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="right"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/> - <SubComponents> - <Component class="javax.swing.JLabel" name="jLabel3"> - <Properties> - <Property name="text" type="java.lang.String" value="jLabel3"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Container class="javax.swing.JScrollPane" name="jScrollPane3"> - <AuxValues> - <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> - </AuxValues> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="1.0"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> - <SubComponents> - <Component class="javax.swing.JTextArea" name="jTextArea2"> - <Properties> - <Property name="columns" type="int" value="20"/> - <Property name="rows" type="int" value="5"/> - </Properties> - </Component> - </SubComponents> - </Container> - </SubComponents> - </Container> - </SubComponents> - </Container> - </SubComponents> - </Container> - <Component class="javax.swing.JButton" name="okButton"> - <Properties> - <Property name="text" type="java.lang.String" value="OK"/> - </Properties> - <Events> - <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="okButtonActionPerformed"/> - </Events> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JButton" name="cancelButton"> - <Properties> - <Property name="text" type="java.lang.String" value="Cancel"/> - </Properties> - <Events> - <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cancelButtonActionPerformed"/> - </Events> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - </SubComponents> -</Form> Deleted: sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.java =================================================================== --- sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.java 2009-03-31 04:59:32 UTC (rev 9811) +++ sandbox/cdomui/code/src/java/pcgen/gui2/proto/dialog/FilterDialog.java 2009-03-31 19:39:41 UTC (rev 9812) @@ -1,249 +0,0 @@ -/* - * FilterDialog.java - * - * Created on August 30, 2008, 7:54 PM - */ - -package pcgen.gui2.proto.dialog; - -/** - * - * @author Connor Petty <cpm...@us...> - */ -public class FilterDialog extends javax.swing.JDialog { - /** A return status code - returned if Cancel button has been pressed */ - public static final int RET_CANCEL = 0; - /** A return status code - returned if OK button has been pressed */ - public static final int RET_OK = 1; - - /** Creates new form FilterDialog */ - public FilterDialog(java.awt.Frame parent, boolean modal) { - super(parent, modal); - initComponents(); - } - - /** @return the return status of this dialog - one of RET_OK or RET_CANCEL */ - public int getReturnStatus() { - return returnStatus; - } - - /** 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. - */ - // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents - private void initComponents() { - java.awt.GridBagConstraints gridBagConstraints; - - flippingSplitPane1 = new pcgen.gui2.tools.FlippingSplitPane(); - flippingSplitPane2 = new pcgen.gui2.tools.FlippingSplitPane(); - jPanel2 = new javax.swing.JPanel(); - jLabel1 = new javax.swing.JLabel(); - jScrollPane1 = new javax.swing.JScrollPane(); - jList1 = new javax.swing.JList(); - jButton1 = new javax.swing.JButton(); - jButton2 = new javax.swing.JButton(); - jPanel3 = new javax.swing.JPanel(); - flippingSplitPane3 = new pcgen.gui2.tools.FlippingSplitPane(); - jPanel1 = new javax.swing.JPanel(); - jLabel2 = new javax.swing.JLabel(); - jScrollPane2 = new javax.swing.JScrollPane(); - jTextArea1 = new javax.swing.JTextArea(); - jPanel4 = new javax.swing.JPanel(); - jLabel3 = new javax.swing.JLabel(); - jScrollPane3 = new javax.swing.JScrollPane(); - jTextArea2 = new javax.swing.JTextArea(); - okButton = new javax.swing.JButton(); - cancelButton = new javax.swing.JButton(); - - addWindowListener(new java.awt.event.WindowAdapter() { - public void windowClosing(java.awt.event.WindowEvent evt) { - closeDialog(evt); - } - }); - getContentPane().setLayout(new java.awt.GridBagLayout()); - - flippingSplitPane2.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); - - jPanel2.setLayout(new java.awt.GridBagLayout()); - - jLabel1.setText("jLabel1"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - jPanel2.add(jLabel1, gridBagConstraints); - - jList1.setModel(new javax.swing.AbstractListModel() { - String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" }; - public int getSize() { return strings.length; } - public Object getElementAt(int i) { return strings[i]; } - }); - jScrollPane1.setViewportView(jList1); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.weightx = 1.0; - gridBagConstraints.weighty = 1.0; - jPanel2.add(jScrollPane1, gridBagConstraints); - - jButton1.setText("jButton1"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - jPanel2.add(jButton1, gridBagConstraints); - - jButton2.setText("jButton2"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH; - jPanel2.add(jButton2, gridBagConstraints); - - flippingSplitPane2.setTopComponent(jPanel2); - - org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3); - jPanel3.setLayout(jPanel3Layout); - jPanel3Layout.setHorizontalGroup( - jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) - .add(0, 154, Short.MAX_VALUE) - ); - jPanel3Layout.setVerticalGroup( - jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) - .add(0, 111, Short.MAX_VALUE) - ); - - flippingSplitPane2.setRightComponent(jPanel3); - - flippingSplitPane1.setRightComponent(flippingSplitPane2); - - flippingSplitPane3.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); - - jPanel1.setLayout(new java.awt.GridBagLayout()); - - jLabel2.setText("Description"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 2); - jPanel1.add(jLabel2, gridBagConstraints); - - jTextArea1.setColumns(20); - jTextArea1.setRows(5); - jScrollPane2.setViewportView(jTextArea1); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.weightx = 1.0; - gridBagConstraints.weighty = 1.0; - jPanel1.add(jScrollPane2, gridBagConstraints); - - flippingSplitPane3.setTopComponent(jPanel1); - - jPanel4.setLayout(new java.awt.GridBagLayout()); - - jLabel3.setText("jLabel3"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - jPanel4.add(jLabel3, gridBagConstraints); - - jTextArea2.setColumns(20); - jTextArea2.setRows(5); - jScrollPane3.setViewportView(jTextArea2); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.weightx = 1.0; - gridBagConstraints.weighty = 1.0; - jPanel4.add(jScrollPane3, gridBagConstraints); - - flippingSplitPane3.setRightComponent(jPanel4); - - flippingSplitPane1.setLeftComponent(flippingSplitPane3); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.weighty = 1.0; - getContentPane().add(flippingSplitPane1, gridBagConstraints); - - okButton.setText("OK"); - okButton.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - okButtonActionPerformed(evt); - } - }); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.weightx = 1.0; - getContentPane().add(okButton, gridBagConstraints); - - cancelButton.setText("Cancel"); - cancelButton.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - cancelButtonActionPerformed(evt); - } - }); - getContentPane().add(cancelButton, new java.awt.GridBagConstraints()); - - pack(); - }// </editor-fold>//GEN-END:initComponents - - private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed - doClose(RET_OK); - }//GEN-LAST:event_okButtonActionPerformed - - private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed - doClose(RET_CANCEL); - }//GEN-LAST:event_cancelButtonActionPerformed - - /** Closes the dialog */ - private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog - doClose(RET_CANCEL); - }//GEN-LAST:event_closeDialog - - private void doClose(int retStatus) { - returnStatus = retStatus; - setVisible(false); - dispose(); - } - - /** - * @param args the command line arguments - */ - public static void main(String args[]) { - java.awt.EventQueue.invokeLater(new Runnable() { - public void run() { - FilterDialog dialog = new FilterDialog(new javax.swing.JFrame(), true); - dialog.addWindowListener(new java.awt.event.WindowAdapter() { - public void windowClosing(java.awt.event.WindowEvent e) { - System.exit(0); - } - }); - dialog.setVisible(true); - } - }); - } - - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JButton cancelButton; - private pcgen.gui2.tools.FlippingSplitPane flippingSplitPane1; - private pcgen.gui2.tools.FlippingSplitPane flippingSplitPane2; - private pcgen.gui2.tools.FlippingSplitPane flippingSplitPane3; - private javax.swing.JButton jButton1; - private javax.swing.JButton jButton2; - private javax.swing.JLabel jLabel1; - private javax.swing.JLabel jLabel2; - private javax.swing.JLabel jLabel3; - private javax.swing.JList jList1; - private javax.swing.JPanel jPanel1; - private javax.swing.JPanel jPanel2; - private javax.swing.JPanel jPanel3; - private javax.swing.JPanel jPanel4; - private javax.swing.JScrollPane jScrollPane1; - private javax.swing.JScrollPane jScrollPane2; - private javax.swing.JScrollPane jScrollPane3; - private javax.swing.JTextArea jTextArea1; - private javax.swing.JTextArea jTextArea2; - private javax.swing.JButton okButton; - // End of variables declaration//GEN-END:variables - - private int returnStatus = RET_CANCEL; -} Deleted: sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.form =================================================================== --- sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.form 2009-03-31 04:59:32 UTC (rev 9811) +++ sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.form 2009-03-31 19:39:41 UTC (rev 9812) @@ -1,267 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<Form version="1.5" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> - <NonVisualComponents> - <Container class="javax.swing.JPanel" name="jPanel1"> - - <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/> - <SubComponents> - <Component class="javax.swing.JLabel" name="jLabel1"> - <Properties> - <Property name="text" type="java.lang.String" value="Total Value:"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="2" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="13" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JLabel" name="jLabel2"> - <Properties> - <Property name="text" type="java.lang.String" value="0"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JLabel" name="jLabel3"> - <Properties> - <Property name="text" type="java.lang.String" value="Gold:"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="6" insetsBottom="0" insetsRight="0" anchor="13" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JTextField" name="jTextField1"> - <Properties> - <Property name="text" type="java.lang.String" value="jTextField1"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="6" anchor="10" weightX="1.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JCheckBox" name="jCheckBox2"> - <Properties> - <Property name="text" type="java.lang.String" value="Ignore Cost"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JLabel" name="jLabel7"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JCheckBox" name="jCheckBox3"> - <Properties> - <Property name="text" type="java.lang.String" value="Allow Debt"/> - </Properties> - <BindingProperties> - <BindingProperty name="enabled" source="jCheckBox2" sourcePath="${!selected}" target="jCheckBox3" targetPath="enabled" updateStrategy="1" immediately="false"/> - </BindingProperties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JLabel" name="jLabel8"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JLabel" name="jLabel4"> - <Properties> - <Property name="text" type="java.lang.String" value="Buy Percentage:"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="13" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JComboBox" name="jComboBox1"> - <Properties> - <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> - <StringArray count="4"> - <StringItem index="0" value="Item 1"/> - <StringItem index="1" value="Item 2"/> - <StringItem index="2" value="Item 3"/> - <StringItem index="3" value="Item 4"/> - </StringArray> - </Property> - </Properties> - <BindingProperties> - <BindingProperty name="enabled" source="jCheckBox2" sourcePath="${!selected}" target="jComboBox1" targetPath="enabled" updateStrategy="1" immediately="false"/> - </BindingProperties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="6" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JLabel" name="jLabel9"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JLabel" name="jLabel5"> - <Properties> - <Property name="text" type="java.lang.String" value="Sell Percentage:"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="13" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JComboBox" name="jComboBox2"> - <Properties> - <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> - <StringArray count="4"> - <StringItem index="0" value="Item 1"/> - <StringItem index="1" value="Item 2"/> - <StringItem index="2" value="Item 3"/> - <StringItem index="3" value="Item 4"/> - </StringArray> - </Property> - </Properties> - <BindingProperties> - <BindingProperty name="enabled" source="jCheckBox2" sourcePath="${!selected}" target="jComboBox2" targetPath="enabled" updateStrategy="1" immediately="false"/> - </BindingProperties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="6" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - <Component class="javax.swing.JCheckBox" name="jCheckBox1"> - <Properties> - <Property name="text" type="java.lang.String" value="Auto Resize"/> - </Properties> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> - </SubComponents> - </Container> - <Container class="pcgen.gui.util.panes.FlippingSplitPane" name="flippingSplitPane1"> - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/> - <SubComponents> - <Container class="pcgen.gui.util.panes.FlippingSplitPane" name="flippingSplitPane2"> - - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/> - <SubComponents> - <Container class="javax.swing.JPanel" name="jPanel2"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="top"/> - </Constraint> - </Constraints> - - <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> - <SubComponents> - <Container class="javax.swing.JPanel" name="jPanel3"> - <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.JLabel" name="jLabel6"> - <Properties> - <Property name="text" type="java.lang.String" value="Equip Set:"/> - </Properties> - </Component> - <Component class="javax.swing.JTextField" name="jTextField2"> - <Properties> - <Property name="text" type="java.lang.String" value="jTextField2"/> - </Properties> - </Component> - <Component class="javax.swing.JButton" name="jButton1"> - <Properties> - <Property name="text" type="java.lang.String" value="Add"/> - </Properties> - </Component> - <Component class="javax.swing.JButton" name="jButton2"> - <Properties> - <Property name="text" type="java.lang.String" value="Remove"/> - </Properties> - </Component> - </SubComponents> - </Container> - <Component class="pcgen.gui.util.JTreeViewSelectionPane" name="jTreeViewSelectionPane1"> - <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> - </SubComponents> - </Container> - <Component class="pcgen.gui.filter.FilteredTreeViewPanel" name="filteredTreeViewPanel1"> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout$JSplitPaneConstraintsDescription"> - <JSplitPaneConstraints position="right"/> - </Constraint> - </Constraints> - </Component> - </SubComponents> - </Container> - <Component class="pcgen.gui.filter.FilteredTreeViewPanel" name="filteredTreeViewPanel2"> - </Component> - </SubComponents> - </Container> - </NonVisualComponents> - <AuxValues> - <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> - <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> - <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="2"/> - <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"/> - <AuxValue name="designerSize" 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,62,0,0,2,45"/> - </AuxValues> - - <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> - <SubComponents> - <Container class="pcgen.gui.tools.ChooserPane" name="chooserPane1"> - <Properties> - <Property name="primaryChooserComponent" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor"> - <ComponentRef name="flippingSplitPane1"/> - </Property> - <Property name="secondaryChooserComponent" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor"> - <ComponentRef name="jPanel1"/> - </Property> - </Properties> - <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.JSplitPaneSupportLayout"/> - </Container> - </SubComponents> -</Form> Deleted: sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.java =================================================================== --- sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.java 2009-03-31 04:59:32 UTC (rev 9811) +++ sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/EquipmentTab.java 2009-03-31 19:39:41 UTC (rev 9812) @@ -1,218 +0,0 @@ -/* - * EquipmentTab.java - * - * Created on August 5, 2008, 7:34 PM - */ - -package pcgen.gui2.proto.tabs; - -/** - * - * @author Connor Petty <cpm...@us...> - */ -public class EquipmentTab extends javax.swing.JPanel { - - /** Creates new form EquipmentTab */ - public EquipmentTab() { - 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. - */ - // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents - private void initComponents() { - java.awt.GridBagConstraints gridBagConstraints; - bindingGroup = new org.jdesktop.beansbinding.BindingGroup(); - - jPanel1 = new javax.swing.JPanel(); - jLabel1 = new javax.swing.JLabel(); - jLabel2 = new javax.swing.JLabel(); - jLabel3 = new javax.swing.JLabel(); - jTextField1 = new javax.swing.JTextField(); - jCheckBox2 = new javax.swing.JCheckBox(); - jLabel7 = new javax.swing.JLabel(); - jCheckBox3 = new javax.swing.JCheckBox(); - jLabel8 = new javax.swing.JLabel(); - jLabel4 = new javax.swing.JLabel(); - jComboBox1 = new javax.swing.JComboBox(); - jLabel9 = new javax.swing.JLabel(); - jLabel5 = new javax.swing.JLabel(); - jComboBox2 = new javax.swing.JComboBox(); - jCheckBox1 = new javax.swing.JCheckBox(); - flippingSplitPane1 = new pcgen.gui2.tools.FlippingSplitPane(); - flippingSplitPane2 = new pcgen.gui2.tools.FlippingSplitPane(); - jPanel2 = new javax.swing.JPanel(); - jPanel3 = new javax.swing.JPanel(); - jLabel6 = new javax.swing.JLabel(); - jTextField2 = new javax.swing.JTextField(); - jButton1 = new javax.swing.JButton(); - jButton2 = new javax.swing.JButton(); - jTreeViewSelectionPane1 = new pcgen.gui2.util.JTreeViewSelectionPane(); - filteredTreeViewPanel1 = new pcgen.gui2.filter.FilteredTreeViewPanel(); - filteredTreeViewPanel2 = new pcgen.gui2.filter.FilteredTreeViewPanel(); - chooserPane1 = new pcgen.gui2.tools.ChooserPane(); - - jPanel1.setLayout(new java.awt.GridBagLayout()); - - jLabel1.setText("Total Value:"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = 2; - gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; - jPanel1.add(jLabel1, gridBagConstraints); - - jLabel2.setText("0"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - jPanel1.add(jLabel2, gridBagConstraints); - - jLabel3.setText("Gold:"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; - gridBagConstraints.insets = new java.awt.Insets(0, 6, 0, 0); - jPanel1.add(jLabel3, gridBagConstraints); - - jTextField1.setText("jTextField1"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.weightx = 1.0; - gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6); - jPanel1.add(jTextField1, gridBagConstraints); - - jCheckBox2.setText("Ignore Cost"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - jPanel1.add(jCheckBox2, gridBagConstraints); - jPanel1.add(jLabel7, new java.awt.GridBagConstraints()); - - jCheckBox3.setText("Allow Debt"); - - org.jdesktop.beansbinding.Binding binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ, jCheckBox2, org.jdesktop.beansbinding.ELProperty.create("${!selected}"), jCheckBox3, org.jdesktop.beansbinding.BeanProperty.create("enabled")); - bindingGroup.addBinding(binding); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - jPanel1.add(jCheckBox3, gridBagConstraints); - jPanel1.add(jLabel8, new java.awt.GridBagConstraints()); - - jLabel4.setText("Buy Percentage:"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; - jPanel1.add(jLabel4, gridBagConstraints); - - jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); - - binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ, jCheckBox2, org.jdesktop.beansbinding.ELProperty.create("${!selected}"), jComboBox1, org.jdesktop.beansbinding.BeanProperty.create("enabled")); - bindingGroup.addBinding(binding); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6); - jPanel1.add(jComboBox1, gridBagConstraints); - jPanel1.add(jLabel9, new java.awt.GridBagConstraints()); - - jLabel5.setText("Sell Percentage:"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; - jPanel1.add(jLabel5, gridBagConstraints); - - jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); - - binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ, jCheckBox2, org.jdesktop.beansbinding.ELProperty.create("${!selected}"), jComboBox2, org.jdesktop.beansbinding.BeanProperty.create("enabled")); - bindingGroup.addBinding(binding); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6); - jPanel1.add(jComboBox2, gridBagConstraints); - - jCheckBox1.setText("Auto Resize"); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - jPanel1.add(jCheckBox1, gridBagConstraints); - - flippingSplitPane1.setDividerSize(7); - flippingSplitPane1.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); - flippingSplitPane1.setOneTouchExpandable(true); - - flippingSplitPane2.setDividerSize(7); - flippingSplitPane2.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT); - flippingSplitPane2.setOneTouchExpandable(true); - - jPanel2.setLayout(new java.awt.BorderLayout()); - - jPanel3.setLayout(new javax.swing.BoxLayout(jPanel3, javax.swing.BoxLayout.LINE_AXIS)); - - jLabel6.setText("Equip Set:"); - jPanel3.add(jLabel6); - - jTextField2.setText("jTextField2"); - jPanel3.add(jTextField2); - - jButton1.setText("Add"); - jPanel3.add(jButton1); - - jButton2.setText("Remove"); - jPanel3.add(jButton2); - - jPanel2.add(jPanel3, java.awt.BorderLayout.PAGE_START); - jPanel2.add(jTreeViewSelectionPane1, java.awt.BorderLayout.CENTER); - - flippingSplitPane2.setTopComponent(jPanel2); - flippingSplitPane2.setRightComponent(filteredTreeViewPanel1); - - flippingSplitPane1.setLeftComponent(flippingSplitPane2); - flippingSplitPane1.setRightComponent(filteredTreeViewPanel2); - - setLayout(new java.awt.BorderLayout()); - - chooserPane1.setPrimaryChooserComponent(flippingSplitPane1); - chooserPane1.setSecondaryChooserComponent(jPanel1); - add(chooserPane1, java.awt.BorderLayout.CENTER); - - bindingGroup.bind(); - }// </editor-fold>//GEN-END:initComponents - - - // Variables declaration - do not modify//GEN-BEGIN:variables - private pcgen.gui2.tools.ChooserPane chooserPane1; - private pcgen.gui2.filter.FilteredTreeViewPanel filteredTreeViewPanel1; - private pcgen.gui2.filter.FilteredTreeViewPanel filteredTreeViewPanel2; - private pcgen.gui2.tools.FlippingSplitPane flippingSplitPane1; - private pcgen.gui2.tools.FlippingSplitPane flippingSplitPane2; - private javax.swing.JButton jButton1; - private javax.swing.JButton jButton2; - private javax.swing.JCheckBox jCheckBox1; - private javax.swing.JCheckBox jCheckBox2; - private javax.swing.JCheckBox jCheckBox3; - private javax.swing.JComboBox jComboBox1; - private javax.swing.JComboBox jComboBox2; - private javax.swing.JLabel jLabel1; - private javax.swing.JLabel jLabel2; - private javax.swing.JLabel jLabel3; - private javax.swing.JLabel jLabel4; - private javax.swing.JLabel jLabel5; - private javax.swing.JLabel jLabel6; - private javax.swing.JLabel jLabel7; - private javax.swing.JLabel jLabel8; - private javax.swing.JLabel jLabel9; - private javax.swing.JPanel jPanel1; - private javax.swing.JPanel jPanel2; - private javax.swing.JPanel jPanel3; - private javax.swing.JTextField jTextField1; - private javax.swing.JTextField jTextField2; - private pcgen.gui2.util.JTreeViewSelectionPane jTreeViewSelectionPane1; - private org.jdesktop.beansbinding.BindingGroup bindingGroup; - // End of variables declaration//GEN-END:variables - -} Deleted: sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/SummaryTab.form =================================================================== --- sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/SummaryTab.form 2009-03-31 04:59:32 UTC (rev 9811) +++ sandbox/cdomui/code/src/java/pcgen/gui2/proto/tabs/SummaryTab.form 2009-03-31 19:39:41 UTC (rev 9812) @@ -1,131 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<Form version="1.3" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> - <AuxValues> - <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> - <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> - <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="2"/> - <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> - <DimensionLayout dim="0"> - <Group type="103" groupAlignment="0" attributes="0"> - <Group type="102" alignment="0" attributes="0"> - <EmptySpace max="-2" attributes="0"/> - <Gro... [truncated message content] |