Created
January 22, 2019 10:19
-
-
Save klg71/bc7c8e7d77cbb7c2718705d9bbd92da5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.klg71; | |
import javax.swing.*; | |
import java.awt.*; | |
public class GrafikMain { | |
public static void main(String... args) { | |
JFrame frame = new JFrame("My Drawing"); | |
Canvas canvas = new Zeichnung(); | |
canvas.setSize(400, 400); | |
frame.add(canvas); | |
frame.pack(); | |
frame.setVisible(true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment