mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-14 07:36:06 +09:00
watch is semitransparent when EL is off
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user