diff --git a/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.form b/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.form index 43eb2083..0e170815 100644 --- a/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.form +++ b/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.form @@ -4017,6 +4017,21 @@ + + + + + + + + + + + + + + + @@ -6310,6 +6325,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.java b/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.java index 5b38af74..f2afb60c 100644 --- a/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.java +++ b/GO_Sync/src/main/java/edu/usf/cutr/go_sync/gui/ReportViewer.java @@ -200,6 +200,7 @@ public void run() { private org.jdesktop.swingx.JXMapKit mapJXMapKit; private javax.swing.JTable memberTable; private javax.swing.ButtonGroup membersButtonGroup; + private javax.swing.JLabel membersWarningLabel; private javax.swing.JRadioButton newNoMatchStopsRadioButton; private javax.swing.JRadioButton newRoutesRadioButton; private javax.swing.JRadioButton newWithMatchStopsRadioButton; @@ -1814,6 +1815,7 @@ public String getToolTipText(MouseEvent e) { saveChangeRouteButton = new javax.swing.JButton(); jLabel20 = new javax.swing.JLabel(); osmRoutesComboBox = new javax.swing.JComboBox(osmRoutes); + membersWarningLabel = new javax.swing.JLabel(); dummyUploadButton = new javax.swing.JButton(); uploadDataButton = new javax.swing.JButton(); stopsCheckbox = new javax.swing.JCheckBox(); @@ -2645,6 +2647,18 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 5); busRoutePanel.add(osmRoutesComboBox, gridBagConstraints); + membersWarningLabel.setForeground(java.awt.Color.magenta); + membersWarningLabel.setText("For members correctness, required GTFS stops must be present in OSM prior to using this feature."); + membersWarningLabel.setToolTipText(""); + membersWarningLabel.setName("membersWarningLabel"); // NOI18N + gridBagConstraints = new java.awt.GridBagConstraints(); + gridBagConstraints.gridx = 1; + gridBagConstraints.gridy = 7; + gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; + gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; + gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; + busRoutePanel.add(membersWarningLabel, gridBagConstraints); + jTabbedPane1.addTab("Bus Route", busRoutePanel); dummyUploadButton.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N