User interface components
-
Bài giảng "Lập trình Java - Graphic user interface in Java" trình bày các nội dung: Text component, choice component, menu, mnemonic, toolbar, tooltip, tabbed pane, scroll pane, dialog box. Mời các bạn cùng tham khảo nội dung chi tiết.
21p bautroibinhyen13 10-01-2017 95 2 Download
-
Chapter 5: Windows Presentation Foundation's objectives is a vital component to the future of application development, allowing developers to take control of the sheer power that is available at the desktop to develop rich, interactive, media-enhanced user interfaces...”.
137p cocacola_10 02-12-2015 48 4 Download
-
Chương 6 Lập trình GUI thuộc bài giảng lập trình Java cơ bản, cùng nắm kiến thức trong chương này thông qua việc tìm hiểu các nội dung chính sau: giới thiệu về GUI (Graphical user interface), vật chứa (Container), thành phần (Component), quản lý cách trình bày (Layout manager), xử lý các sự kiện.
40p conchimnhai 28-06-2014 145 22 Download
-
Tham khảo bài thuyết trình 'lecture 4: interface design', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
19p huanltgc00061 05-05-2013 60 3 Download
-
Tham khảo bài thuyết trình 'lecture 3: extending classesinheritance in java', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
28p huanltgc00061 05-05-2013 49 4 Download
-
Tham khảo bài thuyết trình 'lecture 2:object oriented programmingin java', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
23p huanltgc00061 05-05-2013 66 4 Download
-
The unit in procedural programming is function, and unit in object-oriented programming is class Procedural programming concentrates on creating functions, while object-oriented programming starts from isolating the classes, and then look for the methods inside them. Procedural programming separates the data of the program from the operations that manipulate the data, while object-oriented programming focus on both of them
20p huanltgc00061 05-05-2013 41 2 Download
-
Object-Oriented Programming (OOP) Inheritance - form of software reusability New classes created from existing ones Absorb attributes and behaviors, and add in their own Override methods - redefine inherited methods Subclass inherits from superclass Direct superclass - subclass explicitly inherits Indirect superclass - subclass inherits from two or more levels up the class hierarchy Polymorphism Write programs in a general fashion to handle a wide variety of classes Abstraction - seeing the big picture...
62p huanltgc00061 05-05-2013 69 3 Download
-
Understanding the value propositions of J2EE Getting a big picture of J2EE architecture and platform Getting high-level exposure of APIs and Technologies that constitute J2EE You don't have to understand all the details Understanding why J2EE can be used for as a platform for development and deployment of web services
47p huanltgc00061 05-05-2013 59 5 Download
-
A technique for developing a program in which the solution is expressed in terms of objects -- self- contained entities composed of data and operations on that data. Programmer thinks about and defines the attributes and behavior of objects. Often the objects are modeled after real-world entities. Very different approach than function-based programming (like C).
68p huanltgc00061 05-05-2013 60 3 Download
-
The Java standard APIs are shown in HTML output at http://java.sun.com/j2se/1.4.2/docs/api/index.html. It’s generated from the documentation comments (doc comments). Documentation comments are special comments in the source code that are delimited by the /** ... */ delimiters. The JDK contains a tool named javadoc to generate HTML documentation from documentation comments in your source file. The javadoc utility extracts information for the following items Public classes and interfaces Public and protected methods Public and protected fields Packages...
20p huanltgc00061 05-05-2013 51 4 Download
-
Manipulating URLs URL is an acronym for Uniform Resource Locator and is a reference (an address) to a resource on the Internet. Sample structure of a URL. The resource name part may contain: host name, file
15p huanltgc00061 05-05-2013 50 4 Download
-
To Make an Interactive GUI Program To make an interactive GUI program, you need: Components buttons, windows, menus, etc. Events mouse clicked, window closed, button clicked, etc. Event listeners (interfaces) and event handlers (methods) listen for events to be trigged, and then perform actions to handle them
13p huanltgc00061 05-05-2013 53 5 Download
-
All exceptions extend the class Throwable, which immediately splits into two branches: Error and Exception Error: internal errors and resource exhaustion inside the Java runtime system. Little you can do. Exception: splits further into two branches.
24p huanltgc00061 05-05-2013 52 3 Download
-
A collection is a data structure – actually, an object – to hold other objects, which let you store and organize objects in useful ways for efficient access Check out the java.util package! Lots of interfaces and classes providing a general collection framework. Programmers may also provide implementations specific to their own requirements
19p huanltgc00061 05-05-2013 55 2 Download
-
An interface is a way to describe what classes should do, without specifying how they should do it. It’s not a class but a set of requirements for classes that want to conform to the interface E.g. public interface Comparable { int compareTo(Object otherObject); } this requires that any class implementing the Comparable interface contains a compareTo method, and this method must take an Object parameter and return an integer
19p huanltgc00061 05-05-2013 61 5 Download
-
Inheritance: you can create new classes that are built on existing classes. Through the way of inheritance, you can reuse the existing class’s methods and fields, and you can also add new methods and fields to adapt the new classes to new situations Subclass and superclass Subclass and superclass have a IsA relationship: an object of a subclass IsA(n) object of its superclass
28p huanltgc00061 05-05-2013 58 3 Download
-
Body sun = new Body( ); An object is created by the new method The runtime system will allocate enough memory to store the new object If no enough space, the automatic garbage collector will reclaim space from other no longer used objects. If there is still no enough space, then an OutOfMemoryError exception will be thrown No need to delete explicitly
23p huanltgc00061 05-05-2013 58 1 Download
-
Procedural vs. Object-Oriented Programming The unit in procedural programming is function, and unit in object-oriented programming is class Procedural programming concentrates on creating functions, while object-oriented programming starts from isolating the classes, and then look for the methods inside them. Procedural programming separates the data of the program from the operations that manipulate the data,
20p huanltgc00061 05-05-2013 49 4 Download
-
Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++ Designed for easy Web/Internet applications Widespread acceptance Simple fixes some clumsy features of C++ no pointers automatic garbage collection rich pre-defined class library Object oriented focus on the data (objects) and methods manipulating the data all functions are associated with objects almost all data types are objects (files, strings, etc.) potentially better code organization and reuse...
14p huanltgc00061 05-05-2013 72 3 Download