Skip to content

Weight Conversion app built on Maven Eclipse Window builder, (kg, lb, oz, gr)

License

Notifications You must be signed in to change notification settings

afa-farkhod/Weight-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weight-Converter

Weight Conversion app built on Maven Eclipse Window builder, (kg, lb, oz, gr)

  • Simple app which converts kg, lb, oz, gr - Kilogram, Pound, Ounce, Gram. Conversion wokrs among privously mentioned weight parameters, it works in any way.

Image

  • The code represents a simple template for a Java Swing application. Here's how the code works:
  • The code includes a package called WeightConversionPCK, which likely contains the classes related to the weight conversion functionality.
  • The code includes a class called Main in the WeightConversionPCK package. This class serves as the entry point for the application.
  • In the Main class, the main method is defined. This method is the starting point of the application. It uses the EventQueue.invokeLater method to schedule the execution of a Runnable object on the Event Dispatch Thread (EDT). The EDT is responsible for handling GUI events in Swing applications.
  • Within the run method of the Runnable object, an instance of the UI class is created. This suggests that there is a class named UI which likely represents the graphical user interface (GUI) of the weight conversion application.
  • The UI frame is set visible, which means the GUI window will be displayed to the user.
  • If an exception occurs during the execution, it is caught in the catch block and a stack trace is printed.

About

Weight Conversion app built on Maven Eclipse Window builder, (kg, lb, oz, gr)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages