Explorar el Código

Added horrible looking description

Andreas Völker hace 5 años
padre
commit
03b128399a
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      src/de/andreasvoelker/MainWindows.java

+ 8 - 0
src/de/andreasvoelker/MainWindows.java

@@ -18,10 +18,18 @@ public class MainWindows extends JFrame {
         button = new JButton("Select File");
         button.addActionListener(e -> chooseFile());
 
+        JLabel label = new JLabel("<html>Select a file with a trajectory to visualize it on a bloch sphere.<br>" +
+                "Each line consist of four floats separated by spaces.<br>"+
+                "The floats should be: time, occupation, real part of polarization, imaginary part of polarization.<br><br>"+
+                "The time is encoded as color and can be changed by changing the file \"colormap.png\".<br>"+
+                "Changes to the colormap currently require to restart this application.</html>");
+
+
         setLayout(new MigLayout("fill"));
 
         add(blochFrame, "grow, span 1 2");
         add(button, "wrap");
+        add(label);
         this.pack();
 
     }