Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Java Parcel Tracking-programm

  1. #1
    Junior Member
    Join Date
    Sep 2021
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Java Parcel Tracking-programm

    Heyyy,
    Im Julian and im 19,
    i started working and i wanted to help a coworker with his work.
    He told me that putting in trackingnumbers on gls for every single package is annoying.
    So i wanted to help him, since i started programming a few months ago and i think it could be a nice training for me.

    My question is:
    Is it possible to code a jar executable where he can input the tracking numbers and take the shipment information for the packages from the gls site, save them onto a JFrame on a table or something and then make a sound when one of the shipment info changes its status?

    i know how to create a scanner for user input, but i dont know how to use jframe, jlabel and more to show the results,
    I also dont know how to get the website information from gls when he inputs the correct number.

    i would be veryyyy thankful if you guys could help me through that little journey, i really want to help him and want to get better with java.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java Parcel Tracking-programm

    how to use jframe, jlabel and more to show the results,
    Take a look at thee tutorial for building a Swing GUI: https://docs.oracle.com/javase/tutor...ing/index.html
    Start with a simple example from the tutorial and work with it to get the features you want.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Sep 2021
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java Parcel Tracking-programm

    Okay thanks,
    but how do i get the information from the GLS Website when he inputs the correct tracking number.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java Parcel Tracking-programm

    What is the GLS website? How is it connected to your project?
    Are you trying to read a page from a website and scan/scrap information from that page?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. java programm
    By prakash16 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 25th, 2017, 07:13 AM
  2. Java motion tracking
    By JNewbie in forum Java Theory & Questions
    Replies: 1
    Last Post: May 9th, 2014, 06:09 AM
  3. RFID Tracking using Java and Sql Databases
    By rahulraina7 in forum JDBC & Databases
    Replies: 0
    Last Post: May 2nd, 2013, 08:51 AM
  4. atlas tracking and webtrend tracking
    By mrsreddy65@gmail.com in forum Java Theory & Questions
    Replies: 0
    Last Post: August 17th, 2011, 06:01 AM
  5. im in a hurry!!Help with a programm..java game of guessing a word
    By mr_doctor in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 13th, 2010, 08:17 AM

Tags for this Thread