-->
-->
Learning notes Java Graphic Design Volume I awt--3rd Chapter graphics
Before the monitor broke down, file://wrote preface: I think it is not to learn notes, like a tutorial. I wanted to get something, so I had a little detail.Note 1: User
Application Window Program Design in J2SE environment (system class Frame/interface ActionListener/AWT class)
Step 1: Design the application window program in Jbuilder Environment
1. Start Jbuilder
2. Create an empty project for the application
3.
The 1.java Abstract Window Toolkit (AWT) contains a number of classes to support GUI design2.AWT is provided by the Java java.awt package3. For GUI programming, understand: Container Class (Container), Component (component).The
Recently these two days, spent some time to review the study of java.awt, so spend some time today to write down their summary.1. Common components: Button, TextArea, Label, Checkbox, TextFieldContainer---Window (frame,dialog), PanelLayout
When learning to handle events, you must have a good grasp of event sources, monitors, interfaces for handling events1. Event SourceAn object capable of generating a Java-approved event can be called an event source, which means that the event
The menu is placed in the menu bar and the menu item is placed1.MenuBarIn the java.awt package, the creation of a menu bar, or an instance of MenuBar, is a menu bar.The Setmenubar (MenuBar Bar) method in the frame class allows you to add a menu bar
Frame Form ComponentImportJava.awt.Color;ImportJava.awt.Frame;ImportJava.awt.event.WindowAdapter;ImportJava.awt.event.WindowEvent;/ * Frame Form component * / Public class Test01 { Public Static void Main(string[] args) {Frame frame=NewFrame
The TextField class in the java.awt package is designed to create a text box, that is, an object created by the TextField class is a text box. The main methods of the 1.TextField class(1) TextField ()The Created text box can be edited, and the user
Author: (plus) Budi kurniawan Translator: Yu Limin Xu zhoule Yu Zhe book series name: Chapter Hua Professional Developers Publishing House: Machinery Industry Publishing House ISBN: 9787111390305 Release Date: August 2012 Release Date: 16 open pages:
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.