Browse Source

Minor changes

Cleanup
master
Sogomn 9 years ago
parent
commit
63d54d7e5e
  1. 5
      Ratty/src/de/sogomn/rat/Ratty.java

5
Ratty/src/de/sogomn/rat/Ratty.java

@ -1,13 +1,10 @@
package de.sogomn.rat; package de.sogomn.rat;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
import java.util.ResourceBundle; import java.util.ResourceBundle;
import java.util.stream.Stream;
import javax.swing.JDialog; import javax.swing.JDialog;
import javax.swing.JFrame; import javax.swing.JFrame;
@ -69,8 +66,6 @@ public final class Ratty {
} catch (final Exception ex) { } catch (final Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
} }
Stream.of(GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts()).map(Font::getName).forEach(name -> System.out.println(name));
} }
private static void readConnectionData() throws ArrayIndexOutOfBoundsException, NumberFormatException { private static void readConnectionData() throws ArrayIndexOutOfBoundsException, NumberFormatException {

Loading…
Cancel
Save