We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 957d752 commit 15032adCopy full SHA for 15032ad
2 files changed
icons/ste.png
771 Bytes
src/simplejavatexteditor/UI.java
@@ -93,6 +93,14 @@ public class UI extends JFrame implements ActionListener {
93
private boolean edit = false;
94
95
public UI() {
96
+ try {
97
+ ImageIcon image = new ImageIcon("icons/ste.png");
98
+ super.setIconImage(image.getImage());
99
+ } // try
100
+ catch (Exception ex) {
101
+ ex.printStackTrace();
102
+ }
103
+
104
// Set the initial size of the window
105
setSize(800, 500);
106
0 commit comments