Continue invoicing System

Source: Internet
Author: User

things must be done one by one.

I feel too good to grow acne.

the use of JInternalFrame and JFrame almost the same, you can maximize, minimize, close the window, add menus and other functions; the only difference is that JInternalFrame is lightweight component, This means that the jinternalframe cannot appear alone and must be attached to the topmost component. Thanks to this feature, JInternalFrame can take advantage of the look and feel functionality provided by Java, making it completely different from the window type provided by the original operating system, and more resilient than the JFrame .

The name of this class is called backupandrestore (translation should be backup and recovery).

This is a constructor function.

This is the initialization function, the estimate is to set the size of the JFrame, and then set the icon, and then set whether you can close, then set the title, and then for the frame to obtain a contentpane.

This method returns a Jcontentpane, which is set to the layout, and also adds two sub-panel.

This method returns a backup JPanel, is set to the layout, and then set the boundary, the jpanel inside there is a text box, two buttons, respectively, are subject to different restrictions.

This method returns a restored JPanel, which is similar to the previous backup JPanel structure.

This method returns a backup button that adds a keystroke to the listener. When the button is pressed, read the path of the backup file that will be created from the Backup text box, and then execute the SQL statement to back up the database to the file, catching the exception.

JFileChooser is a File selection dialog box in swing package.

I found that there are some classes in Java that can be used directly without new.

When a method is declared static, you can use the class name directly . method. Calls to the rest of the methods are invoked using the object.

Object-oriented, anyway, is the member variable + method, familiar with the good.

Life inside will not be as satisfactory, to achieve the goal needs is a long-term accumulation. There is bound to be a big change, but the middle of these small success or failure, small twists and turns are not important.

Hold on, Come on!

Continue invoicing System

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.