final JButton connectionButton = new JButton("Connection");
connectionButton.addActionListener(new ActionListener(){
@Override
public void actionPerformed(final ActionEvent e) {
final RuleGraph ruleGraph = (RuleGraph) FrameOperatorPanel.this.parent;
ruleGraph.getVisualEditor().connectionMode = new TermConnection(ruleGraph,FrameOperatorPanel.this.frameOperator,term);
connectionButton.setEnabled(false);
}});
final JLabel termLabel = new JLabel();
termLabel.setFont(this.parent.getFONT());