Kaynağa Gözat

Added horrible looking description

Andreas Völker 5 yıl önce
ebeveyn
işleme
03b128399a
1 değiştirilmiş dosya ile 8 ekleme ve 0 silme
  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();
 
     }