Bài giảng "Lập trình Java - Graphic user interface in Java" đã giới thiệu các kiến thức về AWT và Swing, xây dựng Java GUI cơ bản, cơ chế kiểm soát sự kiện người dùng. Mời các bạn cùng tham khảo nội dung chi tiết.
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.
Bài giảng "Lập trình Java - Graphic user interface in Java" trình bày các nội dung: JList, JTable, JTree, JSplitPane, Jslider, MDI - multiple document interface. Mời các bạn cùng tham khảo nội dung chi tiết.
OBJECT-ORIENTED PROGRAMMING (OOP) represents an attempt to make programs
more closely model the way people think about and deal with the world. In the older
styles of programming, a programmer who is faced with some problem must identify
a computing task that needs to be performed in order to solve the problem. Programming
then consists of finding a sequence of instructions that will accomplish that
task. But at the heart of object-oriented programming, instead of tasks we find objects
– entities that have behaviors, that hold information, and that can interact with
Bài giảng "Lập trình Java - Graphic user interface in Java" trình bày các nội dung: Top-level container, layout manager, common control, event listener, dialogbox, advanced control. Mời các bạn cùng tham khảo nội dung chi tiết.
This book covers the full development life cycle for professional GUI design in Java, from cost estimation and design to coding and testing.
Focuses on building high quality industrial strength software in Java
Ready-to-use source code is given throughout the text based on industrial-strength projects undertaken by the author.
This is a CS 2 book that presents classical data structures in an object-oriented programming (OOP) context using Java. This book also focuses on the basic principles of OOP and graphical user interface (GUI) -based programming – two paradigms essential for modern programming and problem solving. Our book is aimed principally at CS 2 students but may also be valuable to software development professionals
1 Introduction and Requirements
2 An Environment for Java Software Development
3 Java Servlets and JavaServer Pages: Jakarta Tomcat
4 XML and XSLT: Xerces and Xalan
5 bonForum Chat Application: Use and Design
6 bonForum Chat Application: Implementation
7 JavaServer Pages:The Browseable User Interface
8 Java Servlet and Java Bean: BonForumEngine and BonForumStore
9 Java Applet Plugged In: BonForumRobot
10 JSP Taglib:The bonForum Custom Tags
11 XML Data Storage Class: ForestHashtable
12 Online Information Sources...
Using the Java Application Programming
Chapter One takes examples from the Java Application Programming Interface (API) and the themed
application in order to emphasise the critical importance of documentation. The examples are used to
show how documentation is organised in the API and how it is inserted into developer’s code.
This paper presents a novel type of intelligent agent with a multilingual natural language interface, which retrieves information from within a Web site. This agent, named JaBot after the fact that it is a bot which has been programmed in Java, has been designed and developed by the authors in an attempt to solve common Web site problems related to information retrieval. JaBot runs quickly and efficiently, and rather than running directly on the Web site pages, it is connected to a lexical semantic map. This map is based upon the contents of the Web site in question together...
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
Introduction to java programming: Chapter 24 - Multithreading's Objectives is to understand the concept of multithreading and apply it to develop animation; develop task classes by implementing the Runnable interface in cases of multiple inheritance; create threads to run tasks using the Thread class; control animations using threads.
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).
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
Write programs in a general fashion to handle a wide variety of classes
Abstraction - seeing the big picture...
A graphical user interface (GUI) makes a system user-friendly and easy to use. Creating a GUI requires creativity and knowledge of how GUI components work. Since the GUI components in Java are very flexible and versatile, you can create a wide assortment of useful user interfaces. Previous chapters briefly introduced several GUI components. This chapter introduces the frequently used GUI components in detail.
Java Web Services shows you how to use SOAP to perform remote method calls and message
passing; how to use WSDL to describe the interface to a web service or understand
the interface of someone else's service; and how to use UDDI to advertise (publish) and look
up services in each local or global registry. Java Web Services also discusses security issues,
interoperability issues, integration with other Java enterprise technologies like EJB; the work
being done on the JAXM and JAX-RPC packages, and integration with Microsoft's .NET
Hiểu khái niệm về dòng.
Biết các lớp đảm nhiệm việc việc xuất nhập dữ
liệu trong Java.
Biết cách sử dụng các lớp io để xuất nhập dữ
liệu với màn hình và bàn phím.
Biết cách xuất nhập dữ liệu với tập tin văn bản,
tập tin chứa các dữ liệu thuộc kiểu cơ bản, tập
tin chứa dữ liệu là các đối tượng.
Biết các interface và các lớp quản lý việc in ấn.
Java Programming, Fifth Edition provides the beginning programmer with a guide to developing applications
using the Java programming language. Java is popular among professional programmers because it
can be used to build visually interesting graphical user interface (GUI) and Web-based applications. Java
also provides an excellent environment for the beginning programmer—a student quickly can build useful
programs while learning the basics of structured and object-oriented programming techniques.
This textbook assumes that you have little or no programming experience.