DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: The calCOOLator Program  (Read 4,545 times)

jeremejazz

  • hey!
  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 59
The calCOOLator Program
« on: March 23, 2009, 10:50 AM »
Introducing, the calCOOLator 8) program. It is a program designed to add, subtract, multiply, divide, and get the modulus of two numbers. The program then displays the results on the Text Area. Another feature is that you can save the results in text file format. It is created as a demonstration of process management and disk management.(pretty COOL huh? :D)
[attach=#]



This program was inspired from the power Calculator of Windows PowerToys. I am sharing the source code for some improvements since this forum site is also for open source softwares. You just need a Java Compiler(jdk) in order to run this code.
Right now I am still having a problem with JFileChooser's File Filter. When saving the file, you need to specify what should the extension name be. Maybe you guys could solve that. Also, I still don't know how to put a menu bar so you could also improve that part.

I've also created an applet version of the program for you to know what it looks like. Just run the HTML file on your web browser. You will need a Java Runtime Environment so that this will work.
calCOOLator(Applet Version)
« Last Edit: March 30, 2009, 10:45 AM by jeremejazz »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: The calCOOLator Program
« Reply #1 on: March 23, 2009, 12:27 PM »
you can edit your post to clean it up.

Original address: https://www.donationcoder.com/forum/index.php?topic=17574.0