mainSplitPane.setLeftComponent(jTabbedPane1);
//gridBagConstraints);
boxes.setLayout(new FlowLayout(FlowLayout.LEFT));
boxes.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(8, 8, 8, 8)));
boxes.setPreferredSize(new java.awt.Dimension(300, 100));
boxes.setMinimumSize(new java.awt.Dimension(572, 100));
boxes.setMaximumSize(new java.awt.Dimension(2000, 100));
checkBoxPanel.setLayout(new java.awt.GridLayout(3, 0, 0, 5));
checkBoxPanel.setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.EtchedBorder(null, java.awt.Color.gray), new javax.swing.border.EmptyBorder(new java.awt.Insets(3, 9, 3, 3))));
checkBoxPanel.setMaximumSize(new java.awt.Dimension(160, 82));
checkBoxPanel.setPreferredSize(new java.awt.Dimension(160, 82));
checkBoxPanel.setMinimumSize(new java.awt.Dimension(160, 82));
selectAspectButton.setToolTipText("Select to view 'Aspects' in the result");
selectAspectButton.setModel(myModel.getSelectAspect());
selectAspectButton.setFont(new java.awt.Font("Luxi Sans", 1, 12));
selectAspectButton.setText("Select Aspects");
selectAspectButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
selectAspectButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
selectAspectButtonActionPerformed(evt);
}
});
checkBoxPanel.add(selectAspectButton);
selectCrosscutButton.setToolTipText("Select to view 'Crosscuts' in the result");
selectCrosscutButton.setModel(myModel.getSelectCrosscut());
selectCrosscutButton.setFont(new java.awt.Font("Luxi Sans", 1, 12));
selectCrosscutButton.setText("Select Crosscuts");
selectCrosscutButton.setPreferredSize(new java.awt.Dimension(130, 20));
selectCrosscutButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
selectCrosscutButton.setMaximumSize(new java.awt.Dimension(130, 20));
selectCrosscutButton.setMinimumSize(new java.awt.Dimension(130, 20));
selectCrosscutButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
selectCrosscutButtonActionPerformed(evt);
}
});
checkBoxPanel.add(selectCrosscutButton);
selectJoinpointButton.setToolTipText("Select to view 'Joinpoints' in the result");
selectJoinpointButton.setModel(myModel.getSelectJoinpoint());
selectJoinpointButton.setFont(new java.awt.Font("Luxi Sans", 1, 12));
selectJoinpointButton.setText("Select Joinpoints");
selectJoinpointButton.setPreferredSize(new java.awt.Dimension(130, 20));
selectJoinpointButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
selectJoinpointButton.setMaximumSize(new java.awt.Dimension(130, 20));
selectJoinpointButton.setMinimumSize(new java.awt.Dimension(130, 20));
selectJoinpointButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
selectJoinpointButtonActionPerformed(evt);
}
});
checkBoxPanel.add(selectJoinpointButton);
boxes.add(checkBoxPanel);
radioBoxPanel.setLayout(new java.awt.GridLayout(3, 0, 0, 5));
radioBoxPanel.setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.EtchedBorder(null, java.awt.Color.gray), new javax.swing.border.EmptyBorder(new java.awt.Insets(3, 9, 3, 3))));
radioBoxPanel.setPreferredSize(new java.awt.Dimension(160, 82));
radioBoxPanel.setMinimumSize(new java.awt.Dimension(160, 82));
radioBoxPanel.setMaximumSize(new java.awt.Dimension(160, 82));
groupByAspectButton.setModel(myModel.getGroupByAspect());
groupByAspectButton.setFont(new java.awt.Font("LuxiSans", 1, 12));
groupByAspectButton.setText("Group by Aspect");
groupByGroup.add(groupByAspectButton);
groupByAspectButton.setPreferredSize(new java.awt.Dimension(130, 20));
groupByAspectButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(20, 2, 20, 2)));
groupByAspectButton.setMaximumSize(new java.awt.Dimension(130, 20));
groupByAspectButton.setMargin(new java.awt.Insets(20, 2, 2, 2));
groupByAspectButton.setMinimumSize(new java.awt.Dimension(130, 20));
groupByAspectButton.setBorderPainted(true);
groupByAspectButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
groupByAspectButtonActionPerformed(evt);
}
});
radioBoxPanel.add(groupByAspectButton);
groupByCrosscutButton.setFont(new java.awt.Font("Luxi Sans", 1, 12));
groupByCrosscutButton.setText("Group by Crosscut");
groupByCrosscutButton.setModel(myModel.getGroupByCrosscut());
groupByGroup.add(groupByCrosscutButton);
groupByCrosscutButton.setPreferredSize(new java.awt.Dimension(130, 20));
groupByCrosscutButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
groupByCrosscutButton.setMaximumSize(new java.awt.Dimension(130, 20));
groupByCrosscutButton.setMargin(new java.awt.Insets(20, 2, 2, 2));
groupByCrosscutButton.setMinimumSize(new java.awt.Dimension(130, 20));
groupByCrosscutButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
groupByCrosscutButtonActionPerformed(evt);
}
});
radioBoxPanel.add(groupByCrosscutButton);
groupByJoinpointButton.setFont(new java.awt.Font("Luxi Sans", 1, 12));
groupByJoinpointButton.setText("Group by Joinpoint");
groupByJoinpointButton.setModel(myModel.getGroupByJoinpoint());
groupByGroup.add(groupByJoinpointButton);
groupByJoinpointButton.setPreferredSize(new java.awt.Dimension(130, 20));
groupByJoinpointButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
groupByJoinpointButton.setMaximumSize(new java.awt.Dimension(130, 20));
groupByJoinpointButton.setMargin(new java.awt.Insets(20, 2, 2, 2));
groupByJoinpointButton.setMinimumSize(new java.awt.Dimension(130, 20));
groupByJoinpointButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
groupByJoinpointButtonActionPerformed(evt);
}
});
radioBoxPanel.add(groupByJoinpointButton);
boxes.add(radioBoxPanel);
buttons.setLayout(new GridLayout(3,2,5,5));
// buttons.setPreferredSize(new java.awt.Dimension(100, 80));
// buttons.setMinimumSize(new java.awt.Dimension(100, 80));
queryButton.setToolTipText("Send the selected Items to the AspectManager and get the Result");
queryButton.setFont(new java.awt.Font("Luxi Sans", 1, 14));
queryButton.setText("query");
queryButton.setPreferredSize(new java.awt.Dimension(30,23 ));
queryButton.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED, java.awt.Color.lightGray, java.awt.Color.white, java.awt.Color.darkGray, java.awt.Color.gray));
queryButton.setMaximumSize(new java.awt.Dimension(160, 128));
queryButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
queryButton.setMinimumSize(new java.awt.Dimension(30, 23));
queryButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
queryButtonActionPerformed(evt);
}
});
buttons.add(new JLabel("query: sected cells"));
buttons.add(queryButton);
jp8QueryToolbar.setText("Q");
jp8QueryToolbar.setFont(new java.awt.Font("Luxi Sans", Font.BOLD, 18));
jp8QueryToolbar.setForeground(new Color(0x765f91));
jp8QueryToolbar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
queryButtonActionPerformed(evt);
}
});
Dimension buttonDimension = new Dimension(50,23);
Dimension labelDimension = new Dimension(100,23);
allAspectsButton.setToolTipText("Retrieve all Aspects inserted in this AspectManager");
allAspectsButton.setFont(new java.awt.Font("Luxi Sans", 1, 12));
allAspectsButton.setText("query");
allAspectsButton.setPreferredSize(new java.awt.Dimension(30, 23));
allAspectsButton.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED, java.awt.Color.lightGray, java.awt.Color.white, java.awt.Color.darkGray, java.awt.Color.gray));
allAspectsButton.setMaximumSize(new java.awt.Dimension(128, 32));
allAspectsButton.setMinimumSize(new java.awt.Dimension(30, 23));
allAspectsButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
allAspectsButtonActionPerformed(evt);
}
});
buttons.add(new JLabel("query: all aspects"));
buttons.add(allAspectsButton);
allJoinpointsButton.setToolTipText("Retrieve all Joinpoints inserted in this AspectManager");
allJoinpointsButton.setFont(new java.awt.Font("Luxi Sans", 1, 12));
allJoinpointsButton.setText("query");
allJoinpointsButton.setPreferredSize(new java.awt.Dimension(50, 23));
allJoinpointsButton.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED, java.awt.Color.lightGray, java.awt.Color.white, java.awt.Color.darkGray, java.awt.Color.gray));
allJoinpointsButton.setMaximumSize(new java.awt.Dimension(128, 32));
allJoinpointsButton.setMinimumSize(new java.awt.Dimension(30, 23));
allJoinpointsButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
allJoinpointsButtonActionPerformed(evt);
}
});
buttons.add(new JLabel("query: all joinpoints"));
buttons.add(allJoinpointsButton);
boxes.add(buttons);
boxes.add(Box.createHorizontalGlue());
jPanel1.add(textAreaScroller);
jPanel1.add(boxes);
textAreaScroller.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
textAreaScroller.setPreferredSize(new java.awt.Dimension(500, 39));
textAreaScroller.setMinimumSize(new java.awt.Dimension(50, 39));
textAreaScroller.setMaximumSize(new java.awt.Dimension(2000, 100));
textArea.setWrapStyleWord(true);
textArea.setLineWrap(true);
textArea.setEditable(false);
textArea.setRows(5);
textArea.setFont(new java.awt.Font("Courier", 0, 11));
textArea.setPreferredSize(new java.awt.Dimension(0, 70));
textArea.setMargin(new java.awt.Insets(3, 3, 3, 3));
textArea.setMinimumSize(new java.awt.Dimension(50, 40));
textAreaScroller.setViewportView(textArea);
jPanel3Insertion.setLayout(new FlowLayout(FlowLayout.LEFT));
// jPanel3Insertion.setLayout(new BoxLayout(jPanel3Insertion,javax.swing.BoxLayout.X_AXIS));
JPanel classPathAndAspect = new JPanel();
classPathAndAspect.setMaximumSize(new Dimension(1000,100));
classPathAndAspect.setLayout(new BoxLayout(classPathAndAspect, BoxLayout.Y_AXIS));