@ScriptFunction(jsDoc = JS_NAME_DOC) @Override public String getName() { return super.getName(); }
/** * This method initializes jPanel1 * * @return javax.swing.JPanel */ private JPanel getJPanel1() { if (jPanel1 == null) { jPanel1 = new JPanel(); jPanel1.setLayout(new CardLayout()); jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); jPanel1.add(getJScrollPane1(), getJScrollPane1().getName()); } return jPanel1; }
/** * This method initializes jPanel1 * * @return javax.swing.JPanel */ private JPanel getJPanel1() { if (jPanel1 == null) { jPanel1 = new JPanel(); jPanel1.setLayout(new CardLayout()); jPanel1.add(getJScrollPane(), getJScrollPane().getName()); } return jPanel1; } /**
/** * This method initializes jPanel1 * * @return javax.swing.JPanel */ private JPanel getJPanel1() { if (jPanel1 == null) { jPanel1 = new JPanel(); jPanel1.setLayout(new CardLayout()); jPanel1.add(getJScrollPane(), getJScrollPane().getName()); } return jPanel1; } /**
public void clearAlert () { cardLayout.show(this, getDefaultPane().getName()); originalAlert = null; historyRef = null; httpMessage = null; alertName.setText(""); alertRisk.setText(""); alertConfidence.setText(""); alertParam.setText(""); alertAttack.setText(""); alertDescription.setText(""); alertOtherInfo.setText(""); alertSolution.setText(""); alertReference.setText(""); alertSource.setText(""); if (editable) { alertEditAttack.setText(""); alertEditAttack.discardAllEdits(); alertEditEvidence.setText(""); alertEditEvidence.discardAllEdits(); alertDescription.discardAllEdits(); alertOtherInfo.discardAllEdits(); alertSolution.discardAllEdits(); alertReference.discardAllEdits(); } }
setAlertReference(alert.getReference()); cardLayout.show(this, getAlertPane().getName());