From 331f23a971ddf6c33e47e46d9e4f2d365261c681 Mon Sep 17 00:00:00 2001 From: nkrgupta999 Date: Sun, 31 Mar 2024 11:17:26 +0530 Subject: [PATCH] Add Pannel for Vehicle Travelling Status --- build/classes/Gui/Home$1.class | Bin 709 -> 709 bytes build/classes/Gui/Home$2.class | Bin 709 -> 709 bytes build/classes/Gui/Home$3.class | Bin 722 -> 722 bytes build/classes/Gui/Home$4.class | Bin 709 -> 709 bytes build/classes/Gui/Home$5.class | Bin 517 -> 517 bytes build/classes/Gui/Home.class | Bin 9902 -> 10229 bytes build/classes/Gui/Home.form | 32 ++++++++++++++++++++++++++++++-- src/Gui/Home.form | 32 ++++++++++++++++++++++++++++++-- src/Gui/Home.java | 25 +++++++++++++++++++++++-- 9 files changed, 83 insertions(+), 6 deletions(-) diff --git a/build/classes/Gui/Home$1.class b/build/classes/Gui/Home$1.class index 30ec2f26c9abaa24bd58e7f21e753eedd8960b0a..e1e1ba64ce180343ae3a61ebdc70d1db36653b7a 100644 GIT binary patch delta 23 ecmX@gdX#m8I1{7$WC^BFR!;^F2CvCQOu+z4H3gyo delta 23 ecmX@gdX#m8I1{7WWC^BFRu2Xa2G7YwOu+z47zLjI diff --git a/build/classes/Gui/Home$2.class b/build/classes/Gui/Home$2.class index 8174398629c0c339329406f7c084494f18b28de9..feb51f6654f4e708683104a9864c457b119a2a14 100644 GIT binary patch delta 23 ecmX@gdX#m8I1^*=WC^BF)=&lxhOo&+Ou+z5kp;#8 delta 23 ecmX@gdX#m8I1^*gWC^BF)({2`hS14HOu+z5bOplz diff --git a/build/classes/Gui/Home$3.class b/build/classes/Gui/Home$3.class index 8308de7d9d8049d8d75abb751d276497345f9c68..352a5b60478e5856f9294fbbfff59af65aef3158 100644 GIT binary patch delta 23 ecmcb_dWm&|3KL`0WL2h6)))p3hSpuo=hX0d~GuinjFshS!siGui+aQ1U8HE|=B zsbc2<-mDfl(_OcixE0IQ8fW&P6-45KP)le~==!EXKERuBs1bO)v3a4K~;YHm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D#C< z!W53dR8Bwzr=XHmsNzg`xDeC01kGi=6~v2}#S@s#&oGByVJ^SN zojfc1pM>GOFkir3{8a>9LWM?5(SlH>>9|{yE1u?rSBt~~ttA#}u~?)f;2td%i?u#j zqV*GaDDKsU<324POSMT@rnv>4iu*NhHI{4hu|ivpmD(zS*J72n5v#SGSflM0p-+o~ zeNftIJgj|(N3oY4uP$*kwv3-=M`~mDMQpQ$U-T( z6d$`j&mK7fPWSP~+hTHew-C??3qjNaD3ViS@QA?d9jKxA@^HO3aBAK^gY zFo$Ru!${s*he10LoWo=R_WKRYLq0NL;Tm`$m1v08XQVFoArku~G6&EZ2XO-q;U=lX zY`IwG;fS!*VGIsqJnH@ajYqKX3`K%}xJRNtpA^U<{M`}FT{8MRBbmDeXBAoT+#`@p zB(~;L0_h^l%BQ{Z7BFL2cr{FgjbU0Z*kEWsBVR|R_1dWIy%MzlorB~5Uk=27jn7;a z_oNsTB#OISn*)aoh8)R9u9*+X&287kvmH7##uM_E(?!5b5}KD0jaSf4F4P_HD&nM> z6L7+BRu2hD2%;o(Uh~Bm4SQqk;>?&dhNR2YkaTGh5*^y4>jM(ZeNuz|qU0>G-zo;I ztmDY+q+@+8x3p=!6`hmXr1cJp!3bqF)TVs9Nw#F@nw?!0_zCq`tuLVTQB z$EpLYVUmw`?nIy8!6p0-F6zH<^;}#~%X{m1-+q5o)6kRV1tJYuobO)?y3A*4@B+EWc?(98r8aK*+i@^eC;SU%lgK@0Dh4>N^>v-5d zyCI3RUqZ0XBV>mQuny2!o~LuZJPYJm{L)DOukXL2t?W eP7ra9@ACcrF>(#g;|B;9wf+x3 - + + + @@ -35,7 +37,13 @@ - + + + + + + + @@ -171,5 +179,25 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Home.form b/src/Gui/Home.form index 8612ca8..58870ec 100644 --- a/src/Gui/Home.form +++ b/src/Gui/Home.form @@ -27,7 +27,9 @@ - + + + @@ -35,7 +37,13 @@ - + + + + + + + @@ -171,5 +179,25 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Home.java b/src/Gui/Home.java index 96a1d05..994f8a1 100644 --- a/src/Gui/Home.java +++ b/src/Gui/Home.java @@ -54,6 +54,7 @@ private void initComponents() { p = new javax.swing.JTextField(); jToggleButton1 = new javax.swing.JToggleButton(); d = new javax.swing.JTextField(); + jPanel2 = new javax.swing.JPanel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setTitle("Global Transit | HOME"); @@ -146,6 +147,19 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { jPanel1Layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {d, jLabel2, jLabel3, jLabel4, v}); + jPanel2.setBackground(new java.awt.Color(0, 204, 204)); + + javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); + jPanel2.setLayout(jPanel2Layout); + jPanel2Layout.setHorizontalGroup( + jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGap(0, 390, Short.MAX_VALUE) + ); + jPanel2Layout.setVerticalGroup( + jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGap(0, 0, Short.MAX_VALUE) + ); + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( @@ -153,13 +167,19 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addContainerGap(402, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() - .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addGroup(layout.createSequentialGroup() + .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addContainerGap()))) ); pack(); @@ -243,6 +263,7 @@ public void run() { private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel4; private javax.swing.JPanel jPanel1; + private javax.swing.JPanel jPanel2; private javax.swing.JToggleButton jToggleButton1; private javax.swing.JTextField p; private javax.swing.JComboBox v;