Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2455 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: flowsa ui

Subject: perfsonar development work

List archive

perfsonar: r2455 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: flowsa ui


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2455 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: flowsa ui
  • Date: Wed, 6 Jun 2007 08:27:42 -0400

Author: gijs
Date: 2007-06-06 08:27:42 -0400 (Wed, 06 Jun 2007)
New Revision: 2455

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowSAPanel.java
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/MANIFESTAPP.MFT
Log:
I made a mistake, this is the right version. perfsonarui will now compile
with java 5 again

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowSAPanel.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowSAPanel.java
2007-06-06 12:13:13 UTC (rev 2454)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/flowsa/FlowSAPanel.java
2007-06-06 12:27:42 UTC (rev 2455)
@@ -140,1028 +140,1030 @@
// this ui code is generated by Netbeans 5.5
@Override
protected void addWidgets() {
- masterSplitPane = new javax.swing.JSplitPane();
- leftMainPanel = new javax.swing.JPanel();
- lsPanel = new javax.swing.JPanel();
- lsUpdateButton = new javax.swing.JButton();
- lsScrollPane = new javax.swing.JScrollPane();
- lsList = new javax.swing.JList();
- customLsPanel = new javax.swing.JPanel();
- customLsConnectButton = new javax.swing.JButton();
- customLsField = new javax.swing.JTextField();
- customLsAdressLabel = new javax.swing.JLabel();
- rightMainPanel = new javax.swing.JPanel();
- StartMomentPanel = new javax.swing.JPanel();
- momentStartYearComboBox = new javax.swing.JComboBox();
- momentStartMonthComboBox = new javax.swing.JComboBox();
- momentStartDayComboBox = new javax.swing.JComboBox();
- momentStartHourComboBox = new javax.swing.JComboBox();
- momentStartSecondComboBox = new javax.swing.JComboBox();
- momentStartYearLabel = new javax.swing.JLabel();
- momentStartMonthLabel = new javax.swing.JLabel();
- momentStartDayLabel = new javax.swing.JLabel();
- momentStartHourLabel = new javax.swing.JLabel();
- momentStartSecondLabel = new javax.swing.JLabel();
- momentStartUnixLabel = new javax.swing.JLabel();
- momentStartUnixField = new javax.swing.JFormattedTextField();
- queryTabbedPanel = new javax.swing.JTabbedPane();
- rawQueryPanel = new javax.swing.JPanel();
- rawFilterField = new javax.swing.JTextField();
- rawAggregationField = new javax.swing.JTextField();
- rawFilterlabel = new javax.swing.JLabel();
- rawAggregationLabel = new javax.swing.JLabel();
- rawSubmitButton = new javax.swing.JButton();
- rawDataScrollPane = new javax.swing.JScrollPane();
- rawDataTable = new javax.swing.JTable();
- rawExportButton = new javax.swing.JButton();
- rawFieldPanel = new javax.swing.JPanel();
- rawFieldScrollPane = new javax.swing.JScrollPane();
- rawFieldsList = new javax.swing.JList();
- topQueryPanel = new javax.swing.JPanel();
- TopQueryparametersPanel = new javax.swing.JPanel();
- topSubmitButton = new javax.swing.JButton();
- topNumberField = new javax.swing.JTextField();
- topOrderComboBox = new javax.swing.JComboBox();
- topElementLabel = new javax.swing.JLabel();
- topOrderLabel = new javax.swing.JLabel();
- topNumberLabel = new javax.swing.JLabel();
- topElementComboBox = new javax.swing.JComboBox();
- topGroupTransCheckBox = new javax.swing.JCheckBox();
- topGroupTransLabel = new javax.swing.JLabel();
- topExportButton = new javax.swing.JButton();
- topDataScrollPane = new javax.swing.JScrollPane();
- topDataTable = new javax.swing.JTable();
- statQueryPanel = new javax.swing.JPanel();
- statsFlowsLabel = new javax.swing.JLabel();
- statsFlowsTcpLabel = new javax.swing.JLabel();
- statsFlowsUdpLabel = new javax.swing.JLabel();
- statsFlowsIcmpLabel = new javax.swing.JLabel();
- statsFlowsOthersLabel = new javax.swing.JLabel();
- statsFlowsPacketsLabel = new javax.swing.JLabel();
- statsPacketsTcpLabel = new javax.swing.JLabel();
- statsPacketsUdpLabel = new javax.swing.JLabel();
- statsPacketsIcmpLabel = new javax.swing.JLabel();
- statsPacketsOtherLabel = new javax.swing.JLabel();
- statsBytesLabel = new javax.swing.JLabel();
- statsBytesTcpLabel = new javax.swing.JLabel();
- statsBytesUdpLabel = new javax.swing.JLabel();
- statsBytesIcmpLabel = new javax.swing.JLabel();
- statsBytesOtherLabel = new javax.swing.JLabel();
- statsFirstLabel = new javax.swing.JLabel();
- statsLastLabel = new javax.swing.JLabel();
- statsMsecFirstLabel = new javax.swing.JLabel();
- statsMsecLastLabel = new javax.swing.JLabel();
- statsSeqFailLabel = new javax.swing.JLabel();
- statsFlowsField = new javax.swing.JTextField();
- statsFlowsTcpField = new javax.swing.JTextField();
- statsFlowsudpField = new javax.swing.JTextField();
- statsFlowsIcmpField = new javax.swing.JTextField();
- statsFlowsOtherField = new javax.swing.JTextField();
- statsPacketsField = new javax.swing.JTextField();
- statsPacketsTcpField = new javax.swing.JTextField();
- statsPacketsUdpField = new javax.swing.JTextField();
- statsPacketsIcmpField = new javax.swing.JTextField();
- statsPacketsotherField = new javax.swing.JTextField();
- statsBytesField = new javax.swing.JTextField();
- statsBytesTcpField = new javax.swing.JTextField();
- statsBytesUdpField = new javax.swing.JTextField();
- statsBytesIcmpField = new javax.swing.JTextField();
- statsBytesOtherField = new javax.swing.JTextField();
- statsFirstField = new javax.swing.JTextField();
- statsLastField = new javax.swing.JTextField();
- statsMsecFirstField = new javax.swing.JTextField();
- statsMsecLastField = new javax.swing.JTextField();
- statsSeqFailField = new javax.swing.JTextField();
- statsSubmitButton = new javax.swing.JButton();
- endMomentPanel = new javax.swing.JPanel();
- momentEndYearComboBox = new javax.swing.JComboBox();
- momentEndMonthComboBox = new javax.swing.JComboBox();
- momentEndDayComboBox = new javax.swing.JComboBox();
- momentEndHourComboBox = new javax.swing.JComboBox();
- momentEndSecondComboBox = new javax.swing.JComboBox();
- momentEndYearLabel = new javax.swing.JLabel();
- momentEndMonthLabel = new javax.swing.JLabel();
- momentEndDayLabel = new javax.swing.JLabel();
- momentEndHourLabel = new javax.swing.JLabel();
- momentEndSecondLabel = new javax.swing.JLabel();
- momentEndUnixLabel = new javax.swing.JLabel();
- momentEndUnixField = new javax.swing.JFormattedTextField();
- presetPanel = new javax.swing.JPanel();
- presetLoadButton = new javax.swing.JButton();
- presetSelectComboBox = new javax.swing.JComboBox();
- routerPanel = new javax.swing.JPanel();
- routerScrollPane = new javax.swing.JScrollPane();
- routerList = new javax.swing.JList();
- statusPanel = new javax.swing.JPanel();
- statusLabel = new javax.swing.JLabel();
- statusProgressBar = new javax.swing.JProgressBar();
+ masterSplitPane = new javax.swing.JSplitPane();
+ leftMainPanel = new javax.swing.JPanel();
+ lsPanel = new javax.swing.JPanel();
+ lsUpdateButton = new javax.swing.JButton();
+ lsScrollPane = new javax.swing.JScrollPane();
+ lsList = new javax.swing.JList();
+ customLsPanel = new javax.swing.JPanel();
+ customLsConnectButton = new javax.swing.JButton();
+ customLsField = new javax.swing.JTextField();
+ customLsAdressLabel = new javax.swing.JLabel();
+ rightMainPanel = new javax.swing.JPanel();
+ StartMomentPanel = new javax.swing.JPanel();
+ momentStartYearComboBox = new javax.swing.JComboBox();
+ momentStartMonthComboBox = new javax.swing.JComboBox();
+ momentStartDayComboBox = new javax.swing.JComboBox();
+ momentStartHourComboBox = new javax.swing.JComboBox();
+ momentStartSecondComboBox = new javax.swing.JComboBox();
+ momentStartYearLabel = new javax.swing.JLabel();
+ momentStartMonthLabel = new javax.swing.JLabel();
+ momentStartDayLabel = new javax.swing.JLabel();
+ momentStartHourLabel = new javax.swing.JLabel();
+ momentStartSecondLabel = new javax.swing.JLabel();
+ momentStartUnixLabel = new javax.swing.JLabel();
+ momentStartUnixField = new javax.swing.JFormattedTextField();
+ queryTabbedPanel = new javax.swing.JTabbedPane();
+ rawQueryPanel = new javax.swing.JPanel();
+ rawFilterField = new javax.swing.JTextField();
+ rawAggregationField = new javax.swing.JTextField();
+ rawFilterlabel = new javax.swing.JLabel();
+ rawAggregationLabel = new javax.swing.JLabel();
+ rawSubmitButton = new javax.swing.JButton();
+ rawDataScrollPane = new javax.swing.JScrollPane();
+ rawDataTable = new javax.swing.JTable();
+ rawExportButton = new javax.swing.JButton();
+ rawFieldPanel = new javax.swing.JPanel();
+ rawFieldScrollPane = new javax.swing.JScrollPane();
+ rawFieldsList = new javax.swing.JList();
+ topQueryPanel = new javax.swing.JPanel();
+ TopQueryparametersPanel = new javax.swing.JPanel();
+ topSubmitButton = new javax.swing.JButton();
+ topNumberField = new javax.swing.JTextField();
+ topOrderComboBox = new javax.swing.JComboBox();
+ topElementLabel = new javax.swing.JLabel();
+ topOrderLabel = new javax.swing.JLabel();
+ topNumberLabel = new javax.swing.JLabel();
+ topElementComboBox = new javax.swing.JComboBox();
+ topGroupTransCheckBox = new javax.swing.JCheckBox();
+ topGroupTransLabel = new javax.swing.JLabel();
+ topExportButton = new javax.swing.JButton();
+ topDataScrollPane = new javax.swing.JScrollPane();
+ topDataTable = new javax.swing.JTable();
+ statQueryPanel = new javax.swing.JPanel();
+ statsFlowsLabel = new javax.swing.JLabel();
+ statsFlowsTcpLabel = new javax.swing.JLabel();
+ statsFlowsUdpLabel = new javax.swing.JLabel();
+ statsFlowsIcmpLabel = new javax.swing.JLabel();
+ statsFlowsOthersLabel = new javax.swing.JLabel();
+ statsFlowsPacketsLabel = new javax.swing.JLabel();
+ statsPacketsTcpLabel = new javax.swing.JLabel();
+ statsPacketsUdpLabel = new javax.swing.JLabel();
+ statsPacketsIcmpLabel = new javax.swing.JLabel();
+ statsPacketsOtherLabel = new javax.swing.JLabel();
+ statsBytesLabel = new javax.swing.JLabel();
+ statsBytesTcpLabel = new javax.swing.JLabel();
+ statsBytesUdpLabel = new javax.swing.JLabel();
+ statsBytesIcmpLabel = new javax.swing.JLabel();
+ statsBytesOtherLabel = new javax.swing.JLabel();
+ statsFirstLabel = new javax.swing.JLabel();
+ statsLastLabel = new javax.swing.JLabel();
+ statsMsecFirstLabel = new javax.swing.JLabel();
+ statsMsecLastLabel = new javax.swing.JLabel();
+ statsSeqFailLabel = new javax.swing.JLabel();
+ statsFlowsField = new javax.swing.JTextField();
+ statsFlowsTcpField = new javax.swing.JTextField();
+ statsFlowsudpField = new javax.swing.JTextField();
+ statsFlowsIcmpField = new javax.swing.JTextField();
+ statsFlowsOtherField = new javax.swing.JTextField();
+ statsPacketsField = new javax.swing.JTextField();
+ statsPacketsTcpField = new javax.swing.JTextField();
+ statsPacketsUdpField = new javax.swing.JTextField();
+ statsPacketsIcmpField = new javax.swing.JTextField();
+ statsPacketsotherField = new javax.swing.JTextField();
+ statsBytesField = new javax.swing.JTextField();
+ statsBytesTcpField = new javax.swing.JTextField();
+ statsBytesUdpField = new javax.swing.JTextField();
+ statsBytesIcmpField = new javax.swing.JTextField();
+ statsBytesOtherField = new javax.swing.JTextField();
+ statsFirstField = new javax.swing.JTextField();
+ statsLastField = new javax.swing.JTextField();
+ statsMsecFirstField = new javax.swing.JTextField();
+ statsMsecLastField = new javax.swing.JTextField();
+ statsSeqFailField = new javax.swing.JTextField();
+ statsSubmitButton = new javax.swing.JButton();
+ endMomentPanel = new javax.swing.JPanel();
+ momentEndYearComboBox = new javax.swing.JComboBox();
+ momentEndMonthComboBox = new javax.swing.JComboBox();
+ momentEndDayComboBox = new javax.swing.JComboBox();
+ momentEndHourComboBox = new javax.swing.JComboBox();
+ momentEndSecondComboBox = new javax.swing.JComboBox();
+ momentEndYearLabel = new javax.swing.JLabel();
+ momentEndMonthLabel = new javax.swing.JLabel();
+ momentEndDayLabel = new javax.swing.JLabel();
+ momentEndHourLabel = new javax.swing.JLabel();
+ momentEndSecondLabel = new javax.swing.JLabel();
+ momentEndUnixLabel = new javax.swing.JLabel();
+ momentEndUnixField = new javax.swing.JFormattedTextField();
+ presetPanel = new javax.swing.JPanel();
+ presetLoadButton = new javax.swing.JButton();
+ presetSelectComboBox = new javax.swing.JComboBox();
+ routerPanel = new javax.swing.JPanel();
+ routerScrollPane = new javax.swing.JScrollPane();
+ routerList = new javax.swing.JList();
+ statusPanel = new javax.swing.JPanel();
+ statusLabel = new javax.swing.JLabel();
+ statusProgressBar = new javax.swing.JProgressBar();


- setName("MainFrame");
- masterSplitPane.setMinimumSize(new java.awt.Dimension(510,
366));
-
lsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("From LS"));
- lsUpdateButton.setText("update");
- lsUpdateButton.addActionListener(new
java.awt.event.ActionListener() {
- public void actionPerformed(java.awt.event.ActionEvent
evt) {
- lsUpdateButtonActionPerformed(evt);
- }
- });
+ masterSplitPane.setMinimumSize(new java.awt.Dimension(510, 366));
+ lsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("From
LS"));
+ lsUpdateButton.setText("update");
+ lsUpdateButton.addActionListener(new java.awt.event.ActionListener()
{
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ lsUpdateButtonActionPerformed(evt);
+ }
+ });

