Giter VIP home page Giter VIP logo

mashroofmashru / calculator-java Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 9 KB

This repository contains a calculator code using Java language with the help of Swing framework. The calculator can perform basic arithmetic operations such as addition, subtraction, multiplication and division. It also has a clear button to reset the input and output fields.

Java 100.00%
java swing calculator-java java-swing-applications

calculator-java's Introduction

Calculator-Java

This is a README file for a GitHub repository that contains a calculator code using Java language with the help of Swing framework. The calculator can perform basic arithmetic operations such as addition, subtraction, multiplication and division. It has a simple graphical user interface that allows the user to enter numbers and operators using buttons.

CalcJava

To run the code, you need to have Java Development Kit (JDK) installed on your system. You can download JDK from https://www.oracle.com/java/technologies/downloads/. You also need to have Swing framework, which is a part of Java Foundation Classes (JFC). Swing framework provides a set of GUI components that are compatible with different platforms. You can find more information about Swing framework at https://docs.oracle.com/javase/tutorial/uiswing/.

To compile the code, you can use the command javac Calculator.java in the terminal or command prompt. This will create a file named Calculator.class in the same directory. To execute the code, you can use the command java Calculator in the terminal or command prompt. This will launch the calculator application in a new window. You can then use the calculator as you wish.

calculator-java's People

Contributors

mashroofmashru avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.