master
3009594 2024-09-03 23:36:11 +02:00
parent b50ac30f04
commit a3080bf514
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,27 @@
package GUIAnwendungen.GraphicsElemente;
import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.image.ImageObserver;
import java.text.AttributedCharacterIterator;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.Timer;
public class AlleElements{
public static void main(String[] args) {
// Erstelle ein Fenster
JFrame frame = new JFrame();
frame.setVisible(true);
frame.setSize(420, 500);
frame.setTitle("Mein erstes Fenster");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setResizable(false);
}
}

View File

@ -0,0 +1,8 @@
package GUIAnwendungen.Timer;
import java.util.Timer;
import java.util.TimerTask;
public class TimerBeispiel {
}