- lsList.setModel(new javax.swing.AbstractListModel() {
- private static final long serialVersionUID =
-7894059504335602698L;
- String[] strings = { "sonar1" };
- public int getSize() { return strings.length; }
- public Object getElementAt(int i) { return strings[i]; }
- });
- lsScrollPane.setViewportView(lsList);
+ lsList.setModel(new javax.swing.AbstractListModel() {
+ /**
+ *
+ */
+ private static final long serialVersionUID =
-7894059504335602698L;
+ String[] strings = { "sonar1" };
+ public int getSize() { return strings.length; }
+ public Object getElementAt(int i) { return strings[i]; }
+ });
+ lsScrollPane.setViewportView(lsList);

- javax.swing.GroupLayout lsPanelLayout = new
javax.swing.GroupLayout(lsPanel);
- lsPanel.setLayout(lsPanelLayout);
- lsPanelLayout.setHorizontalGroup(
-
lsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(lsPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(lsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(lsScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 85, Short.MAX_VALUE)
- .addComponent(lsUpdateButton))
- .addContainerGap())
- );
- lsPanelLayout.setVerticalGroup(
-
lsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
lsPanelLayout.createSequentialGroup()
- .addComponent(lsScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 509, Short.MAX_VALUE)
- .addGap(7, 7, 7)
- .addComponent(lsUpdateButton,
javax.swing.GroupLayout.PREFERRED_SIZE, 17,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addContainerGap())
- );
+ org.jdesktop.layout.GroupLayout lsPanelLayout = new
org.jdesktop.layout.GroupLayout(lsPanel);
+ lsPanel.setLayout(lsPanelLayout);
+ lsPanelLayout.setHorizontalGroup(
+
lsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lsPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(lsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(lsScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 85, Short.MAX_VALUE)
+ .add(lsUpdateButton))
+ .addContainerGap())
+ );
+ lsPanelLayout.setVerticalGroup(
+
lsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
lsPanelLayout.createSequentialGroup()
+ .add(lsScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 514, Short.MAX_VALUE)
+ .add(7, 7, 7)
+ .add(lsUpdateButton,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap())
+ );

-
customLsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Custom
MA"));
- customLsConnectButton.setText("Connect");
+
customLsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Custom
MA"));
+ customLsConnectButton.setText("Connect");

- customLsAdressLabel.setText("address");
+ customLsAdressLabel.setText("address");

- javax.swing.GroupLayout customLsPanelLayout = new
javax.swing.GroupLayout(customLsPanel);
- customLsPanel.setLayout(customLsPanelLayout);
- customLsPanelLayout.setHorizontalGroup(
-
customLsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(customLsPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(customLsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(customLsConnectButton,
javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
- .addComponent(customLsField,
javax.swing.GroupLayout.DEFAULT_SIZE, 85, Short.MAX_VALUE)
- .addComponent(customLsAdressLabel))
- .addContainerGap())
- );
- customLsPanelLayout.setVerticalGroup(
-
customLsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
customLsPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(customLsAdressLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 8,
Short.MAX_VALUE)
- .addComponent(customLsField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(customLsConnectButton,
javax.swing.GroupLayout.PREFERRED_SIZE, 17,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addContainerGap())
- );
+ org.jdesktop.layout.GroupLayout customLsPanelLayout = new
org.jdesktop.layout.GroupLayout(customLsPanel);
+ customLsPanel.setLayout(customLsPanelLayout);
+ customLsPanelLayout.setHorizontalGroup(
+
customLsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(customLsPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(customLsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
customLsConnectButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(customLsField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 85, Short.MAX_VALUE)
+ .add(customLsAdressLabel))
+ .addContainerGap())
+ );
+ customLsPanelLayout.setVerticalGroup(
+
customLsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
customLsPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(customLsAdressLabel)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 8,
Short.MAX_VALUE)
+ .add(customLsField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(customLsConnectButton,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap())
+ );

- javax.swing.GroupLayout leftMainPanelLayout = new
javax.swing.GroupLayout(leftMainPanel);
- leftMainPanel.setLayout(leftMainPanelLayout);
- leftMainPanelLayout.setHorizontalGroup(
-
leftMainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(customLsPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
- .addComponent(lsPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
- );
- leftMainPanelLayout.setVerticalGroup(
-
leftMainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
leftMainPanelLayout.createSequentialGroup()
- .addComponent(lsPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(customLsPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
- );
- masterSplitPane.setLeftComponent(leftMainPanel);
+ org.jdesktop.layout.GroupLayout leftMainPanelLayout = new
org.jdesktop.layout.GroupLayout(leftMainPanel);
+ leftMainPanel.setLayout(leftMainPanelLayout);
+ leftMainPanelLayout.setHorizontalGroup(
+
leftMainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(customLsPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(lsPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ leftMainPanelLayout.setVerticalGroup(
+
leftMainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
leftMainPanelLayout.createSequentialGroup()
+ .add(lsPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(customLsPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ );
+ masterSplitPane.setLeftComponent(leftMainPanel);

-
StartMomentPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Start
moment"));
- momentStartYearComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "2007", "2006", "2005",
"2004" }));
+
StartMomentPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Start
moment"));
+ momentStartYearComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "2007", "2006", "2005",
"2004" }));

- momentStartMonthComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "January", "February",
"March", "April", "May", "June", "July", "August", "September", "Oktober",
"November", "December" }));
+ momentStartMonthComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "January", "February",
"March", "April", "May", "June", "July", "August", "September", "Oktober",
"November", "December" }));

- momentStartDayComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6",
"7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
"20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31" }));
+ momentStartDayComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6",
"7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
"20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31" }));

- momentStartHourComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "01", "02", "03", "04",
"05", "06", "07", "08", "09", "10", "11", "14", "15", "16", "17", "20", "22",
"23" }));
+ momentStartHourComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "01", "02", "03", "04",
"05", "06", "07", "08", "09", "10", "11", "14", "15", "16", "17", "20", "22",
"23" }));

- momentStartSecondComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "1", "2", "3", "4",
"5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17",
"18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
"31", "32", "33", "34", "36", "37", "38", "39", "40", "42", "43", "46", "47",
"48", "51", "52", "53", "54", "55", "56", "57", "58", "59" }));
+ momentStartSecondComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "1", "2", "3", "4",
"5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17",
"18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
"31", "32", "33", "34", "36", "37", "38", "39", "40", "42", "43", "46", "47",
"48", "51", "52", "53", "54", "55", "56", "57", "58", "59" }));

- momentStartYearLabel.setText("year");
+ momentStartYearLabel.setText("year");

- momentStartMonthLabel.setText("month");
+ momentStartMonthLabel.setText("month");

- momentStartDayLabel.setText("day");
+ momentStartDayLabel.setText("day");

- momentStartHourLabel.setText("hour");
+ momentStartHourLabel.setText("hour");

- momentStartSecondLabel.setText("second");
+ momentStartSecondLabel.setText("second");

- momentStartUnixLabel.setText("unix time");
+ momentStartUnixLabel.setText("unix time");

- momentStartUnixField.setText("1178193663");
+ momentStartUnixField.setText("1178193663");

- javax.swing.GroupLayout StartMomentPanelLayout = new
javax.swing.GroupLayout(StartMomentPanel);
- StartMomentPanel.setLayout(StartMomentPanelLayout);
- StartMomentPanelLayout.setHorizontalGroup(
-
StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(StartMomentPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
-
.addGroup(StartMomentPanelLayout.createSequentialGroup()
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(momentStartMonthLabel)
- .addComponent(momentStartYearLabel)
- .addComponent(momentStartDayLabel)
- .addComponent(momentStartHourLabel)
- .addComponent(momentStartSecondLabel))
- .addGap(27, 27, 27))
-
.addGroup(StartMomentPanelLayout.createSequentialGroup()
- .addComponent(momentStartUnixLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
- .addComponent(momentStartHourComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentStartDayComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentStartMonthComboBox,
javax.swing.GroupLayout.Alignment.LEADING, 0,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- .addComponent(momentStartYearComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentStartSecondComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentStartUnixField,
javax.swing.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE))
- .addContainerGap())
- );
- StartMomentPanelLayout.setVerticalGroup(
-
StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(StartMomentPanelLayout.createSequentialGroup()
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(StartMomentPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(momentStartYearLabel))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
StartMomentPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(momentStartYearComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentStartMonthLabel)
- .addComponent(momentStartMonthComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentStartDayLabel)
- .addComponent(momentStartDayComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentStartHourLabel)
- .addComponent(momentStartHourComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentStartSecondComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentStartSecondLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(StartMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentStartUnixField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentStartUnixLabel))
- .addContainerGap(48, Short.MAX_VALUE))
- );
+ org.jdesktop.layout.GroupLayout StartMomentPanelLayout = new
org.jdesktop.layout.GroupLayout(StartMomentPanel);
+ StartMomentPanel.setLayout(StartMomentPanelLayout);
+ StartMomentPanelLayout.setHorizontalGroup(
+
StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(StartMomentPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(StartMomentPanelLayout.createSequentialGroup()
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(momentStartMonthLabel)
+ .add(momentStartYearLabel)
+ .add(momentStartDayLabel)
+ .add(momentStartHourLabel)
+ .add(momentStartSecondLabel))
+ .add(27, 27, 27))
+ .add(StartMomentPanelLayout.createSequentialGroup()
+ .add(momentStartUnixLabel)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentStartHourComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentStartDayComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentStartMonthComboBox, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentStartYearComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentStartSecondComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(momentStartUnixField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+ StartMomentPanelLayout.setVerticalGroup(
+
StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(StartMomentPanelLayout.createSequentialGroup()
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(StartMomentPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(momentStartYearLabel))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
StartMomentPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(momentStartYearComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentStartMonthLabel)
+ .add(momentStartMonthComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentStartDayLabel)
+ .add(momentStartDayComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentStartHourLabel)
+ .add(momentStartHourComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentStartSecondComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(momentStartSecondLabel))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(StartMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentStartUnixField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(momentStartUnixLabel))
+ .addContainerGap(48, Short.MAX_VALUE))
+ );

- rawFilterlabel.setText("Filter rule");
+ rawFilterlabel.setText("Filter rule");

- rawAggregationLabel.setText("Aggregation rule");
+ rawAggregationLabel.setText("Aggregation rule");

- rawSubmitButton.setText("Do It");
+ rawSubmitButton.setText("Do It");

-
rawDataScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
- rawDataScrollPane.setAutoscrolls(true);
- rawDataTable.setModel(new javax.swing.table.DefaultTableModel(
- new Object [][] {
- {null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null},
- {null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null},
- {null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null},
- {null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null}
- },
- new String [] {
- "Address Family", "Time first seen", "Msec first
seen", "Protocol", "Src address", "Src port", "Dst address", "Dst port", "Src
AS", "Dst AS", "Input IF", "Output IF", "TCP Flags", "Tos", "Packets", "Title
16"
- }
- ) {
- private static final long serialVersionUID =
8362868728890696937L;
- boolean[] canEdit = new boolean [] {
- false, false, false, false, false, false, false,
false, false, false, false, false, false, false, false, false
- };
+
rawDataScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
+ rawDataScrollPane.setAutoscrolls(true);
+ rawDataTable.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null},
+ {null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null},
+ {null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null},
+ {null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null}
+ },
+ new String [] {
+ "Address Family", "Time first seen", "Msec first seen",
"Protocol", "Src address", "Src port", "Dst address", "Dst port", "Src AS",
"Dst AS", "Input IF", "Output IF", "TCP Flags", "Tos", "Packets", "Title 16"
+ }
+ ) {
+ private static final long serialVersionUID =
8362868728890696937L;
+ boolean[] canEdit = new boolean [] {
+ false, false, false, false, false, false, false, false,
false, false, false, false, false, false, false, false
+ };

- public boolean isCellEditable(int rowIndex, int
columnIndex) {
- return canEdit [columnIndex];
- }
- });
-
rawDataTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
- rawDataTable.setMinimumSize(new java.awt.Dimension(500, 400));
- rawDataScrollPane.setViewportView(rawDataTable);
+ public boolean isCellEditable(int rowIndex, int columnIndex) {
+ return canEdit [columnIndex];
+ }
+ });
+ rawDataTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
+ rawDataTable.setMinimumSize(new java.awt.Dimension(500, 400));
+ rawDataScrollPane.setViewportView(rawDataTable);

- rawExportButton.setText("export to csv");
+ rawExportButton.setText("export to csv");

