GUI Interface Design Concept - Summary of the Development Stage of SMS Reading Software (3)

xiaoxiao2021-03-06  39

GUI Interface Design Concept

The basic functionality that should be implemented: 1. Import the data source. That is, you can extract text messages from the backup file. The required operation is positioned (find the source file), determine (whether the qualified source file) is read (SMS). The positioning resource files and interface contacts are closely related. The options that may be provided are automatically read, that is, the resource file is locked by the registry, automatically read the resource file; specify the directory, which manually specifies the directory where the resource file is located; specify the file, ie Specifies the resource file that needs to be read. 2, output the target file. Export the contents of the main display window, format can be HTM, XML, TXT and other files. 3, SMS content display. In the main display window display content, filtering according to time period, transmission and reception attribute, contact, etc. 4, debug information display. Dynamically display the debug information during the software operation, such as whether the file is qualified, the file contains the number of SMSs. 5, status display. Show information about total text messages, number of contacts.

After planning, use NetBeans IDE to initially design, using javax.swing. * Pack. Many Dongdong is not very familiar. I have to explore slowly. Fortunately, NB provides a better GUI design function. The drag pull is still like it, but because basic skills are not pure, it is not necessary to accurately locate each component.

It is worth mentioning that when Show SMS content and debug information, an example in Thinking in Java is used, which is configured with a Writer object for the TextArea component, and the generated information directly Write into Textarea and dynamically displayed.