Swing是一个用于开发Java应用程序用户界面的开发工具包。它以抽象窗口工具包(AWT)为基础使跨平台应用程序可以使用任何可插拔的外观风格。Swing开发人员只用很少的代码就可以利用Swing丰富、灵活的功能和模块化组件来创建优雅的用户界面。 《Java Swing(第二版)》涵盖了Java 2 SDK 1.3和1.4的所有功能,本书不但是一本参考书,而且是名副其实的指导书,是一本开发人员为开发人员编写的书,它收罗了众多不同难易程度的实用范例程序,几乎覆盖了Swing的每个组件。 以上特点意味着Swing有很多需要学习的内容。撇开其平台灵活性不谈,Swing比其他任何用户界面工具包都更有深度。它一方面可以轻而易举地用来制作简单界面,另一方面也足以用来构建复杂的界面。 《Java Swing(第二版)》的内容包括∶ ·新增了讲解拖放(Drag and Drop)的章节 ·建立用户界面所需的辅助功能 ·SDK 1.3引入的按键绑定基础结构 ·新增了讲解JFormattedTextField和输入验证的章节 ·Mac OS X的编程介绍和范例 ·SDK 1.4引入的输入焦点系统 ·可插拔的外观风格 ·SDK 1.4引入的新布局管理器SpringLayout ·总结每个组件重要功能的属性列表 ·SDK 1.4的微调按钮(Spinner)组件 ·如何在组件中使用HTML ·新增列出所有组件绑定操作的一个附录 ·新增一个支持网站,包含工具程序、范例和补充内容 不论是老练的Java开发人员还是Java的初学者,《Java Swing(第二版)》都是必不可少的学习指南。 ### Java Swing 第三版 关键知识点概述 #### 一、Swing 概述与特性 - **Swing 定义**:Swing 是一个用于开发 Java 应用程序用户界面的开发工具包,它建立在抽象窗口工具包(AWT)的基础上,允许开发者创建具有可插拔外观风格的跨平台应用。 - **Swing 的优势**: - **平台独立性**:Swing 允许开发者编写一次代码即可在多种操作系统上运行。 - **丰富的组件集**:Swing 提供了大量的 UI 组件,如按钮、文本框、列表等。 - **高度定制性**:开发者可以通过修改组件的外观来实现个性化的界面设计。 - **易于使用**:即使对于初学者来说,Swing 也非常友好,提供了直观的 API 和文档。 #### 二、Swing 第三版新增功能 - **拖放(Drag and Drop)**:新增章节专门介绍如何在 Swing 中实现拖放功能,这对于文件管理器或数据传输等功能非常有用。 - **辅助功能**:介绍了如何构建无障碍用户界面,确保应用程序对所有人开放。 - **按键绑定基础结构**:SDK 1.3 引入的功能,使得按键操作更加灵活,可以更容易地定制键盘快捷方式。 - **JFormattedTextField 和输入验证**:新增章节解释了如何处理格式化文本字段以及如何验证用户输入。 - **Mac OS X 编程**:提供针对 Mac 平台的特定编程技巧和示例,帮助开发者更好地集成到 macOS 系统中。 - **输入焦点系统**:SDK 1.4 新增的功能,改进了焦点管理机制,使得界面交互更加流畅。 - **SpringLayout**:SDK 1.4 引入的新布局管理器,提供了一种更精细控制组件布局的方式。 - **微调按钮(Spinner)组件**:SDK 1.4 新增的组件,用于快速输入数值,特别是在数值调整方面非常实用。 - **HTML 在组件中的使用**:介绍如何将 HTML 内容嵌入到 Swing 组件中,增强了文本展示的灵活性。 - **组件绑定操作**:新增附录列出了所有组件的常见绑定操作,方便开发者查找和使用。 #### 三、Swing 第三版的内容结构 - **深入讲解每一个组件**:书中详细介绍了每个 Swing 组件的重要属性和功能,并提供了实际示例。 - **可插拔外观风格**:讲解了如何更改应用程序的外观风格,以适应不同的操作系统环境和个人偏好。 - **丰富的案例研究**:通过大量的实际例子,帮助读者理解如何运用 Swing 构建复杂的应用界面。 - **在线资源**:提供了一个支持网站,包含了工具程序、示例代码和补充内容,便于读者进一步学习和实践。 #### 四、目标读者群 - **经验丰富的 Java 开发者**:对于已经有 Java 开发经验的人来说,《Java Swing 第三版》提供了深入的技术细节和高级技巧。 - **Java 初学者**:即便是没有 Java 背景的新手也能从中受益,因为书中提供了从基础到高级的全面指导。 - **UI 设计师**:对于专注于用户界面设计的专业人士来说,这本书中的设计原则和技术能够帮助他们构建出更加美观且实用的应用程序界面。 #### 五、书籍出版信息 - **作者**:John Zukowski - **出版社**:Apress - **版权年份**:2005 - **ISBN**:1-59059-447-9 - **版权所有**:本书受版权保护,未经许可不得以任何形式复制或传播。 《Java Swing 第三版》是一本详尽而全面的指南,不仅适合希望深入了解 Swing 技术的开发者,也适合那些希望通过示例代码快速掌握 Swing 基础的新手。无论是作为参考手册还是学习教材,这本书都能满足不同层次读者的需求。
2025-04-18 16:55:06 12.3MB Java Swing
1
C++之父写的C++书,最新的一个版本,英文还可以的人,不妨看原版书,更加原汁原味。
2024-04-21 19:22:18 3.38MB
1
Properties of Water and Steam based on the Industrial Formulation IAPWS-IF97
2024-01-15 14:32:38 6.71MB IF97
1
UNIX网络编程第三版英文+源码
2023-12-20 22:39:19 6.15MB UNIX网络编程第三版英文+源码
1
数字图像处理(第三版)(英文版)彩图,黑板的看不清的有福了。
2023-10-04 09:18:27 26.13MB 数字图像处理 第三版 英文版 彩图
1
Table of Contents 01.Introducing WPF 02.XAML 03.Layout 04.Dependency Properties 05.Routed Events 06.Controls 07.The Application 08.Element Binding 09.Commands 10.Resources 11.Styles and Behaviors 12.Shapes, Brushes, and Transforms 13.Geometries and Drawings 14.Effects and Visuals 15.Animation Basics 16.Advanced Animation 17.Control Templates 18.Custom Elements 19.Data Binding 20.Formatting Bound Data 21.Data Views 22.Lists, Trees, and Grids 23.Windows 24.Pages and Navigation 25.Menus, Toolbars, and Ribbons 26.Sound and Video 27.3-D Drawing 28.Documents 29.Printing 30.Interacting with Windows Forms 31.Multithreading 32.The Add-in Model 33.ClickOnce Deployment ------------------------------------------------------ 本资源包含电子书及源代码,喜欢此书请购买正版。
2023-08-30 07:17:29 22.88MB WPF C# 2010 源代码
1
bash是自由软件基金会发布的“Bourne Again Shell”的缩写。它是流行的UNIX Bourne shell的免费可用替代产品,供全球Linux用户选用。《学习bash》正是bash的权威指南。   无论你是对bash的用户界面感兴趣,还是对其强大的编程能力感兴趣,你都会发现本书很有价值。它教授了如何使用bash的高级命令行特性,如命令历史、命令行编辑和命令完成。   本书还介绍了shell编程,一种UNIX或Linux用户不可或缺的技巧,阐述了如何使用bash的编程特性完成各种功能。读者还将学习流程控制、信号处理以及命令行处理和I/O方面的内容以及如何调试bash程序。
1
Linux内核设计与实现_第三版英文
2023-04-27 09:38:14 2.34MB 内核设计
1
算法导论高清版第三版原版,带目录的,看起来非常爽阿
2023-04-14 14:04:10 5.39MB 算法导论
1
Introduction to Algorithms Third Editio Contents I Foundations Introduction 3 1 The Role of Algorithms in Computing 5 1.1 Algorithms 5 1.2 Algorithms as a technology 11 2 Getting Started 16 2.1 Insertion sort 16 2.2 Analyzing algorithms 23 2.3 Designing algorithms 29 3 Growth of Functions 43 3.1 Asymptotic notation 43 3.2 Standard notations and common functions 53 4 Divide-and-Conquer 65 4.1 The maximum-subarray problem 68 4.2 Strassen’s algorithm for matrix multiplication 75 4.3 The substitution method for solving recurrences 83 4.4 The recursion-tree method for solving recurrences 88 4.5 The master method for solving recurrences 93 4.6 Proof of the master theorem 97 5 Probabilistic Analysis and Randomized Algorithms 114 5.1 The hiring problem 114 5.2 Indicator random variables 118 5.3 Randomized algorithms 122 5.4 Probabilistic analysis and further uses of indicator random variables 130 vi Contents II Sorting and Order Statistics Introduction 147 6Heapsort151 6.1 Heaps 151 6.2 Maintaining the heap property 154 6.3 Building a heap 156 6.4 The heapsort algorithm 159 6.5 Priority queues 162 7 Quicksort 170 7.1 Description of quicksort 170 7.2 Performance of quicksort 174 7.3 A randomized version of quicksort 179 7.4 Analysis of quicksort 180 8 Sorting in Linear Time 191 8.1 Lower bounds for sorting 191 8.2 Counting sort 194 8.3 Radix sort 197 8.4 Bucket sort 200 9 Medians and Order Statistics 213 9.1 Minimum and maximum 214 9.2 Selection in expected linear time 215 9.3 Selection in worst-case linear time 220 III Data Structures Introduction 229 10 Elementary Data Structures 232 10.1 Stacks and queues 232 10.2 Linked lists 236 10.3 Implementing pointers and objects 241 10.4 Representing rooted trees 246 11 Hash Tables 253 11.1 Direct-address tables 254 11.2 Hash tables 256 11.3 Hash functions 262 11.4 Open addressing 269 11.5 Perfect hashing 277 Contents vii 12 Binary Search Trees 286 12.1 What is a binary search tree? 286 12.2 Querying a binary search tree 289 12.3 Insertion and deletion 294 ? 12.4 Randomly built binary search trees 299 13 Red-Black Trees 308 13.1 Properties of red-black trees 308 13.2 Rotations 312 13.3 Insertion 315 13.4 Deletion 323 14 Augmenting Data Structures 339 14.1 Dynamic order statistics 339 14.2 How to augment a data structure 345 14.3 Interval trees 348 IV Advanced Design and Analysis Techniques Introduction 357 15 Dynamic Programming 359 15.1 Rod cutting 360 15.2 Matrix-chain multiplication 370 15.3 Elements of dynamic programming 378 15.4 Longest common subsequence 390 15.5 Optimal binary search trees 397 16 Greedy Algorithms 414 16.1 An activity-selection problem 415 16.2 Elements of the greedy strategy 423 16.3 Huffman codes 428 16.4 Matroids and greedy methods 437 16.5 A task-scheduling problem as a matroid 443 17 Amortized Analysis 451 17.1 Aggregate analysis 452 17.2 The accounting method 456 17.3 The potential method 459 17.4 Dynamic tables 463 viii Contents V Advanced Data Structures Introduction 481 18 B-Trees 484 18.1 Definition of B-trees 488 18.2 Basic operations on B-trees 491 18.3 Deleting a key from a B-tree 499 19 Fibonacci Heaps 505 19.1 Structure of Fibonacci heaps 507 19.2 Mergeable-heap operations 510 19.3 Decreasing a key and deleting a node 518 19.4 Bounding the maximum degree 523 20 van Emde Boas Trees 531 20.1 Preliminary approaches 532 20.2 A recursive structure 536 20.3 The van Emde Boas tree 545 21 Data Structures for Disjoint Sets 561 21.1 Disjoint-set operations 561 21.2 Linked-list representation of disjoint sets 564 21.3 Disjoint-set forests 568 21.4 Analysis of union by rank with path compression 573 VI Graph Algorithms Introduction 587 22 Elementary Graph Algorithms 589 22.1 Representations of graphs 589 22.2 Breadth-first search 594 22.3 Depth-first search 603 22.4 Topological sort 612 22.5 Strongly connected components 615 23 Minimum Spanning Trees 624 23.1 Growing a minimum spanning tree 625 23.2 The algorithms of Kruskal and Prim 631 Contents ix 24 Single-Source Shortest Paths 643 24.1 The Bellman-Ford algorithm 651 24.2 Single-source shortest paths in directed acyclic graphs 655 24.3 Dijkstra’s algorithm 658 24.4 Difference constraints and shortest paths 664 24.5 Proofs of shortest-paths properties 671 25 All-Pairs Shortest Paths 684 25.1 Shortest paths and matrix multiplication 686 25.2 The Floyd-Warshall algorithm 693 25.3 Johnson’s algorithm for sparse graphs 700 26 Maximum Flow 708 26.1 Flow networks 709 26.2 The Ford-Fulkerson method 714 26.3 Maximum bipartite matching 732 ? 26.4 Push-relabel algorithms 736 ? 26.5 The relabel-to-front algorithm 748 VII Selected Topics Introduction 769 27 Multithreaded Algorithms 772 27.1 The basics of dynamic multithreading 774 27.2 Multithreaded matrix multiplication 792 27.3 Multithreaded merge sort 797 28 Matrix Operations 813 28.1 Solving systems of linear equations 813 28.2 Inverting matrices 827 28.3 Symmetric positive-definite matrices and least-squares approximation 832 29 Linear Programming 843 29.1 Standard and slack forms 850 29.2 Formulating problems as linear programs 859 29.3 The simplex algorithm 864 29.4 Duality 879 29.5 The initial basic feasible solution 886 x Contents 30 Polynomials and the FFT 898 30.1 Representing polynomials 900 30.2 The DFT and FFT 906 30.3 Efficient FFT implementations 915 31 Number-Theoretic Algorithms 926 31.1 Elementary number-theoretic notions 927 31.2 Greatest common divisor 933 31.3 Modular arithmetic 939 31.4 Solving modular linear equations 946 31.5 The Chinese remainder theorem 950 31.6 Powers of an element 954 31.7 The RSA public-key cryptosystem 958 ? 31.8 Primality testing 965 ? 31.9 Integer factorization 975 32 String Matching 985 32.1 The naive string-matching algorithm 988 32.2 The Rabin-Karp algorithm 990 32.3 String matching with finite automata 995 ? 32.4 The Knuth-Morris-Pratt algorithm 1002 33 Computational Geometry 1014 33.1 Line-segment properties 1015 33.2 Determining whether any pair of segments intersects 1021 33.3 Finding the convex hull 1029 33.4 Finding the closest pair of points 1039 34 NP-Completeness 1048 34.1 Polynomial time 1053 34.2 Polynomial-time verification 1061 34.3 NP-completeness and reducibility 1067 34.4 NP-completeness proofs 1078 34.5 NP-complete problems 1086 35 Approximation Algorithms 1106 35.1 The vertex-cover problem 1108 35.2 The traveling-salesman problem 1111 35.3 The set-covering problem 1117 35.4 Randomization and linear programming 1123 35.5 The subset-sum problem 1128 Contents xi VIII Appendix: Mathematical Background Introduction 1143 A Summations 1145 A.1 Summation formulas and properties 1145 A.2 Bounding summations 1149 B Sets, Etc. 1158 B.1 Sets 1158 B.2 Relations 1163 B.3 Functions 1166 B.4 Graphs 1168 B.5 Trees 1173 C Counting and Probability 1183 C.1 Counting 1183 C.2 Probability 1189 C.3 Discrete random variables 1196 C.4 The geometric and binomial distributions 1201 ? C.5 The tails of the binomial distribution 1208 D Matrices 1217 D.1 Matrices and matrix operations 1217 D.2 Basic matrix properties 1222 Bibliography 1231 Index 1251
2023-03-22 22:02:25 5.39MB 算法导论 第三版 英文原版 高清文字版
1