-
rawFieldPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Fields"));
- rawFieldsList.setModel(new javax.swing.AbstractListModel() {
- private static final long serialVersionUID =
-64217619492524788L;
- String[] strings = { "Address family", "Timer
first seen", "Msec first seen", "Time last seen", "Msec last seen",
"Protocol", "Source address", "Source port", "Destination address",
"Destination port", "Source AS", "Destination AS", "Input interface", "Output
interface", "TCP flags", "Tos", "Packets", "Bytes" };
- public int getSize() { return strings.length; }
- public Object getElementAt(int i) { return strings[i]; }
- });
- rawFieldScrollPane.setViewportView(rawFieldsList);
+
rawFieldPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Fields"));
+ rawFieldsList.setModel(new javax.swing.AbstractListModel() {
+ private static final long serialVersionUID =
-64217619492524788L;
+ String[] strings = { "Address family", "Timer first
seen", "Msec first seen", "Time last seen", "Msec last seen", "Protocol",
"Source address", "Source port", "Destination address", "Destination port",
"Source AS", "Destination AS", "Input interface", "Output interface", "TCP
flags", "Tos", "Packets", "Bytes" };
+ public int getSize() { return strings.length; }
+ public Object getElementAt(int i) { return strings[i]; }
+ });
+ rawFieldScrollPane.setViewportView(rawFieldsList);

- javax.swing.GroupLayout rawFieldPanelLayout = new
javax.swing.GroupLayout(rawFieldPanel);
- rawFieldPanel.setLayout(rawFieldPanelLayout);
- rawFieldPanelLayout.setHorizontalGroup(
-
rawFieldPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(rawFieldPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(rawFieldScrollPane,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
- );
- rawFieldPanelLayout.setVerticalGroup(
-
rawFieldPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(rawFieldPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(rawFieldScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 225, Short.MAX_VALUE)
- .addContainerGap())
- );
+ org.jdesktop.layout.GroupLayout rawFieldPanelLayout = new
org.jdesktop.layout.GroupLayout(rawFieldPanel);
+ rawFieldPanel.setLayout(rawFieldPanelLayout);
+ rawFieldPanelLayout.setHorizontalGroup(
+
rawFieldPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rawFieldPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(rawFieldScrollPane,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
+ );
+ rawFieldPanelLayout.setVerticalGroup(
+
rawFieldPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rawFieldPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(rawFieldScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE)
+ .addContainerGap())
+ );

- javax.swing.GroupLayout rawQueryPanelLayout = new
javax.swing.GroupLayout(rawQueryPanel);
- rawQueryPanel.setLayout(rawQueryPanelLayout);
- rawQueryPanelLayout.setHorizontalGroup(
-
rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(rawQueryPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(rawQueryPanelLayout.createSequentialGroup()
-
.addGroup(rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
- .addComponent(rawFilterlabel)
- .addComponent(rawAggregationLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(rawAggregationField,
javax.swing.GroupLayout.DEFAULT_SIZE, 686, Short.MAX_VALUE)
- .addComponent(rawFilterField,
javax.swing.GroupLayout.DEFAULT_SIZE, 686, Short.MAX_VALUE)))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
rawQueryPanelLayout.createSequentialGroup()
- .addComponent(rawExportButton)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(rawSubmitButton))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
rawQueryPanelLayout.createSequentialGroup()
- .addComponent(rawFieldPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(rawDataScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 617, Short.MAX_VALUE)))
- .addContainerGap())
- );
- rawQueryPanelLayout.setVerticalGroup(
-
rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(rawQueryPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(rawFilterlabel)
- .addComponent(rawFilterField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(rawAggregationLabel)
- .addComponent(rawAggregationField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(rawSubmitButton)
- .addComponent(rawExportButton))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(rawQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(rawDataScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 273, Short.MAX_VALUE)
- .addComponent(rawFieldPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
- .addContainerGap())
- );
- queryTabbedPanel.addTab("Raw", rawQueryPanel);
+ org.jdesktop.layout.GroupLayout rawQueryPanelLayout = new
org.jdesktop.layout.GroupLayout(rawQueryPanel);
+ rawQueryPanel.setLayout(rawQueryPanelLayout);
+ rawQueryPanelLayout.setHorizontalGroup(
+
rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rawQueryPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rawQueryPanelLayout.createSequentialGroup()
+
.add(rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(rawFilterlabel)
+ .add(rawAggregationLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rawAggregationField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 686, Short.MAX_VALUE)
+ .add(rawFilterField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 686, Short.MAX_VALUE)))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
rawQueryPanelLayout.createSequentialGroup()
+ .add(rawExportButton)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(rawSubmitButton))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
rawQueryPanelLayout.createSequentialGroup()
+ .add(rawFieldPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(rawDataScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 617, Short.MAX_VALUE)))
+ .addContainerGap())
+ );
+ rawQueryPanelLayout.setVerticalGroup(
+
rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rawQueryPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(rawFilterlabel)
+ .add(rawFilterField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(rawAggregationLabel)
+ .add(rawAggregationField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(rawSubmitButton)
+ .add(rawExportButton))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(rawQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rawDataScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 278, Short.MAX_VALUE)
+ .add(rawFieldPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+ queryTabbedPanel.addTab("Raw", rawQueryPanel);

-
TopQueryparametersPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Top
query parameters"));
- topSubmitButton.setText("submit");
+
TopQueryparametersPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Top
query parameters"));
+ topSubmitButton.setText("submit");

-
topNumberField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- topNumberField.setText("10");
+ topNumberField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ topNumberField.setText("10");

- topOrderComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "Flows", "Packets", "Bytes",
"Pps", "Bps", "Bpp" }));
+ topOrderComboBox.setModel(new javax.swing.DefaultComboBoxModel(new
String[] { "Flows", "Packets", "Bytes", "Pps", "Bps", "Bpp" }));

- topElementLabel.setText("Element");
+ topElementLabel.setText("Element");

- topOrderLabel.setText("Order by");
+ topOrderLabel.setText("Order by");

- topNumberLabel.setText("Number");
+ topNumberLabel.setText("Number");

- topElementComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "Record", "Srcip", "Dstip",
"Srcport", "Dstport", "Port", "Tos", "Src AS", "Dst AS", "AS", "InIF",
"OutIF", "IF", "Proto" }));
+ topElementComboBox.setModel(new javax.swing.DefaultComboBoxModel(new
String[] { "Record", "Srcip", "Dstip", "Srcport", "Dstport", "Port", "Tos",
"Src AS", "Dst AS", "AS", "InIF", "OutIF", "IF", "Proto" }));

-
topGroupTransCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0,
0, 0, 0));
- topGroupTransCheckBox.setMargin(new java.awt.Insets(0, 0, 0,
0));
+
topGroupTransCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0,
0, 0, 0));
+ topGroupTransCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0));

- topGroupTransLabel.setText("group trans prot");
+ topGroupTransLabel.setText("group trans prot");

- topExportButton.setText("export to csv");
+ topExportButton.setText("export to csv");

