Commit 21f0656e authored by L.Perine's avatar L.Perine
Browse files

fix regles

parent 8e70a778
......@@ -125,4 +125,8 @@ public class Regles extends JDialog {
tp.setCharacterAttributes(aset, false);
tp.replaceSelection(msg);
}
public JTextPane getRegles()
{
return regles;
}
}
......@@ -18,6 +18,7 @@ public OuvrirReglesControleur() {
public void actionPerformed(ActionEvent e) {
Regles regles = new Regles("Règles");
appli.setBgColorComponents((JPanel) regles.getContentPane());
regles.getRegles().setCaretPosition(0);
regles.setVisible(true);
}
}
......
Markdown is supported
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