《深入浅出java swing 程序设计》电子书

《深入浅出java swing 程序设计》电子书,第1张

Java 编程初步 傻瓜书

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159167

零基础学Java电子教程 附随书光盘

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=181032

数据结与算法 Java语言版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=160250

精通JBuilder 2005 中文版 高清PDF+随书光盘

http://bbs.topsage.com/dispbbs_121_172861_1.html

程序天下:J2EE整合详解与典型案例 电子教程+随书光盘

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=181884

JSF JavaServer Faces in Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=160229

Spring in Action (第二版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146170

Manning jQuery in Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174769

Spring In Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174107

AspectJ in Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174106

Hibernate In Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174105

Struts in Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174005

Lucene in Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=173991

Wrox出版 Beginning Spring Framework 2

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=175714

Java Extreme Programming Cookbook

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174729

Java Programming Cookbook

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=173667

Beginning Java Objects

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174685

Building Java Enterprise App

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174684

Ant: The Definitive Guide

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174683

Better Faster Lighter Java

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174681

Hibernate Reference 3.1

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174674

Pragmatic Version Control using CVS

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174479

Pragmatic Project Automation

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174476

jQuery Reference Guide

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174411

Java 2 核心技术 卷1&卷2 CHM版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174123

Wrox Professional Java JDK 6 Edition

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=163451

Java 2 宝典

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159154

侯捷java编程思想 PDF中文版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=163902

Learning Java (第三版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146869

The Java Language Specification

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=176082

Beginning Java Programming for Dummies 第二版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=163923

Java 2 核心编程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146174

Java How to Program (第六版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146371

Java All-In-One案头参考傻瓜书 (第二版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=152871

21天自学 Java 6 (2007年5月更新出版) PDF

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159315

Java咖啡馆

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151447

Thinking in Java(第四版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=152053

深入学习JFC SWING - Java基础类组件集

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=152049

J2EE全实例教程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=158057

Java信息系统设计与开发实例(第二版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151993

Java优化编程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151994

Effective Java

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=175258

Java信息系统设计与开发实例(第二版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151993

Tricks of the Java Programming

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159305

Wrox Professional Java Native Interfaces with SWT JFace

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159290

Java Swing 第二版 PDF文字版 O'Relliy出版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159158

O'Reilly - Java Database Programming with JDBC

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159292

JDBC与Java数据库程序设计

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151448

Learning JQurey (2007年7月最新出版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159652

J2EE with BEA WebLogic Server

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=176088

Pragmatic Unit Testing in Java with JUnit

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=176084

Wiley出版 J2EE 1.4 Bible

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=176080

J2EE设计开发编程指南

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159288

Java Web Services简明教程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159159

O'Reilly Java and XML (第二版PDF)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146231

O'Reilly Java and XML (第三版PDF)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=167584

Java技术XML高级编程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=147800

Java Reflection in Action [MANNING]

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=178017

Java Puzzler (Java 解惑)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=178016

Java Database Best Practices

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=178015

Struts: The Complete Reference

http://bbs.topsage.com/dispbbs.asp?boardID=123&ID=178025

Log4j The Complete Manual

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=178023

Programming for the Java Virtual Machine

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=178021

Expert One-on-One J2EE Design and Development

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=160652

Expert One-on-One J2EE Development without EJB

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=160653

JBoss - A Developer's Notebook

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146179

The Java Programming Language (第四版)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=147095

Professional Java Development with the Spring Framework

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159303

Core Java Server Faces 第二版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=145549

精通Enterprise JavaBeans

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146018

Enterprise JavaBeans EJB 第四版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159166

J2EE应用与BEA WebLogic Server (第二版PDF)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146227

O'Reilly Java Web Services

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=146377

Ant权威指南

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=148383

Ajax和Java框架高级编程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=148371

Java Web Services简明教程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159159

Cross-Platform Web Services Using C# and Java

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=160472

O'Reilly Ajax on Java

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=160600

O'Reilly Java and XSLT

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=149585

O'Reilly Java and XML Binding

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=149583

O'Reilly Java and SOAP

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=149581

Design Patterns Java Companion

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=163920

J2EE Java黑客大曝光 开发安全的Java应用程序

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151446

J2ME API 速查手册

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=158248

精通J2ME无线编程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=152047

J2ME开发大全

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151987

Beginning J2ME 从入门到精通 第三版

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=184149

Beginning JBoss Seam从入门到精通

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=183607

Beginning Hibernate 从入门到精通

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=183602

Java网页开发的艺术

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151991

Java编程高手

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151990

Java 5.0 Tiger程序高手秘笈

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151989

Java2网络协议技术内幕(附源码)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151988

Using Enterprise JavaBeans 2

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=166051

Java技术实用教程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=158244

企业级Java安全性(构建安全的J2EE应用)

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=152048

Java语言集成开发环境Eclipse中文教程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=158237

NetBeans IDE 5.5 企业版高级开发教程

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=159653

Using Enterprise JavaBeans 2

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=166051

Borland JBuilder Developer's Guide

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=166294

Eclipse [O'Reilly]

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=175257

Eclipse精要与高级开发技术

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=151986

Code Generation in Action

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=174722

Java 6 3D游戏开发

http://bbs.topsage.com/dispbbs.asp?boardID=121&ID=160251

用JScrollPane可以哈

JScrollPane pane = new JScrollPane(JPanel)

原来的 add(JPanel)改为add(pane)

给你个例子哈。。

import java.awt.Dimension

import javax.swing.JFrame

import javax.swing.JLabel

import javax.swing.JPanel

import javax.swing.JScrollPane

public class TestJScrollPane extends JFrame {

private static final long serialVersionUID = 1L

public TestJScrollPane() {

super("TestJScrollPane")

this.setLayout(null)

this.setBounds(200, 200, 200, 300)

JLabel label = new JLabel("深入浅出Java Swing 程序设计")

JPanel panel = new JPanel()

panel.add(label)

JScrollPane scrollPane = new JScrollPane(panel)

scrollPane.setBounds(100, 100, 100, 300)

/**

* 要加滚动条就要让panel的宽高大于scrollPane的宽高..你只要上下的..只要高大于就行了..

*/

panel.setPreferredSize(new Dimension(scrollPane.getWidth() - 50, scrollPane.getHeight()*2))

this.add(scrollPane)

panel.revalidate()//告诉其他部件,我的宽高变了

this.setVisible(true)

this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)

}

public static void main(String[] args) {

new TestJScrollPane()

}

}


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/7764150.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-09
下一篇 2023-04-09

发表评论

登录后才能评论

评论列表(0条)

保存