Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Netbeans

You're reading from  Mastering Netbeans

Product type Book
Published in Aug 2015
Publisher
ISBN-13 9781785282645
Pages 348 pages
Edition 1st Edition
Languages
Toc

Table of Contents (17) Chapters close

Mastering NetBeans
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with NetBeans 2. Editing Files and Projects 3. The NetBeans Developer's Life Cycle 4. Managing Services 5. Database Persistence 6. Desktop Development 7. Creating the Business Layer 8. Creating the Web Tier 9. Creating and Consuming Web Services 10. Extending NetBeans Index

Splitting windows


When editing a file, such as a Java source code file or an HTML file, it can sometimes be necessary to view two parts of the file at the same time. How many times have you found yourself having to scroll to the top of a file to check something and then having to scroll to the bottom of the file again to type some code?

In NetBeans, we can split a file horizontally so that we can see the top and bottom of a file or vertically to see the left- and right-hand sides of a file, all at the same time.

So, how do we split views so that we can simultaneously view different aspects of the file?

At the top-right of an editor window that supports file splitting is a small cross (). To split a file vertically, drag this cross left so that the file is split vertically into the correct proportions. To split it horizontally, drag this cross down until the view is split as required.

After splitting the view onto a file, the file can be edited within either pane or the split view. That is to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}