boolean[] characteristic = form.getCharacteristics();//F
if (characteristic[0] || characteristic[1] || characteristic[5]) {
currentComp.setVisible(false);
}
SwingListener jpedalListener = new SwingListener(form, acrorend, formsActionHandler);
//if combobox wee need to add the listener to the component at position 0 as well as the normal one, so it works properly.
if (currentComp instanceof JComboBox) {
((JComboBox) currentComp).getComponent(0).addMouseListener(jpedalListener);
((JComboBox) currentComp).getComponent(0).addKeyListener(jpedalListener);
((JComboBox) currentComp).getComponent(0).addFocusListener(jpedalListener);