- javax.swing.GroupLayout TopQueryparametersPanelLayout = new
javax.swing.GroupLayout(TopQueryparametersPanel);
-
TopQueryparametersPanel.setLayout(TopQueryparametersPanelLayout);
- TopQueryparametersPanelLayout.setHorizontalGroup(
-
TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(TopQueryparametersPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(TopQueryparametersPanelLayout.createSequentialGroup()
- .addComponent(topNumberLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(topNumberField,
javax.swing.GroupLayout.DEFAULT_SIZE, 67, Short.MAX_VALUE))
-
.addGroup(TopQueryparametersPanelLayout.createSequentialGroup()
-
.addGroup(TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(topElementLabel)
- .addComponent(topOrderLabel))
- .addGap(8, 8, 8)
-
.addGroup(TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(topOrderComboBox, 0, 66,
Short.MAX_VALUE)
- .addComponent(topElementComboBox, 0, 66,
Short.MAX_VALUE)))
- .addComponent(topSubmitButton,
javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, 128, Short.MAX_VALUE)
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
TopQueryparametersPanelLayout.createSequentialGroup()
- .addComponent(topGroupTransLabel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(topGroupTransCheckBox))
- .addComponent(topExportButton,
javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, 128, Short.MAX_VALUE))
- .addContainerGap())
- );
- TopQueryparametersPanelLayout.setVerticalGroup(
-
TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(TopQueryparametersPanelLayout.createSequentialGroup()
-
.addGroup(TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(topElementLabel)
- .addComponent(topElementComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(topOrderLabel)
- .addComponent(topOrderComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
- .addGap(14, 14, 14)
-
.addGroup(TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(topNumberLabel)
- .addComponent(topNumberField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(TopQueryparametersPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(topGroupTransLabel)
- .addComponent(topGroupTransCheckBox))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(topSubmitButton)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(topExportButton)
- .addContainerGap(160, Short.MAX_VALUE))
- );
+ org.jdesktop.layout.GroupLayout TopQueryparametersPanelLayout = new
org.jdesktop.layout.GroupLayout(TopQueryparametersPanel);
+ TopQueryparametersPanel.setLayout(TopQueryparametersPanelLayout);
+ TopQueryparametersPanelLayout.setHorizontalGroup(
+
TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(TopQueryparametersPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+
.add(TopQueryparametersPanelLayout.createSequentialGroup()
+ .add(topNumberLabel)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(topNumberField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 67, Short.MAX_VALUE))
+
.add(TopQueryparametersPanelLayout.createSequentialGroup()
+
.add(TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(topElementLabel)
+ .add(topOrderLabel))
+ .add(8, 8, 8)
+
.add(TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(topOrderComboBox, 0, 66, Short.MAX_VALUE)
+ .add(topElementComboBox, 0, 66,
Short.MAX_VALUE)))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
topSubmitButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 128,
Short.MAX_VALUE)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
TopQueryparametersPanelLayout.createSequentialGroup()
+ .add(topGroupTransLabel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(topGroupTransCheckBox))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
topExportButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 128,
Short.MAX_VALUE))
+ .addContainerGap())
+ );
+ TopQueryparametersPanelLayout.setVerticalGroup(
+
TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(TopQueryparametersPanelLayout.createSequentialGroup()
+
.add(TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(topElementLabel)
+ .add(topElementComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(topOrderLabel)
+ .add(topOrderComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(14, 14, 14)
+
.add(TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(topNumberLabel)
+ .add(topNumberField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(TopQueryparametersPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(topGroupTransLabel)
+ .add(topGroupTransCheckBox))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(topSubmitButton)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(topExportButton)
+ .addContainerGap(165, Short.MAX_VALUE))
+ );

- topDataTable.setModel(new javax.swing.table.DefaultTableModel(
- new Object [][] {
- {null, null, null, null, null, null, null, null,
null, null},
- {null, null, null, null, null, null, null, null,
null, null},
- {null, null, null, null, null, null, null, null,
null, null},
- {null, null, null, null, null, null, null, null,
null, null}
- },
- new String [] {
- "#", "Date first seen", "Duration", "Proto", "Flows",
"Packets", "Bytes", "Pps", "Bps", "Bpp"
- }
- ) {
- private static final long serialVersionUID =
5827942695820294521L;
- boolean[] canEdit = new boolean [] {
- false, false, false, false, true, true, true, true,
true, true
- };
+ topDataTable.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null, null, null, null, null, null, null, null},
+ {null, null, null, null, null, null, null, null, null, null},
+ {null, null, null, null, null, null, null, null, null, null},
+ {null, null, null, null, null, null, null, null, null, null}
+ },
+ new String [] {
+ "#", "Date first seen", "Duration", "Proto", "Flows",
"Packets", "Bytes", "Pps", "Bps", "Bpp"
+ }
+ ) {
+ private static final long serialVersionUID =
5827942695820294521L;
+ boolean[] canEdit = new boolean [] {
+ false, false, false, false, true, true, true, true, true,
true
+ };

- public boolean isCellEditable(int rowIndex, int
columnIndex) {
- return canEdit [columnIndex];
- }
- });
- topDataScrollPane.setViewportView(topDataTable);
+ public boolean isCellEditable(int rowIndex, int columnIndex) {
+ return canEdit [columnIndex];
+ }
+ });
+ topDataScrollPane.setViewportView(topDataTable);

- javax.swing.GroupLayout topQueryPanelLayout = new
javax.swing.GroupLayout(topQueryPanel);
- topQueryPanel.setLayout(topQueryPanelLayout);
- topQueryPanelLayout.setHorizontalGroup(
-
topQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(topQueryPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(TopQueryparametersPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(topDataScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 635, Short.MAX_VALUE)
- .addContainerGap())
- );
- topQueryPanelLayout.setVerticalGroup(
-
topQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(topQueryPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(topQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(topDataScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 354, Short.MAX_VALUE)
- .addComponent(TopQueryparametersPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
- .addContainerGap())
- );
- queryTabbedPanel.addTab("Top", topQueryPanel);
+ org.jdesktop.layout.GroupLayout topQueryPanelLayout = new
org.jdesktop.layout.GroupLayout(topQueryPanel);
+ topQueryPanel.setLayout(topQueryPanelLayout);
+ topQueryPanelLayout.setHorizontalGroup(
+
topQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(topQueryPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(TopQueryparametersPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(topDataScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 635, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+ topQueryPanelLayout.setVerticalGroup(
+
topQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(topQueryPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(topQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(topDataScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 359, Short.MAX_VALUE)
+ .add(TopQueryparametersPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+ queryTabbedPanel.addTab("Top", topQueryPanel);

- statsFlowsLabel.setText("Flows");
+ statsFlowsLabel.setText("Flows");

- statsFlowsTcpLabel.setText("Flows TCP");
+ statsFlowsTcpLabel.setText("Flows TCP");

- statsFlowsUdpLabel.setText("Flows UDP");
+ statsFlowsUdpLabel.setText("Flows UDP");

- statsFlowsIcmpLabel.setText("Flows ICMP");
+ statsFlowsIcmpLabel.setText("Flows ICMP");

- statsFlowsOthersLabel.setText("Flows other");
+ statsFlowsOthersLabel.setText("Flows other");

- statsFlowsPacketsLabel.setText("Packets");
+ statsFlowsPacketsLabel.setText("Packets");

- statsPacketsTcpLabel.setText("Packets TCP");
+ statsPacketsTcpLabel.setText("Packets TCP");

- statsPacketsUdpLabel.setText("Packets UDP");
+ statsPacketsUdpLabel.setText("Packets UDP");

- statsPacketsIcmpLabel.setText("Packets ICMP");
+ statsPacketsIcmpLabel.setText("Packets ICMP");

- statsPacketsOtherLabel.setText("Packets other");
+ statsPacketsOtherLabel.setText("Packets other");

- statsBytesLabel.setText("Bytes");
+ statsBytesLabel.setText("Bytes");

- statsBytesTcpLabel.setText("Bytes TCP");
+ statsBytesTcpLabel.setText("Bytes TCP");

- statsBytesUdpLabel.setText("Bytes UDP");
+ statsBytesUdpLabel.setText("Bytes UDP");

- statsBytesIcmpLabel.setText("Bytes ICMP");
+ statsBytesIcmpLabel.setText("Bytes ICMP");

- statsBytesOtherLabel.setText("Bytes other");
+ statsBytesOtherLabel.setText("Bytes other");

- statsFirstLabel.setText("First");
+ statsFirstLabel.setText("First");

- statsLastLabel.setText("Last");
+ statsLastLabel.setText("Last");

- statsMsecFirstLabel.setText("msec first");
+ statsMsecFirstLabel.setText("msec first");

- statsMsecLastLabel.setText("msec last");
+ statsMsecLastLabel.setText("msec last");

- statsSeqFailLabel.setText("Sequence failures");
+ statsSeqFailLabel.setText("Sequence failures");

- statsFlowsField.setEditable(false);
-
statsFlowsField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsFlowsField.setText("32743934");
+ statsFlowsField.setEditable(false);
+ statsFlowsField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsFlowsField.setText("32743934");

- statsFlowsTcpField.setEditable(false);
-
statsFlowsTcpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsFlowsTcpField.setText("28855797");
+ statsFlowsTcpField.setEditable(false);
+
statsFlowsTcpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsFlowsTcpField.setText("28855797");

- statsFlowsudpField.setEditable(false);
-
statsFlowsudpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsFlowsudpField.setText("3640646");
+ statsFlowsudpField.setEditable(false);
+
statsFlowsudpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsFlowsudpField.setText("3640646");

- statsFlowsIcmpField.setEditable(false);
-
statsFlowsIcmpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsFlowsIcmpField.setText("166385");
+ statsFlowsIcmpField.setEditable(false);
+
statsFlowsIcmpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsFlowsIcmpField.setText("166385");

- statsFlowsOtherField.setEditable(false);
-
statsFlowsOtherField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsFlowsOtherField.setText("81106");
+ statsFlowsOtherField.setEditable(false);
+
statsFlowsOtherField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsFlowsOtherField.setText("81106");

- statsPacketsField.setEditable(false);
-
statsPacketsField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsPacketsField.setText("145371187");
+ statsPacketsField.setEditable(false);
+
statsPacketsField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsPacketsField.setText("145371187");

- statsPacketsTcpField.setEditable(false);
-
statsPacketsTcpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsPacketsTcpField.setText("131640619");
+ statsPacketsTcpField.setEditable(false);
+
statsPacketsTcpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsPacketsTcpField.setText("131640619");

- statsPacketsUdpField.setEditable(false);
-
statsPacketsUdpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsPacketsUdpField.setText("8769174");
+ statsPacketsUdpField.setEditable(false);
+
statsPacketsUdpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsPacketsUdpField.setText("8769174");

- statsPacketsIcmpField.setEditable(false);
-
statsPacketsIcmpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsPacketsIcmpField.setText("215350");
+ statsPacketsIcmpField.setEditable(false);
+
statsPacketsIcmpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsPacketsIcmpField.setText("215350");

- statsPacketsotherField.setEditable(false);
-
statsPacketsotherField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsPacketsotherField.setText("4746044");
+ statsPacketsotherField.setEditable(false);
+
statsPacketsotherField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsPacketsotherField.setText("4746044");

- statsBytesField.setEditable(false);
-
statsBytesField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsBytesField.setText("107316849515");
+ statsBytesField.setEditable(false);
+ statsBytesField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsBytesField.setText("107316849515");

- statsBytesTcpField.setEditable(false);
-
statsBytesTcpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsBytesTcpField.setText("101866880996");
+ statsBytesTcpField.setEditable(false);
+
statsBytesTcpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsBytesTcpField.setText("101866880996");

- statsBytesUdpField.setEditable(false);
-
statsBytesUdpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsBytesUdpField.setText("2048101988");
+ statsBytesUdpField.setEditable(false);
+
statsBytesUdpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsBytesUdpField.setText("2048101988");

- statsBytesIcmpField.setEditable(false);
-
statsBytesIcmpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsBytesIcmpField.setText("2048101988");
+ statsBytesIcmpField.setEditable(false);
+
statsBytesIcmpField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsBytesIcmpField.setText("2048101988");

- statsBytesOtherField.setEditable(false);
-
statsBytesOtherField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsBytesOtherField.setText("15996576");
+ statsBytesOtherField.setEditable(false);
+
statsBytesOtherField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsBytesOtherField.setText("15996576");

- statsFirstField.setEditable(false);
-
statsFirstField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsFirstField.setText("3385869955");
+ statsFirstField.setEditable(false);
+ statsFirstField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsFirstField.setText("3385869955");

- statsLastField.setEditable(false);
-
statsLastField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsLastField.setText("1170162779");
+ statsLastField.setEditable(false);
+ statsLastField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsLastField.setText("1170162779");

- statsMsecFirstField.setEditable(false);
-
statsMsecFirstField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsMsecFirstField.setText("166");
+ statsMsecFirstField.setEditable(false);
+
statsMsecFirstField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsMsecFirstField.setText("166");

- statsMsecLastField.setEditable(false);
-
statsMsecLastField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsMsecLastField.setText("0");
+ statsMsecLastField.setEditable(false);
+
statsMsecLastField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsMsecLastField.setText("0");

- statsSeqFailField.setEditable(false);
-
statsSeqFailField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- statsSeqFailField.setText("139");
+ statsSeqFailField.setEditable(false);
+
statsSeqFailField.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+ statsSeqFailField.setText("139");

- statsSubmitButton.setText("Submit Qeury");
+ statsSubmitButton.setText("Submit Qeury");

- javax.swing.GroupLayout statQueryPanelLayout = new
javax.swing.GroupLayout(statQueryPanel);
- statQueryPanel.setLayout(statQueryPanelLayout);
- statQueryPanelLayout.setHorizontalGroup(
-
statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(statQueryPanelLayout.createSequentialGroup()
- .addGap(29, 29, 29)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
- .addComponent(statsFlowsLabel)
- .addComponent(statsFlowsTcpLabel)
- .addComponent(statsFlowsUdpLabel)
- .addComponent(statsFlowsIcmpLabel)
- .addComponent(statsFlowsOthersLabel)
- .addComponent(statsFlowsPacketsLabel)
- .addComponent(statsPacketsTcpLabel)
- .addComponent(statsPacketsUdpLabel)
- .addComponent(statsPacketsIcmpLabel)
- .addComponent(statsPacketsOtherLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(statsPacketsotherField,
javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsPacketsField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsPacketsUdpField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsPacketsIcmpField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsFlowsOtherField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsFlowsIcmpField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsFlowsudpField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsFlowsTcpField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsPacketsTcpField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
- .addComponent(statsFlowsField,
javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
- .addComponent(statsSubmitButton)
-
.addGroup(statQueryPanelLayout.createSequentialGroup()
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
statQueryPanelLayout.createSequentialGroup()
- .addComponent(statsBytesIcmpLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
statQueryPanelLayout.createSequentialGroup()
-
.addComponent(statsBytesOtherLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
statQueryPanelLayout.createSequentialGroup()
- .addComponent(statsFirstLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
statQueryPanelLayout.createSequentialGroup()
- .addComponent(statsLastLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
-
.addGroup(statQueryPanelLayout.createSequentialGroup()
- .addGap(47, 47, 47)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
-
.addComponent(statsMsecFirstLabel)
-
.addComponent(statsMsecLastLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
statQueryPanelLayout.createSequentialGroup()
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
-
.addComponent(statsBytesTcpLabel)
-
.addComponent(statsBytesUdpLabel)
-
.addComponent(statsBytesLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
- .addComponent(statsSeqFailLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
statQueryPanelLayout.createSequentialGroup()
- .addComponent(statsBytesField)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
- .addComponent(statsSeqFailField)
- .addComponent(statsMsecLastField)
- .addComponent(statsMsecFirstField)
- .addComponent(statsBytesUdpField)
- .addComponent(statsBytesIcmpField)
- .addComponent(statsBytesOtherField)
- .addComponent(statsFirstField)
- .addComponent(statsLastField)
- .addComponent(statsBytesTcpField,
javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE))))
- .addGap(383, 383, 383))
- );
- statQueryPanelLayout.setVerticalGroup(
-
statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(statQueryPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(statQueryPanelLayout.createSequentialGroup()
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(statQueryPanelLayout.createSequentialGroup()
- .addGap(21, 21, 21)
- .addComponent(statsFlowsLabel))
-
.addGroup(statQueryPanelLayout.createSequentialGroup()
- .addGap(25, 25, 25)
- .addComponent(statsFlowsField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsFlowsTcpLabel)
- .addComponent(statsFlowsTcpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsFlowsudpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsFlowsUdpLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsFlowsIcmpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsFlowsIcmpLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsFlowsOtherField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsFlowsOthersLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsPacketsField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsFlowsPacketsLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsPacketsTcpLabel)
- .addComponent(statsPacketsTcpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsPacketsUdpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsPacketsUdpLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsPacketsIcmpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsPacketsIcmpLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsPacketsOtherLabel)
- .addComponent(statsPacketsotherField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))
-
.addGroup(statQueryPanelLayout.createSequentialGroup()
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsBytesField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsBytesLabel))
- .addGap(10, 10, 10)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsBytesTcpLabel)
- .addComponent(statsBytesTcpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsBytesUdpLabel)
- .addComponent(statsBytesUdpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsBytesIcmpLabel)
- .addComponent(statsBytesIcmpField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsBytesOtherLabel)
- .addComponent(statsBytesOtherField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsFirstLabel)
- .addComponent(statsFirstField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsLastLabel)
- .addComponent(statsLastField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsMsecFirstField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsMsecFirstLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsMsecLastField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsMsecLastLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(statQueryPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(statsSeqFailField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(statsSeqFailLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(statsSubmitButton)))
- .addContainerGap(87, Short.MAX_VALUE))
- );
- queryTabbedPanel.addTab("Statistical", statQueryPanel);
+ org.jdesktop.layout.GroupLayout statQueryPanelLayout = new
org.jdesktop.layout.GroupLayout(statQueryPanel);
+ statQueryPanel.setLayout(statQueryPanelLayout);
+ statQueryPanelLayout.setHorizontalGroup(
+
statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(statQueryPanelLayout.createSequentialGroup()
+ .add(29, 29, 29)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(statsFlowsLabel)
+ .add(statsFlowsTcpLabel)
+ .add(statsFlowsUdpLabel)
+ .add(statsFlowsIcmpLabel)
+ .add(statsFlowsOthersLabel)
+ .add(statsFlowsPacketsLabel)
+ .add(statsPacketsTcpLabel)
+ .add(statsPacketsUdpLabel)
+ .add(statsPacketsIcmpLabel)
+ .add(statsPacketsOtherLabel))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
statsPacketsotherField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56,
Short.MAX_VALUE)
+ .add(statsPacketsField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsPacketsUdpField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsPacketsIcmpField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsFlowsOtherField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsFlowsIcmpField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsFlowsudpField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsFlowsTcpField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsPacketsTcpField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
+ .add(statsFlowsField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(statsSubmitButton)
+ .add(statQueryPanelLayout.createSequentialGroup()
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+
.add(org.jdesktop.layout.GroupLayout.TRAILING,
statQueryPanelLayout.createSequentialGroup()
+ .add(statsBytesIcmpLabel)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
+
.add(org.jdesktop.layout.GroupLayout.TRAILING,
statQueryPanelLayout.createSequentialGroup()
+ .add(statsBytesOtherLabel)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
+
.add(org.jdesktop.layout.GroupLayout.TRAILING,
statQueryPanelLayout.createSequentialGroup()
+ .add(statsFirstLabel)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
+
.add(org.jdesktop.layout.GroupLayout.TRAILING,
statQueryPanelLayout.createSequentialGroup()
+ .add(statsLastLabel)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
+
.add(statQueryPanelLayout.createSequentialGroup()
+ .add(47, 47, 47)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(statsMsecFirstLabel)
+ .add(statsMsecLastLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
+
.add(org.jdesktop.layout.GroupLayout.TRAILING,
statQueryPanelLayout.createSequentialGroup()
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(statsBytesTcpLabel)
+ .add(statsBytesUdpLabel)
+ .add(statsBytesLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
+ .add(statsSeqFailLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING,
false)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
statQueryPanelLayout.createSequentialGroup()
+ .add(statsBytesField)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))
+ .add(statsSeqFailField)
+ .add(statsMsecLastField)
+ .add(statsMsecFirstField)
+ .add(statsBytesUdpField)
+ .add(statsBytesIcmpField)
+ .add(statsBytesOtherField)
+ .add(statsFirstField)
+ .add(statsLastField)
+ .add(statsBytesTcpField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE))))
+ .add(383, 383, 383))
+ );
+ statQueryPanelLayout.setVerticalGroup(
+
statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(statQueryPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(statQueryPanelLayout.createSequentialGroup()
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(statQueryPanelLayout.createSequentialGroup()
+ .add(21, 21, 21)
+ .add(statsFlowsLabel))
+ .add(statQueryPanelLayout.createSequentialGroup()
+ .add(25, 25, 25)
+ .add(statsFlowsField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsFlowsTcpLabel)
+ .add(statsFlowsTcpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsFlowsudpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsFlowsUdpLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsFlowsIcmpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsFlowsIcmpLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsFlowsOtherField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsFlowsOthersLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsPacketsField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsFlowsPacketsLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsPacketsTcpLabel)
+ .add(statsPacketsTcpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsPacketsUdpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsPacketsUdpLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsPacketsIcmpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsPacketsIcmpLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsPacketsOtherLabel)
+ .add(statsPacketsotherField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .add(statQueryPanelLayout.createSequentialGroup()
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsBytesField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsBytesLabel))
+ .add(10, 10, 10)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsBytesTcpLabel)
+ .add(statsBytesTcpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsBytesUdpLabel)
+ .add(statsBytesUdpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsBytesIcmpLabel)
+ .add(statsBytesIcmpField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsBytesOtherLabel)
+ .add(statsBytesOtherField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsFirstLabel)
+ .add(statsFirstField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsLastLabel)
+ .add(statsLastField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsMsecFirstField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsMsecFirstLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsMsecLastField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsMsecLastLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(statQueryPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(statsSeqFailField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(statsSeqFailLabel))
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(statsSubmitButton)))
+ .addContainerGap(92, Short.MAX_VALUE))
+ );
+ queryTabbedPanel.addTab("Statistical", statQueryPanel);

-
endMomentPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("End
moment"));
- momentEndYearComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "2007", "2006", "2005",
"2004" }));
+
endMomentPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("End
moment"));
+ momentEndYearComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "2007", "2006", "2005",
"2004" }));

- momentEndMonthComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "January", "February",
"March", "April", "May", "June", "July", "August", "September", "Oktober",
"November", "December" }));
+ momentEndMonthComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "January", "February",
"March", "April", "May", "June", "July", "August", "September", "Oktober",
"November", "December" }));

- momentEndDayComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6",
"7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
"20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31" }));
+ momentEndDayComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6",
"7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
"20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31" }));

- momentEndHourComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "01", "02", "03", "04",
"05", "06", "07", "08", "09", "10", "11", "14", "15", "16", "17", "20", "22",
"23" }));
+ momentEndHourComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "01", "02", "03", "04",
"05", "06", "07", "08", "09", "10", "11", "14", "15", "16", "17", "20", "22",
"23" }));

- momentEndSecondComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "1", "2", "3", "4",
"5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17",
"18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
"31", "32", "33", "34", "36", "37", "38", "39", "40", "42", "43", "46", "47",
"48", "51", "52", "53", "54", "55", "56", "57", "58", "59" }));
- momentEndSecondComboBox.setSelectedIndex(1);
+ momentEndSecondComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "00", "1", "2", "3", "4",
"5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17",
"18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
"31", "32", "33", "34", "36", "37", "38", "39", "40", "42", "43", "46", "47",
"48", "51", "52", "53", "54", "55", "56", "57", "58", "59" }));
+ momentEndSecondComboBox.setSelectedIndex(1);

- momentEndYearLabel.setText("year");
+ momentEndYearLabel.setText("year");

- momentEndMonthLabel.setText("month");
+ momentEndMonthLabel.setText("month");

- momentEndDayLabel.setText("day");
+ momentEndDayLabel.setText("day");

- momentEndHourLabel.setText("hour");
+ momentEndHourLabel.setText("hour");

- momentEndSecondLabel.setText("second");
+ momentEndSecondLabel.setText("second");

- momentEndUnixLabel.setText("unix time");
+ momentEndUnixLabel.setText("unix time");

- momentEndUnixField.setText("1178193664");
+ momentEndUnixField.setText("1178193664");

- javax.swing.GroupLayout endMomentPanelLayout = new
javax.swing.GroupLayout(endMomentPanel);
- endMomentPanel.setLayout(endMomentPanelLayout);
- endMomentPanelLayout.setHorizontalGroup(
-
endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(endMomentPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
-
.addGroup(endMomentPanelLayout.createSequentialGroup()
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(momentEndMonthLabel)
- .addComponent(momentEndYearLabel)
- .addComponent(momentEndDayLabel)
- .addComponent(momentEndHourLabel)
- .addComponent(momentEndSecondLabel))
- .addGap(27, 27, 27))
-
.addGroup(endMomentPanelLayout.createSequentialGroup()
- .addComponent(momentEndUnixLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
- .addComponent(momentEndHourComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentEndDayComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentEndMonthComboBox,
javax.swing.GroupLayout.Alignment.LEADING, 0,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- .addComponent(momentEndYearComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentEndSecondComboBox,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentEndUnixField,
javax.swing.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE))
- .addContainerGap())
- );
- endMomentPanelLayout.setVerticalGroup(
-
endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(endMomentPanelLayout.createSequentialGroup()
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(endMomentPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(momentEndYearLabel))
-
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
endMomentPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(momentEndYearComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentEndMonthLabel)
- .addComponent(momentEndMonthComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentEndDayLabel)
- .addComponent(momentEndDayComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentEndHourLabel)
- .addComponent(momentEndHourComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentEndSecondComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentEndSecondLabel))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-
.addGroup(endMomentPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
- .addComponent(momentEndUnixField,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(momentEndUnixLabel))
- .addContainerGap(48, Short.MAX_VALUE))
- );
+ org.jdesktop.layout.GroupLayout endMomentPanelLayout = new
org.jdesktop.layout.GroupLayout(endMomentPanel);
+ endMomentPanel.setLayout(endMomentPanelLayout);
+ endMomentPanelLayout.setHorizontalGroup(
+
endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(endMomentPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(endMomentPanelLayout.createSequentialGroup()
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(momentEndMonthLabel)
+ .add(momentEndYearLabel)
+ .add(momentEndDayLabel)
+ .add(momentEndHourLabel)
+ .add(momentEndSecondLabel))
+ .add(27, 27, 27))
+ .add(endMomentPanelLayout.createSequentialGroup()
+ .add(momentEndUnixLabel)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentEndHourComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentEndDayComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentEndMonthComboBox, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentEndYearComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(org.jdesktop.layout.GroupLayout.LEADING,
momentEndSecondComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(momentEndUnixField,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+ endMomentPanelLayout.setVerticalGroup(
+
endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(endMomentPanelLayout.createSequentialGroup()
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(endMomentPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(momentEndYearLabel))
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
endMomentPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(momentEndYearComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentEndMonthLabel)
+ .add(momentEndMonthComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentEndDayLabel)
+ .add(momentEndDayComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentEndHourLabel)
+ .add(momentEndHourComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentEndSecondComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(momentEndSecondLabel))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+
.add(endMomentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
+ .add(momentEndUnixField,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(momentEndUnixLabel))
+ .addContainerGap(48, Short.MAX_VALUE))
+ );

-
presetPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder("Presets"))));
- presetLoadButton.setText("load");
+
presetPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder("Presets"))));
+ presetLoadButton.setText("load");

- presetSelectComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "last 1 minute", "last 2
minutes", "last 5 minutes", "last 10 minutes", "last 30 minutes", "last 60
minutes", "last 120 minutes" }));
+ presetSelectComboBox.setModel(new
javax.swing.DefaultComboBoxModel(new String[] { "last 1 minute", "last 2
minutes", "last 5 minutes", "last 10 minutes", "last 30 minutes", "last 60
minutes", "last 120 minutes" }));

- javax.swing.GroupLayout presetPanelLayout = new
javax.swing.GroupLayout(presetPanel);
- presetPanel.setLayout(presetPanelLayout);
- presetPanelLayout.setHorizontalGroup(
-
presetPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(presetPanelLayout.createSequentialGroup()
-
.addGroup(presetPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(presetPanelLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(presetSelectComboBox, 0, 165,
Short.MAX_VALUE))
-
.addGroup(presetPanelLayout.createSequentialGroup()
- .addGap(45, 45, 45)
- .addComponent(presetLoadButton,
javax.swing.GroupLayout.PREFERRED_SIZE, 98,
javax.swing.GroupLayout.PREFERRED_SIZE)))
- .addContainerGap())
- );
- presetPanelLayout.setVerticalGroup(
-
presetPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(presetPanelLayout.createSequentialGroup()
- .addComponent(presetSelectComboBox,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(presetLoadButton)
- .addContainerGap())
- );
+ org.jdesktop.layout.GroupLayout presetPanelLayout = new
org.jdesktop.layout.GroupLayout(presetPanel);
+ presetPanel.setLayout(presetPanelLayout);
+ presetPanelLayout.setHorizontalGroup(
+
presetPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(presetPanelLayout.createSequentialGroup()
+
.add(presetPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(presetPanelLayout.createSequentialGroup()
+ .addContainerGap()
+ .add(presetSelectComboBox, 0, 165, Short.MAX_VALUE))
+ .add(presetPanelLayout.createSequentialGroup()
+ .add(45, 45, 45)
+ .add(presetLoadButton,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 98,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
+ .addContainerGap())
+ );
+ presetPanelLayout.setVerticalGroup(
+
presetPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(presetPanelLayout.createSequentialGroup()
+ .add(presetSelectComboBox,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(presetLoadButton)
+ .addContainerGap())
+ );

-
routerPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder("Router(s)"))));
- routerList.setModel(new javax.swing.AbstractListModel() {
- private static final long serialVersionUID =
647728279728807680L;
- String[] strings = { "Arthur", "Zaphod",
"Ford", "Trillian" };
- public int getSize() { return strings.length; }
- public Object getElementAt(int i) { return strings[i]; }
- });
- routerScrollPane.setViewportView(routerList);
+
routerPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder("Router(s)"))));
+ routerList.setModel(new javax.swing.AbstractListModel() {
+ private static final long serialVersionUID =
647728279728807680L;
+ String[] strings = { "Arthur", "Zaphod", "Ford",
"Trillian" };
+ public int getSize() { return strings.length; }
+ public Object getElementAt(int i) { return strings[i]; }
+ });
+ routerScrollPane.setViewportView(routerList);

- javax.swing.GroupLayout routerPanelLayout = new
javax.swing.GroupLayout(routerPanel);
- routerPanel.setLayout(routerPanelLayout);
- routerPanelLayout.setHorizontalGroup(
-
routerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(routerScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 139, Short.MAX_VALUE)
- );
- routerPanelLayout.setVerticalGroup(
-
routerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(routerScrollPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE)
- );
+ org.jdesktop.layout.GroupLayout routerPanelLayout = new
org.jdesktop.layout.GroupLayout(routerPanel);
+ routerPanel.setLayout(routerPanelLayout);
+ routerPanelLayout.setHorizontalGroup(
+
routerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(routerScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 139, Short.MAX_VALUE)
+ );
+ routerPanelLayout.setVerticalGroup(
+
routerPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(routerScrollPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE)
+ );

-
statusPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("status"));
- statusLabel.setText("OK");
+
statusPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("status"));
+ statusLabel.setText("OK");

- javax.swing.GroupLayout statusPanelLayout = new
javax.swing.GroupLayout(statusPanel);
- statusPanel.setLayout(statusPanelLayout);
- statusPanelLayout.setHorizontalGroup(
-
statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(statusPanelLayout.createSequentialGroup()
-
.addGroup(statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-
.addGroup(statusPanelLayout.createSequentialGroup()
- .addGap(26, 26, 26)
- .addComponent(statusProgressBar,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
-
.addGroup(statusPanelLayout.createSequentialGroup()
- .addGap(91, 91, 91)
- .addComponent(statusLabel)))
- .addContainerGap(31, Short.MAX_VALUE))
- );
- statusPanelLayout.setVerticalGroup(
-
statusPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
statusPanelLayout.createSequentialGroup()
-
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- .addComponent(statusLabel)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(statusProgressBar,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addGap(52, 52, 52))
- );
+ org.jdesktop.layout.GroupLayout statusPanelLayout = new
org.jdesktop.layout.GroupLayout(statusPanel);
+ statusPanel.setLayout(statusPanelLayout);
+ statusPanelLayout.setHorizontalGroup(
+
statusPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(statusPanelLayout.createSequentialGroup()
+
.add(statusPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(statusPanelLayout.createSequentialGroup()
+ .add(26, 26, 26)
+ .add(statusProgressBar,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(statusPanelLayout.createSequentialGroup()
+ .add(91, 91, 91)
+ .add(statusLabel)))
+ .addContainerGap(31, Short.MAX_VALUE))
+ );
+ statusPanelLayout.setVerticalGroup(
+
statusPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
statusPanelLayout.createSequentialGroup()
+
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
+ .add(statusLabel)
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(statusProgressBar,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(52, 52, 52))
+ );

- javax.swing.GroupLayout rightMainPanelLayout = new
javax.swing.GroupLayout(rightMainPanel);
- rightMainPanel.setLayout(rightMainPanelLayout);
- rightMainPanelLayout.setHorizontalGroup(
-
rightMainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(rightMainPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(rightMainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(queryTabbedPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, 832, Short.MAX_VALUE)
-
.addGroup(rightMainPanelLayout.createSequentialGroup()
- .addComponent(routerPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(StartMomentPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addGap(25, 25, 25)
- .addComponent(endMomentPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addGap(23, 23, 23)
-
.addGroup(rightMainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
- .addComponent(presetPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
- .addComponent(statusPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))))
- .addContainerGap())
- );
- rightMainPanelLayout.setVerticalGroup(
-
rightMainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(rightMainPanelLayout.createSequentialGroup()
- .addContainerGap()
-
.addGroup(rightMainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
- .addComponent(StartMomentPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
-
.addGroup(rightMainPanelLayout.createSequentialGroup()
- .addComponent(presetPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(statusPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
- .addComponent(routerPanel,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(endMomentPanel,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(queryTabbedPanel)
- .addContainerGap())
- );
- masterSplitPane.setRightComponent(rightMainPanel);
+ org.jdesktop.layout.GroupLayout rightMainPanelLayout = new
org.jdesktop.layout.GroupLayout(rightMainPanel);
+ rightMainPanel.setLayout(rightMainPanelLayout);
+ rightMainPanelLayout.setHorizontalGroup(
+
rightMainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rightMainPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(rightMainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(queryTabbedPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 832, Short.MAX_VALUE)
+ .add(rightMainPanelLayout.createSequentialGroup()
+ .add(routerPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(StartMomentPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(25, 25, 25)
+ .add(endMomentPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(23, 23, 23)
+
.add(rightMainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING,
false)
+ .add(presetPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(statusPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
+ .addContainerGap())
+ );
+ rightMainPanelLayout.setVerticalGroup(
+
rightMainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(rightMainPanelLayout.createSequentialGroup()
+ .addContainerGap()
+
.add(rightMainPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING,
false)
+ .add(StartMomentPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .add(rightMainPanelLayout.createSequentialGroup()
+ .add(presetPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(statusPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
+ .add(routerPanel,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
+ .add(endMomentPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+ .add(queryTabbedPanel,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 410, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+ masterSplitPane.setRightComponent(rightMainPanel);

- javax.swing.GroupLayout layout = new
javax.swing.GroupLayout(this);
- setLayout(layout);
- layout.setHorizontalGroup(
-
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
- .addContainerGap()
- .addComponent(masterSplitPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 987, Short.MAX_VALUE)
- .addContainerGap())
- );
- layout.setVerticalGroup(
-
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(layout.createSequentialGroup()
- .addContainerGap()
- .addComponent(masterSplitPane,
javax.swing.GroupLayout.DEFAULT_SIZE, 690, Short.MAX_VALUE)
- .addContainerGap())
- );
- java.awt.Dimension screenSize =
java.awt.Toolkit.getDefaultToolkit().getScreenSize();
- setBounds((screenSize.width-1021)/2,
(screenSize.height-744)/2, 1021, 744);
+ org.jdesktop.layout.GroupLayout layout = new
org.jdesktop.layout.GroupLayout(this);
+ setLayout(layout);
+ layout.setHorizontalGroup(
+
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(org.jdesktop.layout.GroupLayout.TRAILING,
layout.createSequentialGroup()
+ .addContainerGap()
+ .add(masterSplitPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 987, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+ layout.setVerticalGroup(
+
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+ .add(layout.createSequentialGroup()
+ .addContainerGap()
+ .add(masterSplitPane,
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 695, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+ java.awt.Dimension screenSize =
java.awt.Toolkit.getDefaultToolkit().getScreenSize();
+ setBounds((screenSize.width-1021)/2, (screenSize.height-744)/2,
1021, 744);
}

public void update(Observable o, Object arg) {

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/MANIFESTAPP.MFT
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/MANIFESTAPP.MFT
2007-06-06 12:13:13 UTC (rev 2454)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/MANIFESTAPP.MFT
2007-06-06 12:27:42 UTC (rev 2455)
@@ -1,6 +1,6 @@
Manifest-version: 1.0
Main-Class: org.perfsonar.perfsonarui.ui.PerfSonarApp
-Class-Path: jars/axis/saaj.jar jars/axis/axis.jar jars/axis/axis-ant.jar
jars/axis/commons-discovery-0.2.jar jars/axis/commons-logging-1.0.4.jar
jars/axis/jaxrpc.jar jars/axis/log4j-1.2.8.jar jars/axis/wsdl4j-1.5.1.jar
jars/xml/activation.jar jars/xml/mail.jar jars/xml/jdom.jar
jars/ui/jcommon-1.0.8.jar jars/ui/jfreechart-1.0.3.jar
jars/l2fprod/l2fprod-common-all.jar jars/xml/commons-cli-1.0.jar
+Class-Path: jars/ui/swing-layout-1.0.jar jars/axis/saaj.jar
jars/axis/axis.jar jars/axis/axis-ant.jar jars/axis/commons-discovery-0.2.jar
jars/axis/commons-logging-1.0.4.jar jars/axis/jaxrpc.jar
jars/axis/log4j-1.2.8.jar jars/axis/wsdl4j-1.5.1.jar jars/xml/activation.jar
jars/xml/mail.jar jars/xml/jdom.jar jars/ui/jcommon-1.0.8.jar
jars/ui/jfreechart-1.0.3.jar jars/l2fprod/l2fprod-common-all.jar
jars/xml/commons-cli-1.0.jar
Specification-Title: perfSonar test application
Specification-Version: 0.03
Specification-Vendor: perfsonar.acad.bg



  • perfsonar: r2455 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: flowsa ui, svnlog, 06/06/2007

Archive powered by MHonArc 2.6.16.

Top of Page