Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 6a6aaab

Browse files
author
diego-rascon
committed
Se agregó el método para cargar texto al codeArea
1 parent e07a8a0 commit 6a6aaab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/panels/CodePanel.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,8 @@ final void loadMatrix() {
303303
if (selection == JOptionPane.OK_OPTION) System.exit(0);
304304
}
305305
}
306+
307+
public void setCode(String fileContent) {
308+
codeArea.setText(fileContent);
309+
}
306310
}

0 commit comments

Comments
 (0)