mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 10:46:26 +00:00
Added needed module compiler flags and changed MtvView Vector<Object> to Vector<Vector> for Java 9 DefaultTableModel constructor compatibility
This commit is contained in:
parent
4bf35a9c82
commit
a2cf18f6d3
@ -4,7 +4,7 @@ TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../..)
|
|||||||
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
|
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
|
||||||
|
|
||||||
JAVAC ?= javac
|
JAVAC ?= javac
|
||||||
JAVAC_FLAGS = -g -Xlint:unchecked -Xlint:deprecation
|
JAVAC_FLAGS = -g -Xlint:unchecked -Xlint:deprecation --add-modules java.se.ee,java.desktop
|
||||||
|
|
||||||
SRC_DIR = src
|
SRC_DIR = src
|
||||||
SRC_FILES = $(shell find ${SRC_DIR} -type f -name \*.java)
|
SRC_FILES = $(shell find ${SRC_DIR} -type f -name \*.java)
|
||||||
|
@ -1202,7 +1202,7 @@ public class MtvView extends FrameView {
|
|||||||
comboBox.addItem("Manual OFF");
|
comboBox.addItem("Manual OFF");
|
||||||
mode_selected = false;
|
mode_selected = false;
|
||||||
|
|
||||||
event_table_rows = new Vector<Object>();
|
event_table_rows = new Vector<Vector>();
|
||||||
event_table_cols = new Vector<String>();
|
event_table_cols = new Vector<String>();
|
||||||
String[] col_names = {"Active", "Name", "Fired Time", "Fired Count", "Ran Time", "Ran Count", "Hold", "Mode", "Added"};
|
String[] col_names = {"Active", "Name", "Fired Time", "Fired Count", "Ran Time", "Ran Count", "Hold", "Mode", "Added"};
|
||||||
for (int ii=0; ii<col_names.length; ii++) {
|
for (int ii=0; ii<col_names.length; ii++) {
|
||||||
@ -1787,7 +1787,7 @@ public class MtvView extends FrameView {
|
|||||||
|
|
||||||
jScrollPane2.setName("jScrollPane2"); // NOI18N
|
jScrollPane2.setName("jScrollPane2"); // NOI18N
|
||||||
|
|
||||||
edit_table_rows = new Vector<Object>();
|
edit_table_rows = new Vector<Vector>();
|
||||||
edit_table_cols = new Vector<String>();
|
edit_table_cols = new Vector<String>();
|
||||||
user_text = new JTextArea();
|
user_text = new JTextArea();
|
||||||
String[] col_names2 = {"Event Syntax", "", "User Data", ""};
|
String[] col_names2 = {"Event Syntax", "", "User Data", ""};
|
||||||
@ -1944,13 +1944,13 @@ public class MtvView extends FrameView {
|
|||||||
private javax.swing.JTable edit_table;
|
private javax.swing.JTable edit_table;
|
||||||
private javax.swing.table.DefaultTableModel model;
|
private javax.swing.table.DefaultTableModel model;
|
||||||
private JTextArea user_text;
|
private JTextArea user_text;
|
||||||
public Vector<Object> edit_table_rows;
|
public Vector<Vector> edit_table_rows;
|
||||||
private Vector<String> edit_table_cols;
|
private Vector<String> edit_table_cols;
|
||||||
private javax.swing.JTextField eventTextField;
|
private javax.swing.JTextField eventTextField;
|
||||||
public ButtonGroup cycle_group;
|
public ButtonGroup cycle_group;
|
||||||
public javax.swing.JComboBox comboBox; // Mode
|
public javax.swing.JComboBox comboBox; // Mode
|
||||||
public javax.swing.JTable event_table;
|
public javax.swing.JTable event_table;
|
||||||
public Vector<Object> event_table_rows;
|
public Vector<Vector> event_table_rows;
|
||||||
public Vector<String> event_table_cols;
|
public Vector<String> event_table_cols;
|
||||||
public boolean mode_selected; // user clicked a row's Mode combobox
|
public boolean mode_selected; // user clicked a row's Mode combobox
|
||||||
public javax.swing.JTextField host_field;
|
public javax.swing.JTextField host_field;
|
||||||
|
Loading…
Reference in New Issue
Block a user