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 gui10; | |
import java.awt.BorderLayout; | |
import java.awt.Desktop.Action; | |
import java.awt.EventQueue; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import javax.swing.border.EmptyBorder; | |
import javax.swing.JLabel; |
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 uebung07; | |
import javax.swing.JOptionPane; | |
public class Stringsort { | |
public static void main(String[] args){ | |
String eingabe1 = JOptionPane.showInputDialog("Bitte geben Sie einen Satz ein."); | |
String eingabe2 = JOptionPane.showInputDialog("Bitte geben Sie einen weiteren Satz ein."); | |
String eingabe3 = JOptionPane.showInputDialog("Bitte geben Sie einen dritten Satz ein."); |
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 uebung07; | |
import javax.swing.JOptionPane; | |
public class Vokalloescher { | |
static String eingabe = JOptionPane.showInputDialog("Geben Sie einen Text ein:"); | |
static String klein = eingabe.toLowerCase(); | |
public static boolean istEinVokal(char ch){ | |
switch(ch){ |