Added Icon
This commit is contained in:
parent
36ca7f81d3
commit
d82ba783ae
11 changed files with 3 additions and 92 deletions
|
@ -63,7 +63,7 @@ public class Morse extends JFrame {
|
|||
/**
|
||||
* Launch the application.
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
public static void main(String[] args){
|
||||
EventQueue.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
try {
|
||||
|
@ -80,6 +80,7 @@ public class Morse extends JFrame {
|
|||
* Create the frame.
|
||||
*/
|
||||
public Morse() {
|
||||
setIconImage(Toolkit.getDefaultToolkit().getImage(Morse.class.getResource("/de/marcel_kapfer/c/morseconverter/icon.png")));
|
||||
setResizable(false);
|
||||
setTitle("Morse Converter");
|
||||
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
|
Reference in a new issue