Commit 064b0ad3 authored by pfreon's avatar pfreon
Browse files

Make panels Cadre_modele and Model_Direct non editable

Make it impossible to write with the keyboard in the frames related to the model fitting.
parent 3457e37f
......@@ -64,8 +64,10 @@ public class Cadre_Modele extends JDialog {
jTextAreaModele.setLineWrap(true);
jTextAreaModele.setWrapStyleWord(true);
jTextAreaModele.setText("");
jTextAreaModele.setEditable(false);
jTextAreaInfo.setLineWrap(true);
jTextAreaInfo.setWrapStyleWord(true);
jTextAreaInfo.setEditable(false);
cmdNext.setText("Next (N)");
int condition = JComponent.WHEN_IN_FOCUSED_WINDOW;
......
......@@ -163,6 +163,7 @@ public class Cadre_ModeleDirect extends JFrame {
jScrollPane3.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(Color.white, new Color(142, 142, 142)), "Modelization: Main results"));
jTextAreaInfoModel.setLineWrap(true);
jTextAreaInfoModel.setWrapStyleWord(true);
jTextAreaInfoModel.setEditable(false);
jlstChoix.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
@Override
public void valueChanged(ListSelectionEvent e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment