Skip to content

My first ever JAVA GUI program. Unfortunately the JS Engine used for the calculator no longer works

License

Jake1402/Periodic-Table-JAVA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Periodic Table in JAVA Swing

This is a simple periodic table and molar calculator I made back in 2019. My goals for this project where to understand the basics of JAVA, Swing and GUI design. I was 15 when I made this and it really does show, the program is full of magic numbers and spaghetti code. It also gives Undertale a run for its money with about 100 if statements inside of a nested for loop giving this monstrosity a time complexity of O($n^2$) at least. I've learned a lot in this process, and this project really helped a lot in my early years of programming. Now its a fun project to look back on, and wince at.

Images

My table includes all elements up to Copernicium (CU). The table also features tool tip texts, moving the cursor over elements reveals atomic numbers and masses. To make the groups of elements stand out each element has been colour coded to its corresponding group, with a key featured at the bottom. Table Layout

The molar calculate is an extremely basic calculator although it does include a memory system. So incorrect inputs can be corrected. As well as a button named M, this button holds Avagadros number allowing for quick calculations that require this constant. Molar Calculator

References:

Periodic Table
Moles/Molar Calculator
Swing

About

My first ever JAVA GUI program. Unfortunately the JS Engine used for the calculator no longer works

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages