Java Calculator Lab Report

Source: Internet
Author: User

First, the purpose of the experiment

1. Familiar with Java graphical user interface design principles and program structure

2. Able to design a graphical user interface program to review the problem requirements

3. Familiar with the combination of Java AWT and swing

4. Mastering the usual set-up of event excuses
5. Application design using AWT and swing components

Second, the experimental conditions

1.PC Machine One set

2.java Software Development Environment

Third, the experimental steps

1, write code, program see GitHub

Address: Https://github.com/daishimin/test/blob/master/jisuanji.java

2. Test results, see

Calculation: 5+20=25, the result is correct, the program is accurate.

Calculation: 10x10x10=1000, the result is correct, the program is accurate.

Iv. Summary of the experiment

By writing the calculator form I am familiar with the design principles and program structure of the Java graphical user interface familiar with the combination of Java AWT and swing. Learn to use the knowledge of books in practice, improve the ability of programming. In particular, the layout of the Javaapplet graphical interface has learned a lot, before the layout is messy and many layouts are invalid. In this course set up by looking at a lot of information and classmates help each other, give full play to the advantages of Javaapplet interface layout. In addition, the implementation of the button function is also a major difficulty in this lesson, how to achieve those functions is the key.

Java Calculator Lab Report

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.