watch is semitransparent when EL is off

This commit is contained in:
Minjae Song
2019-01-01 22:29:18 +09:00
parent 546ddfdb19
commit ccd67b2625
5 changed files with 38 additions and 27 deletions

View File

@@ -1,5 +1,8 @@
package net.torvald.terrarum.debuggerapp;
import net.torvald.terrarum.utils.CSVFetcher;
import org.apache.commons.csv.CSVFormat;
import javax.swing.*;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
@@ -25,6 +28,8 @@ public class CSVEditor extends JFrame {
private int[] colWidth = new int[]{FOUR_DIGIT, FOUR_DIGIT, ARBITRARY, SIX_DIGIT, SIX_DIGIT, SIX_DIGIT, SIX_DIGIT, TWO_DIGIT, FOUR_DIGIT, FOUR_DIGIT, TWO_DIGIT, TWO_DIGIT, TWO_DIGIT, TWO_DIGIT, TWO_DIGIT, TWO_DIGIT, TWO_DIGIT, SIX_DIGIT, SIX_DIGIT, SIX_DIGIT, SIX_DIGIT};
private String[][] dummyData = new String[128][columns.length];
private CSVFormat csvFormat = CSVFetcher.INSTANCE.getTerrarumCSVFormat();
private JPanel panelSpreadSheet = new JPanel();
private JPanel panelComment = new JPanel();
private JSplitPane panelWorking = new JSplitPane(JSplitPane.VERTICAL_SPLIT, panelSpreadSheet, panelComment);
@@ -126,6 +131,14 @@ public class CSVEditor extends JFrame {
new CSVEditor();
}
private String toCSV() {
StringBuilder sb = new StringBuilder();
// add
return sb.toString();
}
private String captionProperties =
"" + // dummy string to make IDE happy with the auto indent