{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Java项目开发实战密码/赢在项目开发(附光盘)

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Java项目开发实战密码/赢在项目开发(附光盘)

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Content Description

Java语言是当今使用最为频繁的编程语言之一,一直在开发领域占据重要的地位。《Java项目开发实战密码/赢在项目开发》通过12个综合实例的实现过程,详细讲解了Java语言在实践项目中的综合运用过程,这些项目从作者的学生时代写起,到架构师结束,一直贯穿于作者最重要的开发时期。第1章讲解了一个画图板系统的具体实现流程;第2章讲解了一个航空订票管理系统的具体实现流程;第3章讲解了一个酒店管理系统的具体实现流程;第4章讲解了一个物业管理系统的具体实现流程;第5章讲解了众望书城网上系统的具体实现流程;第6章讲解了一个学校图书馆管理系统的具体实现流程;第7章讲解了一个OA办公系统的具体实现流程;第8章讲解了一个网吧管理系统的具体实现流程;第9章讲解了一个典型企业快信系统的具体实现流程;第10章讲解了利用Java技术开发当前最流行的Android地图(系统的基本流程);第11章讲解了一个任务管理系统的具体实现流程;第12章讲解了开发音像公司管家婆系统的基本流程。在具体讲解每个实例时,都遵循项目的进度来讲解,从接到项目到具体开发,直到最后的调试和发布。内容循序渐进,并穿插了学习技巧和职场生存法则,引领读者成全面掌握Java语言。
本书不但适用于Java语言的初学者,也适于有一定Java语言基础的读者,甚至也可以作为有一定造诣程序员的参考书。

Catalogue

第1章 画图板系统 1

1.1 赢在起点 2

1.1.1 赢在起点——程序员的职业

规划 2

1.1.2 赢在起点——做好项目分析 2

1.2 系统概述与预览 4

1.2.1 软件概述 4

1.2.2 项目预览 4

1.3 准备工作 8

1.3.1 搜集素材 8

1.3.2 获得Java API手册 8

1.4 具体实现 9

1.4.1 创建一个类 9

1.4.2 菜单栏和标题栏的实现 10

1.4.3 保存文档的实现 12

1.4.4 界面的实现 13

1.4.5 调色板的实现 18

1.4.6 中央画布的实现 23

1.4.7 输入字体的实现 25

1.4.8 打开旧文档的实现 27

1.4.9 其他功能的实现 31

第2章 航空订票管理系统 37

2.1 修炼自身 38

2.1.1 “码农”和“高大上” 38

2.1.2 赢在自身——快速提升

自身修为 38

2.2 新的项目 39

2.3 系统概述和总体设计 41

2.3.1 系统需求分析 41

2.3.2 系统demo流程 41

2.4 数据库设计 42

2.4.1 选择数据库 42

2.4.2 数据库结构的设计 43

2.5 系统框架设计 45

2.5.1 创建工程及设计主界面 46

2.5.2 配置Hibernate访问类 53

2.5.3 系统登录模块设计 56

2.6 航班管理模块 58

2.6.1 添加飞机信息 59

2.6.2 添加航班 60

2.6.3 添加航班计划 61

2.7 网点管理模块 63

2.7.1 添加网点 63

2.7.2 删除网点 65

2.8 订票管理模块 66

2.8.1 登录管理 66

2.8.2 添加订票 68

2.9 系统测试 69

第3章 酒店管理系统 71

3.1 程序员职场生存秘籍 72

3.1.1 程序员的生存现状 72

3.1.2 赢在职场——修炼程序员

职场秘籍 72

3.2 新的项目 73

3.3 系统概述和总体设计 74

3.3.1 系统需求分析 74

3.3.2 实现流程分析 75

3.3.3 系统demo流程 75

3.4 数据库设计 76

3.4.1 选择数据库 77

3.4.2 数据库结构的设计 77

3.5 系统框架设计 79

3.5.1 创建工程及设计主界面 80

3.5.2 为数据库建立连接类 83

3.5.3 系统登录模块设计 85

3.6 基本信息管理模块 87

3.6.1 房间项目设置 87

3.6.2 客户类型设置 90

3.6.3 计费设置 93

3.7 订房/查询管理模块 94

3.7.1 个人订房 95

3.7.2 多人订房 97

3.7.3 营业查询 99

3.8 旅客信息管理模块 103

3.8.1 旅客信息查询 103

3.8.2 会员信息管理 104

第4章 物业管理系统 107

4.1 部门沟通之“钥” 108

4.1.1 开发公司部门现状 108

4.1.2 赢在公司——探讨部门

沟通之道 109

4.2 新的项目 110

4.3 系统概述和总体设计 111

4.3.1 系统需求分析 111

4.3.2 系统demo流程 112

4.4 数据库设计 112

4.4.1 选择数据库 112

4.4.2 数据库结构的设计 112

4.5 系统框架设计 115

4.5.1 创建工程及设计主界面 115

4.5.2 数据库ADO访问类 119

4.5.3 系统登录模块设计 120

4.6 基本信息管理模块 122

4.6.1 小区信息维护 122

4.6.2 楼宇信息维护 126

4.6.3 业主信息维护 128

4.6.4 收费信息维护 129

4.6.5 收费单价清单 131

4.7 消费指数管理模块 132

4.7.1 业主消费录入 132

4.7.2 物业消费录入 135

4.8 各项费用管理模块 136

4.8.1 业主费用查询 136

4.8.2 物业费用查询 138

第5章 众望书城网上系统 143

第6章 学校图书馆管理系统 205

第7章 OA办公系统 241

第8章 网吧管理系统 273

第9章 典型企业快信系统 307

第10章 Android地图系统 343

第11章 任务管理系统 379

第12章 音像公司管家婆系统 415

Book Abstract

2.设计主界面
用户运行服务器终端后,进入系统的服务器端界面。系统的所有功能都分类放置在不同的菜单下,包括“航班管理”、“网点管理”和“订单管理”,如图2-9所示。
图2-9服务器端界面
(1) 考虑到订票系统的特性,软件界面要做到布局合理、操作快捷。主界面是整个系统通往各个功能模块的窗口,所以要将各个功能模块的窗体加入主界面中。因此在主界面中应加入整个系统的入口方法main,通过执行该方法进而执行整个系统。main方法在窗体初始化时调用,建立com.hk.server包,定义菜单栏中的主菜单信息。添加main.java类主窗体的代码如下:
public class ServerMainFrame extends JFrame implements ActionListener{
private JMenuBar jmb;
private JMenu flight,agent,order;
private SearchPanel center,tempPanel;
//初始化窗体菜单
public ServerMainFrame(){
super("航空订票系统服务器端");
jmb=new JMenuBar(); //菜单栏
flight=new JMenu("航班管理");
agent=new JMenu("网点管理");
order=new JMenu("订单管理");
init();
}
(2) 定义每个主菜单下的子菜单,且将各子菜单添加到相应的上级菜单中,然后将上级菜单加入菜单栏中,并通过调用showme方法显示最终效果。其代码如下:
//初始化子菜单
private void init(){
JMenuItem item;
flight.add(item=new JMenuItem("添加航班"));item.addActionListener(this);
flight.add(item=new JMenuItem("删除航班"));item.addActionListener(this);
flight.add(item=new JMenuItem("查询航班"));item.addActionListener(this);
flight.add(item=new JMenuItem("添加飞机"));item.addActionListener(this);
flight.add(item=new JMenuItem("添加航班计划"));item.addActionListener(this);
flight.add(item=new JMenuItem("退出系统"));item.addActionListener(this);
agent.add(item=new JMenuItem("添加网点"));item.addActionListener(this);
agent.add(item=new JMenuItem("删除网点"));item.addActionListener(this);
agent.add(item=new
JMenuItem("查询在线营业网点"));item.addActionListener(this);
agent.add(item=new
JMenuItem("查询所有营业网点"));item.addActionListener(this);
order.add(item=new JMenuItem("查看所有订票"));item.addActionListener(this);
order.add(item=new JMenuItem("查看网点订单"));item.addActionListener(this);
order.add(item=new JMenuItem("网点业绩统计"));item.addActionListener(this);
//添加操作
jmb.add(flight);
jmb.add(agent);
jmb.add(order);
this.setJMenuBar(jmb);
}
//设置主界面的中心JScrollpanel的jtable
public void setCenterPanel(String msg,ArrayList arr){
if(center==null){
center=new SearchPanel(msg,arr);
this.add(center,BorderLayout.CENTER);
this.setVisible(true);
}else{
center.setMsg(msg);
center.setArr(arr);
}
}
public void showMe(){
this.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
this.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e) {
askQuit();
}
});
this.setSize(800,600); //窗体大小
this.setVisible(true); //设置可见性
}
(3) 单击窗体右上角的“关闭”按钮时,会弹出如图2-10所示的对话框,询问用户是否要退出服务器端。其代码如下:
private void askQuit(){
int choice=JOptionPane.showConfirmDialog(this,"退出服务器将无法售票,是否确定退出?",
"确定退出?",JOptionPane.YES_NO_CANCEL_OPTION);
switch(choice){
case JOptionPane.OK_OPTION : System.exit(0);
case JOptionPane.NO_OPTION :return;
case JOptionPane.CANCEL_OPTION : return;
}
}
图2-10 是否退出服务器端
(4) 以下代码用于实现各子菜单的具体功能。actionPerformed方法的参数ActionEvent e的功能是调用getActionCommand()方法得到控件Command中的字符串,以确定执行的是哪个控件的动作,进而来执行具体回调,即根据菜单上的字符串名字来确定用户单击了哪个菜单项。其代码如下:
//航班基本信息
public void actionPerformed(ActionEvent e) {
String command=e.getActionCommand();
if(command.equals("添加航班")){
new AddFlightSchedularDialog(this).showMe();
}
if(command.equals("删除航班")){
new RemoveFlightSchedularDialog(this).showMe();
}
if(command.equals("查询航班")){
new SearchFlightSch(this).showMe();
}
if(command.equals("添加飞机")){
new AddPlaneModelDialog(this).showMe();
}
if(command.equals("添加航班计划")){
new AddFlight(this);
}
if(command.equals("退出系统")){
askQuit();
}
//订票业务
if(command.equals("查看所有网点订票")){
new SearchAllOrder().start();
}
}
}

Introduction

Java项目开发实战密码/赢在项目开发(附光盘)

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book