After Sub fixes
This commit is contained in:
parent
f137b07c1e
commit
f4bc812f23
@ -2,9 +2,6 @@
|
||||
<artifact type="jar" build-on-make="true" name="Hajj-simulation:jar">
|
||||
<output-path>$PROJECT_DIR$/out/artifacts/Hajj_simulation_jar</output-path>
|
||||
<root id="archive" name="Hajj-simulation.jar">
|
||||
<element id="directory" name="META-INF">
|
||||
<element id="file-copy" path="$PROJECT_DIR$/out/META-INF/MANIFEST.MF" />
|
||||
</element>
|
||||
<element id="module-output" name="Hajj-simulation" />
|
||||
</root>
|
||||
</artifact>
|
||||
|
@ -154,7 +154,9 @@ public class GUI_ViewBuses {
|
||||
lblDestination.setFont(new Font("Rockwell", Font.PLAIN, 16));
|
||||
lblDestination.setBounds(235, 317, 184, 18);
|
||||
frame.getContentPane().add(lblDestination);
|
||||
if (currenttimeManager.getMonth() == 9)
|
||||
Calendar cal = new GregorianCalendar();
|
||||
cal.setTime(currenttimeManager);
|
||||
if (cal.get(Calendar.DAY_OF_MONTH) == 9)
|
||||
lblDestination.setText("Heading to Arafat");
|
||||
else lblDestination.setText("Heading to Hotels");
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
import java.util.ArrayList;
|
||||
import java.util.GregorianCalendar;
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JScrollPane;
|
||||
import javax.swing.JTable;
|
||||
@ -47,8 +49,6 @@ public class GUI_ViewStreet {
|
||||
frame.getContentPane().setLayout(null);
|
||||
frame.setLocationRelativeTo(null);
|
||||
|
||||
|
||||
|
||||
vehicleData = new Object[vehicles.size()][6];
|
||||
for (int i = 0; i < vehicles.size(); i++) {
|
||||
vehicleData[i][0] = vehicles.get(i).getUID();
|
||||
@ -157,7 +157,9 @@ public class GUI_ViewStreet {
|
||||
lblDestination.setForeground(Color.WHITE);
|
||||
lblDestination.setFont(new Font("Rockwell", Font.PLAIN, 16));
|
||||
lblDestination.setBounds(568, 11, 184, 20);
|
||||
if (currenttimeManager.getMonth() == 9)
|
||||
Calendar cal = new GregorianCalendar();
|
||||
cal.setTime(currenttimeManager);
|
||||
if (cal.get(Calendar.DAY_OF_MONTH) == 9)
|
||||
lblDestination.setText("Heading to Arafat");
|
||||
else lblDestination.setText("Heading to Hotels");
|
||||
frame.getContentPane().add(lblDestination);
|
||||
|
Loading…
Reference in New Issue
Block a user